Comments (5)
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;
from wyrmgus.
The memory in #10 looks different though, so maybe it's two different bug.
in #10:
0x48ff130: 0x59000000 0x59000000 0x00000021 0x00000000
0x48ff140: 0x0c4e5d60 0x00000000 0x5d9fbb78 0x00007fc4
0x48ff150: 0x00000000 0x00000000 0x0488ccd0 0x00000000
0x48ff160: 0x04ec5670 0x00000000 0x04eca210 0x00000000
0x48ff170: 0x04ec74b0 0x00000000 0x04ec83d0 0x00000000
0x48ff180: 0x0c4fbee0 0x00000000 0x04ec92f0 0x00000000
0x48ff190: 0x0c4f6070 0x00000000 0x04852cb0 0x00000000
0x48ff1a0: 0x0c5678f0 0x00000000 0x0594bca0 0x00000000
0x48ff1b0: 0x04851670 0x00000000 0x0502d000 0x00000000
0x48ff1c0: 0x0502ecd0 0x00000000 0x04ec6590 0x00000000
And here:
0xc16b480: 0x0000014e 0x00000000 0xff2f0100 0x00000000
0xc16b490: 0x00000000 0xff2e0000 0x000000ff 0x00000054
0xc16b4a0: 0xff2f0001 0x00000000 0x00000000 0xff2c0000
0xc16b4b0: 0x00000000 0x00000000 0xff2b0000 0x00000000
0xc16b4c0: 0x00000000 0xff2a0000 0x00000000 0x00000000
0xc16b4d0: 0xff290000 0x00000000 0x00000000 0xff2a0000
0xc16b4e0: 0x00000000 0x00000000 0xff280000 0x00000000
0xc16b4f0: 0x00000000 0xff270000 0x00000000 0x00000000
0xc16b500: 0xff260000 0x00000009 0x00000000 0xff160000
0xc16b510: 0x00000007 0x00000000 0xff250000 0x00000005
from wyrmgus.
It seems that #10 is the delete[] Variable line too. (Using the disassembly).
from wyrmgus.
May I ask how was it fixed, or was it?
from wyrmgus.
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.
from wyrmgus.
Related Issues (20)
- Segmentation fault in LoadSample with QtMultimedia HOT 3
- 4.1.2 does not start HOT 3
- Inreliable releases HOT 3
- Lack of documentation HOT 6
- Potential Desync Issue for Unit Circle Selection HOT 1
- wyrmgus binary no longer installed, instead it's the libstratagus.a
- Segfault after starting first scenario HOT 1
- 4.1.3 installs static library instead of a binary HOT 2
- Compilation error HOT 25
- Incorrect window size in game with multimonitor configuration HOT 2
- 5.1.1 does not build HOT 11
- Steam game crash after selecting Smithy to build HOT 7
- Cannot save a game HOT 17
- Missing include files HOT 5
- A Bargain is Struck Raft Crash HOT 1
- Compile error, no return in non-void function HOT 1
- -Werror=format-security HOT 3
- Crash when trying to create multiplayer game HOT 1
- Crash when loading a savegame HOT 2
- Problem with translation via module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wyrmgus.