-
Notifications
You must be signed in to change notification settings - Fork 23
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 `./stratagus-dbg': double free or corruption (!prev): 0x000000000c16b480 *** #11
Comments
Thanks, this helps a lot. So the issue wasn't with "final" being true, and the line the report points to is this one in unit.cpp (607): delete[] Variable; |
The memory in #10 looks different though, so maybe it's two different bug. in #10:
And here:
|
It seems that #10 is the delete[] Variable line too. (Using the disassembly). |
May I ask how was it fixed, or was it? |
Instead of copying variables, I copied their attributes (Enable, Value, etc.) instead, when inheriting from a parent. This should fix the bug, but let me know if it persists and I will reopen the issue. |
This is a debug build. Tried to replay the 3rd mission,
Also in CUnit::Release like in #10, but it wasn't at the end.
Backtrace:
The text was updated successfully, but these errors were encountered: