View Issue Details

IDProjectCategoryView StatusLast Update
0001901Spring engineGeneralpublic2010-05-09 17:05
Reporterhoijui Assigned Tozerver  
PriorityhighSeveritycrashReproducibilityrandom
Status resolvedResolutionfixed 
Product Version0.81.2+git 
Fixed in Version0.81.2+git 
Summary0001901: CUnit* SIGSEGV
DescriptionI had this bug multiple times already, and the stack trace was always quite different. The only thing it always had in common was, that it was a CUnit* which was NULL. I remember something being changed in unit death handling, maybe that is related.

see attached infolog.txt
Steps To ReproduceI usually played vs AI, and it often takes quite some time for the bug to appear 20min+.
Maybe try to set up AI vs AI games at high speeds.
Additional Informationfrom the infolog:
[ 71533] Segmentation fault (SIGSEGV) in spring 0.81+.0.0 (Debug)
[ 71533] Stacktrace:
[ 71533] spring [0xdb70fb]
[ 71533] /lib/libc.so.6 [0x7f86562cc3a0]
[ 71533] spring [0x725ae0]
[ 71533] spring [0xa45f97]
[ 71533] spring [0xa4c658]
[ 71533] spring [0x708f44]
[ 71533] spring [0xd6ebf5]
[ 71533] spring [0xd76d26]
[ 71533] spring [0xdb1d19]
[ 71533] spring [0xdb1d6e]
[ 71533] /lib/libc.so.6(__libc_start_main+0xe6) [0x7f86562b8a26]
[ 71533] spring(_ZNK5boost15program_options29value_semantic_codecvt_helperIcE5parseERNS_3anyERKSt6vectorISsSaISsEEb+0x1b1) [0x6ed129]
[ 71533] Translated Stacktrace:
[ 71533] rts/System/Platform/CrashHandler.cpp:287
[ 71533] ??:0
[ 71533] rts/System/float3.h:213
[ 71533] rts/Rendering/UnitDrawer.cpp:2147
[ 71533] rts/Rendering/UnitDrawer.cpp:306
[ 71533] rts/Game/Game.cpp:3133
[ 71533] rts/System/SpringApp.cpp:891
[ 71533] rts/System/SpringApp.cpp:983
[ 71533] rts/System/Main.cpp:110
[ 71533] rts/System/Main.cpp:127
[ 71533] ??:0
[ 71533] ??:0
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
infolog_2_useless.txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

related to 0001931 resolvedKloot crash in UnitDrawer 
related to 0002074 resolvedzerver SIGSEGV in Rendering/Icon.h:20 

Activities

zerver

2010-04-26 00:41

reporter   ~0004854

Not able to reproduce it, but please check if my last commit made any difference.

I'm suspecting the unit is not NULL, but remains in UnitDrawer after deletion.

hoijui

2010-04-26 17:40

reporter   ~0004856

Last edited: 2010-04-26 17:42

hmm...
i did an other test game, with your potential fix.
now it crashed with this stack trace (pretty useless):

[ 38498] Segmentation fault (SIGSEGV) in spring 0.81+.0.0 (Debug)
[ 38498] Stacktrace:
[ 38498] ./spring [0xdb753f]
[ 38498] /lib/libc.so.6 [0x7f9c81bc13a0]
[ 38498] [0xdb61990]
[ 38498] # NOTE: above line shows no path -> not translating
[ 38498] Translated Stacktrace:
[ 38498] rts/System/Platform/CrashHandler.cpp:287
[ 38498] ??:0

will do more tests.

zerver

2010-05-09 17:05

reporter   ~0004897

Problem seems gone, not exactly sure which commit fixed it

Issue History

Date Modified Username Field Change
2010-04-25 17:24 hoijui New Issue
2010-04-25 17:24 hoijui File Added: infolog.txt
2010-04-25 18:01 hoijui Additional Information Updated
2010-04-25 18:09 zerver Status new => assigned
2010-04-25 18:09 zerver Assigned To => zerver
2010-04-26 00:41 zerver Note Added: 0004854
2010-04-26 17:40 hoijui Note Added: 0004856
2010-04-26 17:41 hoijui File Added: infolog_2_useless.txt
2010-04-26 17:42 hoijui Note Edited: 0004856
2010-05-09 17:05 zerver Note Added: 0004897
2010-05-09 17:05 zerver Status assigned => resolved
2010-05-09 17:05 zerver Fixed in Version => 0.81.2+git
2010-05-09 17:05 zerver Resolution open => fixed
2010-05-19 19:51 hoijui Relationship added related to 0001931
2010-09-03 00:55 Kloot Relationship added related to 0002074