| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0002557 | Spring engine | General | public | 2011-07-14 18:57 | 2011-07-14 21:42 | ||||
| Reporter | abma | ||||||||
| Assigned To | Kloot | ||||||||
| Priority | normal | Severity | crash | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | 0.82.7+git | |||||||
| Summary | 0002557: (master) instant assert in spring-headless at QuadField.h:73 | ||||||||
| Description | bt full: http://pastebin.com/aCNM8uy6 [f=0000000] Aborted (SIGABRT) in spring 0.82+.4.0 (Debug Headless) [f=0000000] Stacktrace: [f=0000000] <0> /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7f5f6b0bdd80] [f=0000000] <1> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f5f6b0bdd05] [f=0000000] <2> /lib/x86_64-linux-gnu/libc.so.6(abort+0x186) [0x7f5f6b0c1ab6] [f=0000000] <3> /lib/x86_64-linux-gnu/libc.so.6(__assert_fail+0xf5) [0x7f5f6b0b67c5] [f=0000000] <4> /home/abma/dev/spring/master/rts/Sim/Misc/QuadField.h:74 [f=0000000] <5> /home/abma/dev/spring/master/rts/Game/TraceRay.cpp:225 [f=0000000] <6> /home/abma/dev/spring/master/rts/Game/UI/GuiHandler.cpp:1546 [f=0000000] <7> /home/abma/dev/spring/master/rts/Game/UI/GuiHandler.cpp:3713 [f=0000000] <8> /home/abma/dev/spring/master/rts/Game/Game.cpp:1017 [f=0000000] <9> /home/abma/dev/spring/master/rts/Game/Game.cpp:1274 | ||||||||
| Additional Information | was caused by https://github.com/spring/spring/commit/ca2b2f1ed0508e61ac95caf75025aeaf0c2eb7ca that seems to be the problem: https://github.com/spring/spring/blob/master/rts/System/SpringApp.cpp#L640 | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files | 
 | ||||||||
|  Notes | |
| Kloot (developer) 2011-07-14 19:24 Last edited: 2011-07-14 19:24 | Ehm... a crash (assertion failure) in QuadField caused by a change in SpringApp::GetDisplayGeometry? Are you sure that is the right stacktrace? | 
| abma (administrator) 2011-07-14 19:35 | yep, thats correct. i rechecked it: with "return true" it crashes: spring-headless: /home/abma/dev/spring/master/rts/Sim/Misc/QuadField.h:83: const CQuadField::Quad& CQuadField::GetQuad(int) const: Assertion `static_cast<unsigned>(i) < baseQuads.size()' failed. [f=0000000] Error: Aborted (SIGABRT) in spring 0.82+.4.0 (Debug Headless) [f=0000000] Error: Stacktrace: [f=0000000] Error: <0> /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7fcd99bbcd80] [f=0000000] Error: <1> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fcd99bbcd05] [f=0000000] Error: <2> /lib/x86_64-linux-gnu/libc.so.6(abort+0x186) [0x7fcd99bc0ab6] [f=0000000] Error: <3> /lib/x86_64-linux-gnu/libc.so.6(__assert_fail+0xf5) [0x7fcd99bb57c5] [f=0000000] Error: <4> /home/abma/dev/spring/master/rts/Sim/Misc/QuadField.h:84 [f=0000000] Error: <5> /home/abma/dev/spring/master/rts/Game/TraceRay.cpp:229 [f=0000000] Error: <6> /home/abma/dev/spring/master/rts/Game/UI/GuiHandler.cpp:1548 [f=0000000] Error: <7> /home/abma/dev/spring/master/rts/Game/UI/GuiHandler.cpp:3742 [f=0000000] Error: <8> /home/abma/dev/spring/master/rts/Rendering/WorldDrawer.cpp:209 [f=0000000] Error: <9> /home/abma/dev/spring/master/rts/Game/Game.cpp:1101 without, it doesn't | 
| abma (administrator) 2011-07-14 19:36 | i added the script i used for testing. but i think it will crash for every script...?! | 
| abma (administrator) 2011-07-14 19:40 | script.txt is more common: ba750 + dsd [f=0000000] Finalizing spring-headless: /home/abma/dev/spring/master/rts/Sim/Misc/QuadField.h:83: const CQuadField::Quad& CQuadField::GetQuad(int) const: Assertion `static_cast<unsigned>(i) < baseQuads.size()' failed. [f=0000000] Error: Aborted (SIGABRT) in spring 0.82+.4.0 (Debug Headless) [f=0000000] Error: Stacktrace: [f=0000000] Error: <0> /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7fe08cb0ad80] [f=0000000] Error: <1> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fe08cb0ad05] [f=0000000] Error: <2> /lib/x86_64-linux-gnu/libc.so.6(abort+0x186) [0x7fe08cb0eab6] [f=0000000] Error: <3> /lib/x86_64-linux-gnu/libc.so.6(__assert_fail+0xf5) [0x7fe08cb037c5] [f=0000000] Error: <4> /home/abma/dev/spring/master/rts/Sim/Misc/QuadField.h:84 [f=0000000] Error: <5> /home/abma/dev/spring/master/rts/Game/TraceRay.cpp:229 [f=0000000] Error: <6> /home/abma/dev/spring/master/rts/Game/UI/GuiHandler.cpp:1548 [f=0000000] Error: <7> /home/abma/dev/spring/master/rts/Game/UI/GuiHandler.cpp:3742 [f=0000000] Error: <8> /home/abma/dev/spring/master/rts/Rendering/WorldDrawer.cpp:209 [f=0000000] Error: <9> /home/abma/dev/spring/master/rts/Game/Game.cpp:1101 | 
| abma (administrator) 2011-07-14 19:50 | can you reproduce that? | 
| Kloot (developer) 2011-07-14 19:52 | compiling headless now, standby | 
| Kloot (developer) 2011-07-14 20:36 Last edited: 2011-07-14 20:37 | Yes, crashes with the same trace. Pretty good idea what's wrong now (with the headless build anyway). | 
| Kloot (developer) 2011-07-14 21:42 | fixed for spring-headless (84a17ad8918c56bcf7fb8f3c4afaa296c02c4b38) I still have no idea about 0002485 though. | 
|  Issue History | |||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2011-07-14 18:57 | abma | New Issue | |
| 2011-07-14 18:57 | abma | Graphics Card | => unknown | 
| 2011-07-14 18:57 | abma | Severity | minor => crash | 
| 2011-07-14 19:00 | abma | Additional Information Updated | |
| 2011-07-14 19:21 | abma | Description Updated | |
| 2011-07-14 19:22 | abma | Summary | (master) instant crash in spring-headless => (master) instant assert in spring-headless at QuadField.h:73 | 
| 2011-07-14 19:24 | Kloot | Note Added: 0007025 | |
| 2011-07-14 19:24 | Kloot | Note Edited: 0007025 | |
| 2011-07-14 19:25 | Kloot | Status | new => feedback | 
| 2011-07-14 19:35 | abma | Note Added: 0007026 | |
| 2011-07-14 19:35 | abma | File Added: dedicated-crash_script.txt | |
| 2011-07-14 19:36 | abma | Note Added: 0007027 | |
| 2011-07-14 19:40 | abma | File Added: script.txt | |
| 2011-07-14 19:40 | abma | Note Added: 0007028 | |
| 2011-07-14 19:50 | abma | Note Added: 0007029 | |
| 2011-07-14 19:52 | Kloot | Note Added: 0007030 | |
| 2011-07-14 20:36 | Kloot | Note Added: 0007031 | |
| 2011-07-14 20:37 | Kloot | Note Edited: 0007031 | |
| 2011-07-14 21:42 | Kloot | Note Added: 0007033 | |
| 2011-07-14 21:42 | Kloot | Status | feedback => resolved | 
| 2011-07-14 21:42 | Kloot | Fixed in Version | => 0.82.7+git | 
| 2011-07-14 21:42 | Kloot | Resolution | open => fixed | 
| 2011-07-14 21:42 | Kloot | Assigned To | => Kloot | 

 
	
