View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002525 | FSSCP | graphics | public | 2011-10-20 13:31 | 2011-10-20 13:37 |
Reporter | Echelon9 | Assigned To | Echelon9 | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 3.6.14 | ||||
Summary | 0002525: Valgrind: Conditional jump or move depends on uninitialized value(s) - parse_ship_values() | ||||
Description | Valgrind reports a memory management error caused by the following line: sp->triggers = (queued_animation*)vm_realloc(sp->triggers, sizeof(queued_animation) * (sp->n_triggers + 1)); in ship.cpp | ||||
Additional Information | ==26993== Uninitialised value was created by a heap allocation ==26993== at 0x1EC5498: malloc (vg_replace_malloc.c:266) ==26993== by 0x29281: _vm_malloc(int, char*, int, int) (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x451321: _vm_realloc(void*, int, char*, int, int) (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x3D676B: parse_ship_values(ship_info*, bool, bool, bool) (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x3D7751: parse_ship(char*, bool) (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x3D9FAC: parse_shiptbl(char*) (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x3DA29C: ship_init() (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x6A097: game_init() (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x6A360: game_main(char*) (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x6A65F: SDL_main (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x3C18D: -[SDLMain applicationDidFinishLaunching:] (in FS2_Open-Inferno (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)) ==26993== by 0x22E3F48: __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation) | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-20 13:31 | Echelon9 | New Issue | |
2011-10-20 13:32 | Echelon9 | Status | new => assigned |
2011-10-20 13:32 | Echelon9 | Assigned To | => Echelon9 |
2011-10-20 13:37 | Echelon9 | Note Added: 0012894 | |
2011-10-20 13:37 | Echelon9 | Status | assigned => resolved |
2011-10-20 13:37 | Echelon9 | Fixed in Version | => 3.6.14 |
2011-10-20 13:37 | Echelon9 | Resolution | open => fixed |