View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004261 | Spring engine | General | public | 2014-01-07 19:25 | 2014-01-07 19:53 |
| Reporter | abma | Assigned To | abma | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 96.0.1+git | ||||
| Target Version | 97.0 | ||||
| Summary | 0004261: endless loop / hang at start | ||||
| Description | (gdb) bt #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff529996b in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) () from /usr/lib/libboost_thread.so.1.54.0 #2 0x00007ffff52960b4 in boost::thread::join_noexcept() () from /usr/lib/libboost_thread.so.1.54.0 0000003 0x00000000005c2f35 in boost::thread::join (this=0x7fffffffd940) at /usr/include/boost/thread/detail/thread.hpp:756 0000004 0x00000000005be56c in CGame::StartPlaying (this=0x23f23e0) at rts/Game/Game.cpp:1585 0000005 0x000000000072e5c6 in CGame::ClientReadNet (this=0x23f23e0) at rts/Net/NetCommands.cpp:287 #6 0x00000000005bb2e1 in CGame::Update (this=0x23f23e0) at rts/Game/Game.cpp:999 #7 0x0000000000cb773d in Threading::UpdateGameController (ac=0x23f23e0) at rts/System/Platform/Threading.cpp:389 #8 0x0000000000cc8919 in SpringApp::Update (this=0x7fffffffe270) at rts/System/SpringApp.cpp:857 #9 0x0000000000cc8a3f in SpringApp::Run (this=0x7fffffffe270) at rts/System/SpringApp.cpp:889 0000010 0x0000000000c98529 in Run (argc=1, argv=0x7fffffffe458) at rts/System/Main.cpp:60 #11 0x0000000000c98d91 in main (argc=1, argv=0x7fffffffe458) at rts/System/Main.cpp:120 (gdb) cont Continuing. ^C Program received signal SIGINT, Interrupt. pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 185 in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S (gdb) thread apply all bt Thread 11 (Thread 0x7fffd90ea700 (LWP 24053)): #0 0x00007ffff430ecf7 in sched_yield () at ../sysdeps/unix/syscall-template.S:81 #1 0x0000000000ca0225 in __gthread_yield () at /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:692 #2 0x0000000000ca0de9 in std::this_thread::yield () at /usr/include/c++/4.8/thread:259 0000003 0x0000000000ca0418 in thread_yield () at rts/System/Misc/SpringTime.cpp:198 0000004 0x0000000000ca0541 in spring_time::sleep (this=0x7fffd90e9d50) at rts/System/Misc/SpringTime.cpp:216 0000005 0x000000000072ce40 in CNetProtocol::UpdateLoop (this=0x2131be0) at rts/Net/Protocol/NetProtocol.cpp:151 #6 0x00000000005cff2f in boost::_mfi::mf0<void, CNetProtocol>::operator() (this=0xe5ff808, p=0x2131be0) at /usr/include/boost/bind/mem_fn_template.hpp:49 #7 0x00000000005cfe92 in boost::_bi::list1<boost::_bi::value<CNetProtocol*> >::operator()<boost::_mfi::mf0<void, CNetProtocol>, boost::_bi::list0> (this=0xe5ff818, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253 #8 0x00000000005cfd49 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, CNetProtocol>, boost::_bi::list1<boost::_bi::value<CNetProtocol*> > >::operator() (this=0xe5ff808) at /usr/include/boost/bind/bind_template.hpp:20 #9 0x00000000005cfbd8 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CNetProtocol>, boost::_bi::list1<boost::_bi::value<CNetProtocol*> > > >::run (this=0xe5ff650) at /usr/include/boost/thread/detail/thread.hpp:117 0000010 0x00007ffff5295a4a in ?? () from /usr/lib/libboost_thread.so.1.54.0 #11 0x00007ffff78f0f6e in start_thread (arg=0x7fffd90ea700) at pthread_create.c:311 ---Type <return> to continue, or q <return> to quit--- 0000012 0x00007ffff433d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 9 (Thread 0x7fffe8938700 (LWP 23944)): #0 0x00007ffff430ecf7 in sched_yield () at ../sysdeps/unix/syscall-template.S:81 #1 0x0000000000ca0225 in __gthread_yield () at /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:692 #2 0x0000000000ca0de9 in std::this_thread::yield () at /usr/include/c++/4.8/thread:259 0000003 0x0000000000ca0418 in thread_yield () at rts/System/Misc/SpringTime.cpp:198 0000004 0x0000000000ca0541 in spring_time::sleep (this=0x7fffe8937d30) at rts/System/Misc/SpringTime.cpp:216 0000005 0x0000000000706beb in CGameServer::UpdateLoop (this=0x219f830) at rts/Net/GameServer.cpp:2507 #6 0x0000000000728a1d in boost::_mfi::mf0<void, CGameServer>::operator() (this=0x2168858, p=0x219f830) at /usr/include/boost/bind/mem_fn_template.hpp:49 #7 0x0000000000728980 in boost::_bi::list1<boost::_bi::value<CGameServer*> >::operator()<boost::_mfi::mf0<void, CGameServer>, boost::_bi::list0> (this=0x2168868, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253 #8 0x0000000000728925 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, CGameServer>, boost::_bi::list1<boost::_bi::value<CGameServer*> > >::operator() (this=0x2168858) at /usr/include/boost/bind/bind_template.hpp:20 #9 0x00000000007288ea in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CGameServer>, boost::_bi::list1<boost::_bi::value<CGameServer*> > > >::run (this=0x21686a0) at /usr/include/boost/thread/detail/thread.hpp:117 0000010 0x00007ffff5295a4a in ?? () from /usr/lib/libboost_thread.so.1.54.0 #11 0x00007ffff78f0f6e in start_thread (arg=0x7fffe8938700) at pthread_create.c:311 ---Type <return> to continue, or q <return> to quit---# 0000012 0x00007ffff433d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 8 (Thread 0x7fffe9139700 (LWP 23927)): #0 0x00007ffff4330f7d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007ffff3fa0146 in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2 #2 0x00007ffff3fa44ae in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2 0000003 0x00007ffff3fe1b95 in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2 0000004 0x00007ffff4e587a5 in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1 0000005 0x00007ffff4e4fe6a in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1 #6 0x00007ffff78f0f6e in start_thread (arg=0x7fffe9139700) at pthread_create.c:311 #7 0x00007ffff433d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 7 (Thread 0x7fffe993a700 (LWP 23926)): #0 0x00007ffff4330f7d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007ffff3b36041 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #2 0x00007ffff3b2784c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 0000003 0x00007ffff3b27ede in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 0000004 0x00007ffff3b27f90 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 0000005 0x00007ffff3b35ff3 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #6 0x00007fffefedbee8 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-4.0.so #7 0x00007ffff78f0f6e in start_thread (arg=0x7fffe993a700) at pthread_create.c:311 #8 0x00007ffff433d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 6 (Thread 0x7fffdbfff700 (LWP 23925)): ---Type <return> to continue, or q <return> to quit--- #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007ffff5299acc in boost::condition_variable::do_wait_until(boost::unique_lock<boost::mutex>&, timespec const&) () from /usr/lib/libboost_thread.so.1.54.0 #2 0x00007ffff5296596 in boost::this_thread::hiden::sleep_until(timespec const&) () from /usr/lib/libboost_thread.so.1.54.0 0000003 0x0000000000b16541 in boost::this_thread::sleep (abs_time=...) at /usr/include/boost/thread/pthread/thread_data.hpp:249 0000004 0x0000000000b17c3b in boost::this_thread::sleep<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> > (rel_time=...) at /usr/include/boost/thread/pthread/thread_data.hpp:255 0000005 0x0000000000dca25e in CSound::StartThread (this=0x1d1e380, maxSounds=128) at rts/System/Sound/Sound.cpp:382 #6 0x0000000000dd15f7 in boost::_mfi::mf1<void, CSound, int>::operator() (this=0x1e22918, p=0x1d1e380, a1=128) at /usr/include/boost/bind/mem_fn_template.hpp:165 #7 0x0000000000dd1551 in boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> >::operator()<boost::_mfi::mf1<void, CSound, int>, boost::_bi::list0> (this=0x1e22928, f=..., a=...) at /usr/include/boost/bind/bind.hpp:313 #8 0x0000000000dd14d7 in boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > >::operator() (this=0x1e22918) at /usr/include/boost/bind/bind_template.hpp:20 #9 0x0000000000dd149c in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >::run ( this=0x1e22760) at /usr/include/boost/thread/detail/thread.hpp:117 ---Type <return> to continue, or q <return> to quit--- 0000010 0x00007ffff5295a4a in ?? () from /usr/lib/libboost_thread.so.1.54.0 #11 0x00007ffff78f0f6e in start_thread (arg=0x7fffdbfff700) at pthread_create.c:311 0000012 0x00007ffff433d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 2 (Thread 0x7fffea36e700 (LWP 23921)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fffeca851eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so #2 0x00007ffff78f0f6e in start_thread (arg=0x7fffea36e700) at pthread_create.c:311 0000003 0x00007ffff433d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7ffff7fa9780 (LWP 23913)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff529996b in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) () from /usr/lib/libboost_thread.so.1.54.0 #2 0x00007ffff52960b4 in boost::thread::join_noexcept() () from /usr/lib/libboost_thread.so.1.54.0 0000003 0x00000000005c2f35 in boost::thread::join (this=0x7fffffffd940) at /usr/include/boost/thread/detail/thread.hpp:756 0000004 0x00000000005be56c in CGame::StartPlaying (this=0x23f23e0) at rts/Game/Game.cpp:1585 0000005 0x000000000072e5c6 in CGame::ClientReadNet (this=0x23f23e0) at rts/Net/NetCommands.cpp:287 #6 0x00000000005bb2e1 in CGame::Update (this=0x23f23e0) at rts/Game/Game.cpp:999 #7 0x0000000000cb773d in Threading::UpdateGameController (ac=0x23f23e0) at rts/System/Platform/Threading.cpp:389 ---Type <return> to continue, or q <return> to quit--- #8 0x0000000000cc8919 in SpringApp::Update (this=0x7fffffffe270) at rts/System/SpringApp.cpp:857 #9 0x0000000000cc8a3f in SpringApp::Run (this=0x7fffffffe270) at rts/System/SpringApp.cpp:889 0000010 0x0000000000c98529 in Run (argc=1, argv=0x7fffffffe458) at rts/System/Main.cpp:60 #11 0x0000000000c98d91 in main (argc=1, argv=0x7fffffffe458) at rts/System/Main.cpp:120 | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
ugh, not sure if latest: Spring 96.0.1-112-g18a039e develop (Debug) |
|
|
https://github.com/spring/spring/commit/fe065d52c89a00cb927300078fe9d4b5e6f4b321 should already have fixed it |
|
|
Spring 96.0.1-126-g446c5a5 develop (Debug) works. haha, bugs are fixed faster than i find it. ;) sorry! |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-01-07 19:25 | abma | New Issue | |
| 2014-01-07 19:25 | abma | Severity | minor => crash |
| 2014-01-07 19:26 | abma | Note Added: 0012656 | |
| 2014-01-07 19:31 | Kloot | Note Added: 0012657 | |
| 2014-01-07 19:53 | abma | Note Added: 0012658 | |
| 2014-01-07 19:53 | abma | Status | new => closed |
| 2014-01-07 19:53 | abma | Assigned To | => abma |
| 2014-01-07 19:53 | abma | Resolution | open => no change required |