-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
glibc: inconsistency detected by ld.so #128
Comments
In the main function, calling fopen(argv[1]) directly causes segfault. It works if I define like this:
|
When compiling two almost identical codes, this one works:
While this code gives me segfault:
Am I doing something wrong here? Both versions are opening a text file containing:
lib/apkg.kai :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
I get this strange error:
The code used to work before until I rearranged it but I got segmentation fault when calling libc fgets twice or more until this recent error about assertion failed.
Here is the code causing the error:
The text was updated successfully, but these errors were encountered: