View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001901 | Spring engine | General | public | 2010-04-25 17:24 | 2010-05-09 17:05 |
| Reporter | hoijui | Assigned To | zerver | ||
| Priority | high | Severity | crash | Reproducibility | random |
| Status | resolved | Resolution | fixed | ||
| Product Version | 0.81.2+git | ||||
| Fixed in Version | 0.81.2+git | ||||
| Summary | 0001901: CUnit* SIGSEGV | ||||
| Description | I 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 Reproduce | I 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 Information | from 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 | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
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. |
|
|
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. |
|
|
Problem seems gone, not exactly sure which commit fixed it |
| 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 |