by Chris » Sun Oct 05, 2008 11:57 am
They're printed when they occur, yes. The following ones seem to produce errors (still including the function change from earlier)..
Code: Select all
Finishing states for Inventory
==10731==
==10731== Thread 1:
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x8229C98: FStateDefinitions::FixStatePointers(FActorInfo*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:724)
==10731== by 0x822AEDB: FStateDefinitions::FinishStates(FActorInfo*, AActor*, TArray<FState, FState>&) (p_states.cpp:781)
==10731== by 0x839CED7: FinishActor(FScanner&, FActorInfo*, Baggage&) (thingdef_parse.cpp:532)
==10731== by 0x8391305: ParseActor(FScanner&) (thingdef.cpp:579)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)
==10731==
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x822AD40: FStateDefinitions::ResolveGotoLabels(FActorInfo*, AActor*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:746)
==10731== by 0x822B061: FStateDefinitions::FinishStates(FActorInfo*, AActor*, TArray<FState, FState>&) (p_states.cpp:812)
==10731== by 0x839CED7: FinishActor(FScanner&, FActorInfo*, Baggage&) (thingdef_parse.cpp:532)
==10731== by 0x8391305: ParseActor(FScanner&) (thingdef.cpp:579)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)
...
Finishing states for StealthChaingunGuy
==10731==
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x822AD40: FStateDefinitions::ResolveGotoLabels(FActorInfo*, AActor*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:746)
==10731== by 0x822AE0E: FStateDefinitions::ResolveGotoLabels(FActorInfo*, AActor*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:751)
==10731== by 0x822B061: FStateDefinitions::FinishStates(FActorInfo*, AActor*, TArray<FState, FState>&) (p_states.cpp:812)
==10731== by 0x839CED7: FinishActor(FScanner&, FActorInfo*, Baggage&) (thingdef_parse.cpp:532)
==10731== by 0x8391305: ParseActor(FScanner&) (thingdef.cpp:579)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)
...
Finishing states for HereticImpLeader
==10731==
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x8229C98: FStateDefinitions::FixStatePointers(FActorInfo*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:724)
==10731== by 0x8229D41: FStateDefinitions::FixStatePointers(FActorInfo*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:730)
==10731== by 0x822AEDB: FStateDefinitions::FinishStates(FActorInfo*, AActor*, TArray<FState, FState>&) (p_states.cpp:781)
==10731== by 0x839CED7: FinishActor(FScanner&, FActorInfo*, Baggage&) (thingdef_parse.cpp:532)
==10731== by 0x8391305: ParseActor(FScanner&) (thingdef.cpp:579)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)
...
Finishing states for ChexMineCart
==10731==
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x40236E3: strcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==10731== by 0x8192305: GetSpriteIndex(char const*) (info.cpp:77)
==10731== by 0x839FC9D: Handler_crouchsprite_S_PlayerPawn(APlayerPawn*, Baggage&, FPropParam*) (thingdef_properties.cpp:1978)
==10731== by 0x839D712: ParsePropertyParams(FScanner&, FPropertyInfo*, AActor*, Baggage&) (thingdef_parse.cpp:452)
==10731== by 0x839DA32: ParseActorProperty(FScanner&, Baggage&) (thingdef_parse.cpp:496)
==10731== by 0x839127E: ParseActor(FScanner&) (thingdef.cpp:566)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)
All the others finish without triggering a valgrind error.
They're printed when they occur, yes. The following ones seem to produce errors (still including the function change from earlier)..
[code]Finishing states for Inventory
==10731==
==10731== Thread 1:
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x8229C98: FStateDefinitions::FixStatePointers(FActorInfo*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:724)
==10731== by 0x822AEDB: FStateDefinitions::FinishStates(FActorInfo*, AActor*, TArray<FState, FState>&) (p_states.cpp:781)
==10731== by 0x839CED7: FinishActor(FScanner&, FActorInfo*, Baggage&) (thingdef_parse.cpp:532)
==10731== by 0x8391305: ParseActor(FScanner&) (thingdef.cpp:579)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)
==10731==
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x822AD40: FStateDefinitions::ResolveGotoLabels(FActorInfo*, AActor*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:746)
==10731== by 0x822B061: FStateDefinitions::FinishStates(FActorInfo*, AActor*, TArray<FState, FState>&) (p_states.cpp:812)
==10731== by 0x839CED7: FinishActor(FScanner&, FActorInfo*, Baggage&) (thingdef_parse.cpp:532)
==10731== by 0x8391305: ParseActor(FScanner&) (thingdef.cpp:579)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)
...
Finishing states for StealthChaingunGuy
==10731==
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x822AD40: FStateDefinitions::ResolveGotoLabels(FActorInfo*, AActor*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:746)
==10731== by 0x822AE0E: FStateDefinitions::ResolveGotoLabels(FActorInfo*, AActor*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:751)
==10731== by 0x822B061: FStateDefinitions::FinishStates(FActorInfo*, AActor*, TArray<FState, FState>&) (p_states.cpp:812)
==10731== by 0x839CED7: FinishActor(FScanner&, FActorInfo*, Baggage&) (thingdef_parse.cpp:532)
==10731== by 0x8391305: ParseActor(FScanner&) (thingdef.cpp:579)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)
...
Finishing states for HereticImpLeader
==10731==
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x8229C98: FStateDefinitions::FixStatePointers(FActorInfo*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:724)
==10731== by 0x8229D41: FStateDefinitions::FixStatePointers(FActorInfo*, TArray<FStateDefine, FStateDefine>&) (p_states.cpp:730)
==10731== by 0x822AEDB: FStateDefinitions::FinishStates(FActorInfo*, AActor*, TArray<FState, FState>&) (p_states.cpp:781)
==10731== by 0x839CED7: FinishActor(FScanner&, FActorInfo*, Baggage&) (thingdef_parse.cpp:532)
==10731== by 0x8391305: ParseActor(FScanner&) (thingdef.cpp:579)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)
...
Finishing states for ChexMineCart
==10731==
==10731== Conditional jump or move depends on uninitialised value(s)
==10731== at 0x40236E3: strcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==10731== by 0x8192305: GetSpriteIndex(char const*) (info.cpp:77)
==10731== by 0x839FC9D: Handler_crouchsprite_S_PlayerPawn(APlayerPawn*, Baggage&, FPropParam*) (thingdef_properties.cpp:1978)
==10731== by 0x839D712: ParsePropertyParams(FScanner&, FPropertyInfo*, AActor*, Baggage&) (thingdef_parse.cpp:452)
==10731== by 0x839DA32: ParseActorProperty(FScanner&, Baggage&) (thingdef_parse.cpp:496)
==10731== by 0x839127E: ParseActor(FScanner&) (thingdef.cpp:566)
==10731== by 0x839CD99: ParseDecorate(FScanner&) (thingdef_main.cpp:117)
==10731== by 0x839CC7E: ParseDecorate(FScanner&) (thingdef_main.cpp:80)
==10731== by 0x839CE1C: LoadDecorations() (thingdef_main.cpp:148)
==10731== by 0x8192255: FActorInfo::StaticInit() (info.cpp:107)
==10731== by 0x815CD19: D_DoomMain() (d_main.cpp:2503)
==10731== by 0x812C8F2: main (i_main.cpp:272)[/code]
All the others finish without triggering a valgrind error.