-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error in `./oide': free(): invalid size: 0x0000000001b7aed0 #57
Comments
Doesn't seem to be crashing on the webIDE. The output looks good as well. |
@phase I found it out from the web IDE! Try it with an input value of 24 or higher. |
I'm going to guess it has something to do with the arrays you're making.
For an input of 12. We might just need to up the stack size. |
@phase Woah, I doubt that's the issue. The error signifies memory corruption. All upping the stack size will do is hide the real error (which seems like either a double free or some kind of overflow). I need to run it under Valgrind, but I can't right now, as I'm on a mobile phone. |
:O This was totally my fault! In case TA:r=alc(BZ)/*XXX:overflow potential here!again!*/;r[0]='[';r[1]=0;I l=len(o->a);if(l){I i;for(i=0;i<l;++i){ Guess what? IT OVERFLOWED!! I need to just dynamically resize the target buffer. |
Running
H._mr]{[Q.*{nQ-}d]pn0>}%
crashes.The text was updated successfully, but these errors were encountered: