View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002539 | FSSCP | Platform-Engine interaction | public | 2011-11-09 13:35 | 2011-11-09 13:36 |
Reporter | Echelon9 | Assigned To | Echelon9 | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.6.14 RC1 | ||||
Fixed in Version | 3.6.14 RC1 | ||||
Summary | 0002539: Valgrind: Memory leak - parse_ship_values(ship_info*, bool, bool, bool) | ||||
Description | Valgrind reports ~313kB of still reachable memory, which was originally allocated with this section of the animation code: sip->subsystems = (model_subsystem *)vm_malloc(sizeof(model_subsystem) * sip->n_subsystems ); parse_ship_values(ship_info*, bool, bool, bool) (ship.cpp:3663) | ||||
Additional Information | ==11292== 313,152 bytes in 25 blocks are still reachable in loss record 5,565 of 5,570 ==11292== at 0x1EC94C5: malloc (vg_replace_malloc.c:266) ==11292== by 0x29D4D: _vm_malloc(int, char*, int, int) (stubs.cpp:563) ==11292== by 0x3D56D3: parse_ship_values(ship_info*, bool, bool, bool) (ship.cpp:3663) ==11292== by 0x3D5CD5: parse_ship(char*, bool) (ship.cpp:1075) ==11292== by 0x3D844C: parse_shiptbl(char*) (ship.cpp:4062) ==11292== by 0x3D873C: ship_init() (ship.cpp:4237) ==11292== by 0x6B27B: game_init() (freespace.cpp:1993) ==11292== by 0x6B544: game_main(char*) (freespace.cpp:7026) ==11292== by 0x6B843: SDL_main (freespace.cpp:7217) ==11292== by 0x3D37D: -[SDLMain applicationDidFinishLaunching:] (SDLMain.m:300) ==11292== by 0x22E7F48: __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation) ==11292== by 0x3AB5FF2: ___CFXNotificationPost_block_invoke_1 (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-11-09 13:35 | Echelon9 | New Issue | |
2011-11-09 13:35 | Echelon9 | Status | new => assigned |
2011-11-09 13:35 | Echelon9 | Assigned To | => Echelon9 |
2011-11-09 13:36 | Echelon9 | Note Added: 0012945 | |
2011-11-09 13:36 | Echelon9 | Status | assigned => resolved |
2011-11-09 13:36 | Echelon9 | Fixed in Version | => 3.6.14 RC1 |
2011-11-09 13:36 | Echelon9 | Resolution | open => fixed |