View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002596 | Spring engine | General | public | 2011-08-02 21:12 | 2011-11-20 17:13 | ||||
Reporter | abma | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||
Status | resolved | Resolution | duplicate | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002596: (master) memleaks found by valgrind | ||||||||
Description | was run on this version: https://github.com/spring/spring/commit/d33426f905ce94e9190230427bb48cbba5d09106 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|||||||||||
|
![]() |
|
abma (administrator) 2011-08-02 21:17 Last edited: 2011-08-02 21:17 |
Ingame Time was 15 minutes: ==14395== LEAK SUMMARY: ==14395== definitely lost: 1,910 bytes in 33 blocks ==14395== indirectly lost: 899,472 bytes in 1,125 blocks ==14395== possibly lost: 46,635 bytes in 23 blocks ==14395== still reachable: 9,496 bytes in 14 blocks ==14395== suppressed: 0 bytes in 0 blocks |
hoijui (reporter) 2011-08-04 12:22 |
what is strange here, is that valgrind has no problem finding the debug symbols of the Legacy C++ wrapper, but can't find the C AI Interface & KAIK debug symbols apparently. The wrapper is compiled as a static lib, so maybe there is some compile flag or something that is different there... i'll try to find out. if we are lucky, it could even explain why we are having problems with debug symbols in AIs since years. |
abma (administrator) 2011-08-04 13:13 |
maybe valgrind can't find libAIInterface.so because it's not in LD_LIBRARY_PATH and loaded dynamic? added an valgrind2.log (0.82.3-3079-gb992353) |
abma (administrator) 2011-08-04 13:29 Last edited: 2011-08-04 13:30 |
added a run with "valgrind -v" (but aborted with ctrl-c, this is why its so big...) my guess was wrong: --8516-- Reading syms from /var/tmp/local/spring/master/share/games/spring/AI/Skirmish/KAIK/0.13/libSkirmishAI.so (0x14bd5000) --8516-- Reading syms from /var/tmp/local/spring/master/share/games/spring/AI/Interfaces/C/0.1/libAIInterface.so (0x149b4000) but i don't understand this line: WARNING: new redirection conflicts with existing -- ignoring it |
hoijui (reporter) 2011-08-04 20:07 |
yeah, the LegacyCpp Wrapper is linked into libSkirmishAI.so, and it finds these debug symbols. but it does not find the symbols from the same libSkirmishAI.so concerning KAIK itsself. use suppressions or stop producing valgrind logs please. ;-) |
abma (administrator) 2011-11-20 17:13 |
see 0002743 for a newer valgrind log |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-02 21:12 | abma | New Issue | |
2011-08-02 21:12 | abma | File Added: valgrind.log | |
2011-08-02 21:17 | abma | Note Added: 0007206 | |
2011-08-02 21:17 | abma | Note Edited: 0007206 | |
2011-08-02 21:20 | abma | Summary | valgrind log => (master) memleaks in valgrind.log |
2011-08-02 21:20 | abma | Description Updated | |
2011-08-02 21:49 | abma | Summary | (master) memleaks in valgrind.log => (master) memleaks found by valgrind |
2011-08-04 11:27 | abma | Relationship added | related to 0002595 |
2011-08-04 12:22 | hoijui | Note Added: 0007212 | |
2011-08-04 12:54 | abma | File Added: valgrind2.log | |
2011-08-04 13:13 | abma | Note Added: 0007214 | |
2011-08-04 13:28 | abma | File Added: valgrind-verbose.7z | |
2011-08-04 13:29 | abma | Note Added: 0007215 | |
2011-08-04 13:30 | abma | Note Edited: 0007215 | |
2011-08-04 20:07 | hoijui | Note Added: 0007217 | |
2011-11-20 17:12 | abma | Relationship added | related to 0002743 |
2011-11-20 17:13 | abma | Note Added: 0007640 | |
2011-11-20 17:13 | abma | Status | new => resolved |
2011-11-20 17:13 | abma | Resolution | open => duplicate |
2011-11-20 17:13 | abma | Assigned To | => abma |