View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002455 | Spring engine | General | public | 2011-06-01 15:03 | 2011-06-10 00:25 |
| Reporter | abma | Assigned To | zerver | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | resolved | Resolution | fixed | ||
| Product Version | 0.82.7+git | ||||
| Fixed in Version | 0.82.7+git | ||||
| Summary | 0002455: (master) sound related crash somewhere in midgame (AudioChannel.cpp:54) | ||||
| Description | http://pastebin.com/gK2NLBKC | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
an other one: (this time with a few /give all 0|1) [f=0008450] Segmentation fault (SIGSEGV) in spring 0.82+.4.0 (Debug) [f=0008450] Stacktrace: [f=0008451] <0> /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7f987c603d80] [f=0008451] <1> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_+0x101) [0x7f987ce6d8c1] [f=0008451] <2> /usr/include/c++/4.6/bits/stl_tree.h:1479 [f=0008451] <3> /usr/include/c++/4.6/bits/stl_tree.h:770 [f=0008451] <4> /usr/include/c++/4.6/bits/stl_tree.h:1493 [f=0008451] <5> /usr/include/c++/4.6/bits/stl_tree.h:787 [f=0008451] <6> /usr/include/c++/4.6/bits/stl_tree.h:1506 [f=0008451] <7> /usr/include/c++/4.6/bits/stl_map.h:644 [f=0008451] <8> /home/abma/dev/spring/master/rts/System/Sound/AudioChannel.cpp:55 [f=0008451] <9> /home/abma/dev/spring/master/rts/System/Sound/SoundSource.cpp:136 [f=0008451] Segmentation fault (SIGSEGV) in spring 0.82+.4.0 (Debug) [f=0008451] Stacktrace: [f=0008451] <0> /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7f987c603d80] [f=0008451] <1> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_+0x164) [0x7f987ce6d924] [f=0008451] <2> /usr/include/c++/4.6/bits/stl_tree.h:1479 [f=0008451] <3> /usr/include/c++/4.6/bits/stl_tree.h:770 [f=0008451] <4> /usr/include/c++/4.6/bits/stl_tree.h:1493 [f=0008451] <5> /usr/include/c++/4.6/bits/stl_tree.h:787 [f=0008451] <6> /usr/include/c++/4.6/bits/stl_tree.h:1506 [f=0008451] <7> /usr/include/c++/4.6/bits/stl_map.h:644 [f=0008451] <8> /home/abma/dev/spring/master/rts/System/Sound/AudioChannel.cpp:55 [f=0008451] <9> /home/abma/dev/spring/master/rts/System/Sound/SoundSource.cpp:136 [f=0008451] Red_UI_Framework>> last processed widget was "Red Tooltip" [f=0008451] Red_Drawing>> last processed widget was "Red Tooltip" [f=0008451] Path cache hits 27 2% [f=0008451] Path cache hits 361 14% [f=0008451] Statistics for local connection: Received: 16460 bytes Sent: 82676 bytes Spring crashed Spring has crashed: Segmentation fault (SIGSEGV). the same crash in gdb: http://pastebin.com/u9yrYWwU |
|
|
Tracked down this to some kind of concurrency in AudioChannel. In my specific crash, cur_sources contained a single NULL item, a condition that can only occur if there is concurrency (or memory corruption). The cause of the specific crash in this mantis report is likely due to concurrent modification of cur_sources. https://github.com/spring/spring/commit/e805990829b20dcc94968291c46167343d5f8fd9 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-06-01 15:03 | abma | New Issue | |
| 2011-06-01 15:05 | abma | Summary | (master) sound related crash somewhere in midgame => (master) sound related crash somewhere in midgame (AudioChannel.cpp:54) |
| 2011-06-01 15:19 | abma | Note Added: 0006696 | |
| 2011-06-01 15:20 | abma | Note Edited: 0006696 | |
| 2011-06-01 15:21 | abma | Note Edited: 0006696 | |
| 2011-06-01 15:22 | abma | File Added: infolog.txt | |
| 2011-06-01 15:27 | abma | Note Edited: 0006696 | |
| 2011-06-10 00:25 | zerver | Note Added: 0006717 | |
| 2011-06-10 00:25 | zerver | Status | new => resolved |
| 2011-06-10 00:25 | zerver | Fixed in Version | => 0.82.7+git |
| 2011-06-10 00:25 | zerver | Resolution | open => fixed |
| 2011-06-10 00:25 | zerver | Assigned To | => zerver |