View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003787 | Spring engine | AI | public | 2013-05-08 20:34 | 2013-07-22 15:08 |
| Reporter | squerlm | Assigned To | abma | ||
| Priority | immediate | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 94.1 | ||||
| Fixed in Version | 95.0 | ||||
| Summary | 0003787: skirmish mid game segmentation fault by various AI, so far seen with KAIK, RAI | ||||
| Description | See steps to reproduce first. After about 1-2 hours of skirmish play, the game reliably crashes with a segfault that reportedly occurs in a skirmish AI library. However, these AIs have been working perfectly for earlier spring versions and are the standard AIs packaged with spring. | ||||
| Steps To Reproduce | use Springlobby and select Balanced Annihilation V7.75 map neurope_a7 Maxunits 1000 Place about 8 bots ARM/CORE all allied Crash occurs each time (about 4 times so far) on my Macbook Pro Retina under Ubuntu using nvidia graphics after about 1-2 hours skirmish and looks like what's in infolog.txt pasted below. The instance pasted is related to RAI but I had the same error also with KAIK. Nothing like this ever happened with earlier spring versions | ||||
| Additional Information | [f=0093942] Error: Segmentation fault (SIGSEGV) in spring 94.1 (OMP) [f=0093942] Error: Stacktrace: [f=0093942] Error: This stack trace indicates a problem with a Skirmish AI library. [f=0093942] Error: <0> /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f47b931c4a0] [f=0093942] Error: <1> /usr/lib/spring/AI/Skirmish/RAI/0.601/libSkirmishAI.so(+0x2ce75) [0x7f476006de75] [f=0093942] Error: <2> /usr/lib/spring/AI/Skirmish/RAI/0.601/libSkirmishAI.so(+0x49944) [0x7f476008a944] [f=0093942] Error: <3> /usr/lib/spring/AI/Skirmish/RAI/0.601/libSkirmishAI.so(+0x49179) [0x7f476008a179] [f=0093942] Error: <4> /usr/lib/spring/AI/Skirmish/RAI/0.601/libSkirmishAI.so(handleEvent+0xac) [0x7f476007167c] [f=0093942] Error: <5> "/usr/games/spring"() [0x9df26a] [f=0093942] Error: <6> "/usr/games/spring"() [0x9d8589] [f=0093942] Error: <7> "/usr/games/spring"() [0x9e384a] [f=0093942] Error: <8> "/usr/games/spring"() [0x9c2ad9] [f=0093942] Error: <9> "/usr/games/spring"() [0x8ae5d9] [f=0093942] Error: <10> "/usr/games/spring"() [0x4afd03] [f=0093942] Error: <11> "/usr/games/spring"() [0x4a1da2] [f=0093942] Error: <12> "/usr/games/spring"() [0x4f1333] [f=0093942] Error: <13> "/usr/games/spring"() [0x4a4cb0] [f=0093942] Error: <14> "/usr/games/spring"() [0x947a97] [f=0093942] Error: <15> "/usr/games/spring"() [0x94a225] [f=0093942] Error: <16> "/usr/games/spring"() [0x951774] [f=0093942] Error: <17> "/usr/games/spring"() [0x92c3c3] [f=0093942] Error: <18> "/usr/games/spring"() [0x468c87] [f=0093942] Error: <19> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f47b930776d] [f=0093942] Error: <20> "/usr/games/spring"() [0x482e11] | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
is this the linux static build? |
|
|
yes, I didn't compile anything. Aptitude shows this version info: spring 94.1~12.10~ppa |
|
|
can you install the debug symbols please and run: (afaik "apt-get install spring-dbg") and run addr2line -e /usr/lib/debug/usr/lib/spring/AI/Skirmish/RAI/0.601/libSkirmishAI.so 0x7f476006de75 0x7f476008a944 0x7f476008a179 0x7f476007167c & paste the output here please? |
|
|
I got this: addr2line -e /usr/lib/debug/usr/lib/spring/AI/Skirmish/RAI/0.601/libSkirmishAI.so 0x7f476006de75 ??:0 0x7f476008a944 ??:0 0x7f476008a179 ??:0 0x7f476007167c ??:0 This doesn't seem to be what you expected. What went wrong? |
|
|
I just experienced another crash, maybe this is helpful, I am posting the tail of infolog.txt: [f=0081546] Warning: Waiting packet limit was reached for Player AI #1 [packets dropped] [f=0081554] Warning: Waiting packet limit was reached for Player AI #1 [packets dropped] [f=0081555] Warning: Waiting packet limit was reached for Player AI #1 [packets dropped] [f=0081556] Warning: Waiting packet limit was reached for Player AI #1 [packets dropped] [f=0081564] Warning: Waiting packet limit was reached for Player AI #1 [packets dropped] [f=0081565] Warning: Waiting packet limit was reached for Player AI #1 [packets dropped] [f=0081566] Warning: Waiting packet limit was reached for Player AI #1 [packets dropped] [f=0081567] Warning: Waiting packet limit was reached for Player AI #1 [packets dropped] [f=0081575] Warning: Waiting packet limit was reached for Player AI #1 [packets dropped] [f=0082171] Player paused the game [f=0082171] Player unpaused the game [f=0082785] Error: Segmentation fault (SIGSEGV) in spring 94.1 (OMP) [f=0082785] Error: Stacktrace: [f=0082785] Error: This stack trace indicates a problem with a Skirmish AI library. [f=0082785] Error: <0> /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f32c12374a0] [f=0082785] Error: <1> /build/buildd/spring-94.1~12.10~ppa1/AI/Skirmish/KAIK/UnitHandler.cpp:450 (discriminator 1) [f=0082785] Error: <2> /usr/include/c++/4.7/sstream:546 [f=0082785] Error: <3> /usr/include/c++/4.7/bits/locale_facets.h:1078 [f=0082785] Error: <4> /build/buildd/spring-94.1~12.10~ppa1/AI/Wrappers/LegacyCpp/AIAI.cpp:173 (discriminator 1) [f=0082785] Error: <5> /build/buildd/spring-94.1~12.10~ppa1/AI/Skirmish/KAIK/AIExport.cpp:104 [f=0082785] Error: <6> /usr/include/c++/4.7/bits/stl_vector.h:404 [f=0082785] Error: <7> /build/buildd/spring-94.1~12.10~ppa1/rts/Lua/LuaRules.cpp:916 [f=0082785] Error: <8> /build/buildd/spring-94.1~12.10~ppa1/rts/Lua/LuaSyncedCtrl.cpp:1700 [f=0082785] Error: <9> /build/buildd/spring-94.1~12.10~ppa1/rts/Lua/LuaOpenGL.cpp:2094 [f=0082785] Error: <10> /build/buildd/spring-94.1~12.10~ppa1/rts/Game/Game.cpp:1500 (discriminator 1) [f=0082785] Error: <11> /build/buildd/spring-94.1~12.10~ppa1/rts/Game/NetCommands.cpp:392 [f=0082785] Error: <12> /build/buildd/spring-94.1~12.10~ppa1/rts/Game/Game.cpp:906 [f=0082785] Error: <13> /usr/include/c++/4.7/bits/stl_construct.h:128 [f=0082785] Error: <14> /usr/include/c++/4.7/bits/stl_tree.h:1388 [f=0082785] Error: <15> /build/buildd/spring-94.1~12.10~ppa1/rts/Game/UI/MiniMap.h:119 [f=0082785] Error: <16> /build/buildd/spring-94.1~12.10~ppa1/rts/Game/UI/GuiHandler.cpp:3121 [f=0082785] Error: <17> /build/buildd/spring-94.1~12.10~ppa1/rts/System/Main.cpp:151 [f=0082785] Error: <18> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f32c122276d] [f=0082785] Error: <19> ??:? [f=0082785] Red_UI_Framework>> last processed widget was "Red Tooltip" [f=0082785] Red_Drawing>> last processed widget was "Red Tooltip" [f=0082785] [CCollisionHandler] dis-/continuous tests: 0/100421064 [f=0082785] Path cache hits 34816 22% [f=0082785] Path cache hits 296198 88% [f=0082785] Statistics for RectangleOptimizer: 1% [f=0082785] Statistics for RectangleOptimizer: 1% [f=0082785] Statistics for local connection: Received: 2798992 bytes Sent: 3551591 bytes Error: Spring crashed Spring has crashed: Segmentation fault (SIGSEGV). A stacktrace has been written to: /home/herman/.spring/infolog.txt |
|
|
please don't switch ais in this bug report, i can't fix KAIK, i can only fix RAI / AAI. if you rerun and get such a stacktrace as the last one its very likely i can fix the crash. |
|
|
as note, the KAIK bug is known a long time: https://github.com/Kaylewt/KAIK/issues/6 |
|
|
should be fixed in current development version (which will be released as 95.0) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-05-08 20:34 | squerlm | New Issue | |
| 2013-05-08 20:34 | squerlm | File Added: infolog.txt | |
| 2013-05-09 01:36 | abma | Note Added: 0010682 | |
| 2013-05-09 01:36 | abma | Assigned To | => abma |
| 2013-05-09 01:36 | abma | Status | new => feedback |
| 2013-05-09 01:44 | squerlm | Note Added: 0010683 | |
| 2013-05-09 01:44 | squerlm | Status | feedback => assigned |
| 2013-05-13 10:42 | abma | Note Added: 0010692 | |
| 2013-05-13 10:42 | abma | Status | assigned => feedback |
| 2013-05-17 06:04 | squerlm | Note Added: 0010701 | |
| 2013-05-17 06:04 | squerlm | Status | feedback => assigned |
| 2013-05-17 07:21 | squerlm | Note Added: 0010702 | |
| 2013-05-18 13:21 | abma | Note Added: 0010704 | |
| 2013-05-21 20:28 | abma | Status | assigned => feedback |
| 2013-05-21 21:07 | abma | Note Added: 0010732 | |
| 2013-07-22 15:08 | abma | Note Added: 0011044 | |
| 2013-07-22 15:08 | abma | Status | feedback => resolved |
| 2013-07-22 15:08 | abma | Fixed in Version | => 95.0 |
| 2013-07-22 15:08 | abma | Resolution | open => fixed |