View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004307 | Spring engine | General | public | 2014-02-07 11:00 | 2014-02-12 22:16 | ||||
Reporter | abma | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 96.0.1+git | ||||||||
Target Version | 97.0 | Fixed in Version | |||||||
Summary | 0004307: SIGSEGV in rts/System/CRC.cpp:33 | ||||||||
Description | Scanning: /var/tmp/home/dev/spring/develop/base [ArchiveScanner] Found new game: Spring Bitmaps Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe7d7b700 (LWP 5070)] 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x0000000000e1f205 in CrcUpdate () #2 0x0000000000c7a6ce in CRC::Update (this=0x7fffe7d7a9a0, data=0x1d79bd8, size=16) at rts/System/CRC.cpp:33 0000003 0x0000000000d3739e in CArchiveScanner::__lambda5::operator() (__closure=0x1d84be0, i=2) at rts/System/FileSystem/ArchiveScanner.cpp:727 0000004 0x0000000000d3aef1 in std::_Function_handler<void(int), CArchiveScanner::GetCRC(const string&)::__lambda5>::_M_invoke(const std::_Any_data &, int) (__functor=..., __args#0=2) at /usr/include/c++/4.8/functional:2071 0000005 0x000000000087452a in std::function<void (int)>::operator()(int) const (this=0x1d84d48, __args#0=2) at /usr/include/c++/4.8/functional:2464 #6 0x000000000088c40e in std::_Bind<std::function<void (int)> (int)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x1d84d48, __args=<unknown type in /var/tmp/home/dev/spring/develop/spring, CU 0x1aa2c1b, DIE 0x1b13fd1>) at /usr/include/c++/4.8/functional:1296 #7 0x000000000088b3a4 in std::_Bind<std::function<void (int)> (int)>::operator()<, void>() (this=0x1d84d48) at /usr/include/c++/4.8/functional:1355 #8 0x0000000000889b13 in boost::detail::task_object<std::_Bind<std::function<void (int)> (int)>, void>::do_run() ( this=0x1d84c40) at /usr/include/boost/thread/future.hpp:2659 #9 0x000000000087d33d in boost::detail::task_base<void>::run (this=0x1d84c40) at /usr/include/boost/thread/future.hpp:2218 0000010 0x0000000000879abb in boost::packaged_task<void>::operator() (this=0x1d84c18) at /usr/include/boost/thread/future.hpp:3069 #11 0x0000000000874654 in TaskGroup<std::function<void (int)> const, int const>::enqueue(std::function<void (int)> const&, int const&)::{lambda()#1}::operator()() const (__closure=0x7fffdc000920) at rts/System/ThreadPool.h:179 ---Type <return> to continue, or q <return> to quit--- 0000012 0x00000000008842bb in std::_Function_handler<void (), TaskGroup<std::function<void (int)> const, int const>::enqueue(std::function<void (int)> const&, int const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/4.8/functional:2071 0000013 0x0000000000cf281a in std::function<void ()>::operator()() const (this=0x7fffe7d7acd8) at /usr/include/c++/4.8/functional:2464 0000014 0x0000000000d0c5b8 in ThreadPool::DoTask (lk_=...) at rts/System/ThreadPool.cpp:101 #15 0x0000000000d0cb0b in ThreadPool::WorkerLoop (id=3) at rts/System/ThreadPool.cpp:160 #16 0x0000000000d12a13 in boost::_bi::list1<boost::_bi::value<int> >::operator()<void (*)(int), boost::_bi::list0> ( this=0x1d111f0, f=@0x1d111e8: 0xd0c992 <ThreadPool::WorkerLoop(int)>, a=...) at /usr/include/boost/bind/bind.hpp:253 #17 0x0000000000d1237f in boost::_bi::bind_t<void, void (*)(int), boost::_bi::list1<boost::_bi::value<int> > >::operator() (this=0x1d111e8) at /usr/include/boost/bind/bind_template.hpp:20 #18 0x0000000000d13590 in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(int), boost::_bi::list1<boost::_bi::value<int> > > >::run (this=0x1d11030) at /usr/include/boost/thread/detail/thread.hpp:117 #19 0x00007ffff5291a4a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0 0000020 0x00007ffff78ea182 in start_thread (arg=0x7fffe7d7b700) at pthread_create.c:312 #21 0x00007ffff4337b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
abma (administrator) 2014-02-07 11:05 Last edited: 2014-02-07 11:06 |
Error: Segmentation fault (SIGSEGV) in spring 96.0.1-249-gc25ffd7 develop (Debug) |
abma (administrator) 2014-02-07 11:25 |
also: http://buildbot.springrts.com/builders/validationtests/builds/4023/steps/analyze%20core%20dumps/logs/stdio |
abma (administrator) 2014-02-07 12:29 Last edited: 2014-02-07 12:29 |
not fixed, if fix is found, please revert my commit as it does nothing. it works every 10th run or so, this is why i thought my commit fixes this. |
abma (administrator) 2014-02-07 12:39 |
(gdb) thread apply all bt Thread 5 (Thread 0x7fffe7d7b700 (LWP 8528)): #0 0x0000000000000000 in ?? () #1 0x0000000000e1f1f5 in CrcUpdate () #2 0x0000000000c7a6ce in CRC::Update (this=0x7fffe7d7a9a0, data=0x1d7a1c8, size=20) at rts/System/CRC.cpp:33 0000003 0x0000000000d3739e in CArchiveScanner::__lambda5::operator() (__closure=0x1d84f70, i=1) at rts/System/FileSystem/ArchiveScanner.cpp:727 0000004 0x0000000000d3aee1 in std::_Function_handler<void(int), CArchiveScanner::GetCRC(const string&)::__lambda5>::_M_invoke(const std::_Any_data &, int) (__functor=..., __args#0=1) at /usr/include/c++/4.8/functional:2071 0000005 0x000000000087452a in std::function<void (int)>::operator()(int) const (this=0x1d850d8, __args#0=1) at /usr/include/c++/4.8/functional:2464 #6 0x000000000088c40e in std::_Bind<std::function<void (int)> (int)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x1d850d8, __args=<unknown type in /var/tmp/home/dev/spring/develop/spring, CU 0x1aa2c1b, DIE 0x1b13fd1>) at /usr/include/c++/4.8/functional:1296 #7 0x000000000088b3a4 in std::_Bind<std::function<void (int)> (int)>::operator()<, void>() (this=0x1d850d8) at /usr/include/c++/4.8/functional:1355 #8 0x0000000000889b13 in boost::detail::task_object<std::_Bind<std::function<void (int)> (int)>, void>::do_run() (this=0x1d84fd0) at /usr/include/boost/thread/future.hpp:2659 #9 0x000000000087d33d in boost::detail::task_base<void>::run (this=0x1d84fd0) at /usr/include/boost/thread/future.hpp:2218 0000010 0x0000000000879abb in boost::packaged_task<void>::operator() (this=0x1d84fa8) at /usr/include/boost/thread/future.hpp:3069 #11 0x0000000000874654 in TaskGroup<std::function<void (int)> const, int const>::enqueue(std::function<void (int)> const&, int const&)::{lambda()#1}::operator()() const ( __closure=0x7fffdc000920) at rts/System/ThreadPool.h:179 0000012 0x00000000008842bb in std::_Function_handler<void (), TaskGroup<std::function<void (int)> const, int const>::enqueue(std::function<void (int)> const&, int const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/4.8/functional:2071 0000013 0x0000000000cf281a in std::function<void ()>::operator()() const (this=0x7fffe7d7acd8) at /usr/include/c++/4.8/functional:2464 0000014 0x0000000000d0c5b8 in ThreadPool::DoTask (lk_=...) at rts/System/ThreadPool.cpp:101 #15 0x0000000000d0cb0b in ThreadPool::WorkerLoop (id=3) at rts/System/ThreadPool.cpp:160 #16 0x0000000000d12a13 in boost::_bi::list1<boost::_bi::value<int> >::operator()<void (*)(int), boost::_bi::list0> (this=0x1d11e50, f=@0x1d11e48: 0xd0c992 <ThreadPool::WorkerLoop(int)>, a=...) at /usr/include/boost/bind/bind.hpp:253 #17 0x0000000000d1237f in boost::_bi::bind_t<void, void (*)(int), boost::_bi::list1<boost::_bi::value<int> > >::operator() (this=0x1d11e48) at /usr/include/boost/bind/bind_template.hpp:20 #18 0x0000000000d13590 in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(int), boost::_bi::list1<boost::_bi::value<int> > > >::run (this=0x1d11c90) at /usr/include/boost/thread/detail/thread.hpp:117 #19 0x00007ffff5291a4a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0 0000020 0x00007ffff78ea182 in start_thread (arg=0x7fffe7d7b700) at pthread_create.c:312 #21 0x00007ffff4337b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7fffe857c700 (LWP 8527)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x0000000000d0dc88 in boost::condition_variable::do_wait_until (this=0x19e2320 <newTasks>, m=..., timeout=...) at /usr/include/boost/thread/pthread/condition_variable.hpp:108 #2 0x0000000000d0dc01 in boost::condition_variable::wait_until (this=0x19e2320 <newTasks>, lk=..., tp=...) at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:253 0000003 0x0000000000d0f03d in boost::condition_variable::wait_for<long, boost::ratio<1l, 1000000000l> > (this=0x19e2320 <newTasks>, lock=..., d=...) at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:210 0000004 0x0000000000d0caff in ThreadPool::WorkerLoop (id=2) at rts/System/ThreadPool.cpp:166 0000005 0x0000000000d12a13 in boost::_bi::list1<boost::_bi::value<int> >::operator()<void (*)(int), boost::_bi::list0> (this=0x1d11ac0, f=@0x1d11ab8: 0xd0c992 <ThreadPool::WorkerLoop(int)>, a=...) at /usr/include/boost/bind/bind.hpp:253 #6 0x0000000000d1237f in boost::_bi::bind_t<void, void (*)(int), boost::_bi::list1<boost::_bi::value<int> > >::operator() (this=0x1d11ab8) at /usr/include/boost/bind/bind_template.hpp:20 #7 0x0000000000d13590 in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(int), boost::_bi::list1<boost::_bi::value<int> > > >::run (this=0x1d11900) at /usr/include/boost/thread/detail/thread.hpp:117 #8 0x00007ffff5291a4a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0 #9 0x00007ffff78ea182 in start_thread (arg=0x7fffe857c700) at pthread_create.c:312 0000010 0x00007ffff4337b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7fffe8d7d700 (LWP 8526)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x0000000000d0dc88 in boost::condition_variable::do_wait_until (this=0x19e2320 <newTasks>, m=..., timeout=...) at /usr/include/boost/thread/pthread/condition_variable.hpp:108 #2 0x0000000000d0dc01 in boost::condition_variable::wait_until (this=0x19e2320 <newTasks>, lk=..., tp=...) at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:253 0000003 0x0000000000d0f03d in boost::condition_variable::wait_for<long, boost::ratio<1l, 1000000000l> > (this=0x19e2320 <newTasks>, lock=..., d=...) at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:210 ---Type <return> to continue, or q <return> to quit--- 0000004 0x0000000000d0caff in ThreadPool::WorkerLoop (id=1) at rts/System/ThreadPool.cpp:166 0000005 0x0000000000d12a13 in boost::_bi::list1<boost::_bi::value<int> >::operator()<void (*)(int), boost::_bi::list0> (this=0x1d11750, f=@0x1d11748: 0xd0c992 <ThreadPool::WorkerLoop(int)>, a=...) at /usr/include/boost/bind/bind.hpp:253 #6 0x0000000000d1237f in boost::_bi::bind_t<void, void (*)(int), boost::_bi::list1<boost::_bi::value<int> > >::operator() (this=0x1d11748) at /usr/include/boost/bind/bind_template.hpp:20 #7 0x0000000000d13590 in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(int), boost::_bi::list1<boost::_bi::value<int> > > >::run (this=0x1d11590) at /usr/include/boost/thread/detail/thread.hpp:117 #8 0x00007ffff5291a4a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0 #9 0x00007ffff78ea182 in start_thread (arg=0x7fffe8d7d700) at pthread_create.c:312 0000010 0x00007ffff4337b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7fffe97b6700 (LWP 8525)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fffec2133b3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so #2 0x00007ffff78ea182 in start_thread (arg=0x7fffe97b6700) at pthread_create.c:312 0000003 0x00007ffff4337b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7ffff7fa4780 (LWP 8521)): #0 0x00007ffff7ffa988 in ?? () #1 0x00007fffffffd890 in ?? () #2 0x000000000088c504 in std::__atomic_base<int>::load (this=0x7fffffffdaa0, __m=32767) at /usr/include/c++/4.8/bits/atomic_base.h:492 0000003 0x00007ffff4345fdd in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115 0000004 0x00007ffff58ce201 in boost::chrono::steady_clock::now() () from /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.54.0 0000005 0x0000000000d0f163 in ITaskGroup::wait_for<long, boost::ratio<1l, 1l> > (this=0x1d83488, rel_time=...) at rts/System/ThreadPool.h:92 #6 0x0000000000d0cc92 in ThreadPool::WaitForFinished (taskgroup=...) at rts/System/ThreadPool.cpp:179 #7 0x0000000000874979 in ThreadPool::WaitForFinished<TaskGroup<std::function<void (int)> const, int const> >(std::shared_ptr<TaskGroup<std::function<void (int)> const, int const> >) ( taskgroup=...) at rts/System/ThreadPool.h:112 #8 0x0000000000d331f8 in for_mt(int, int, int, <unknown type in /var/tmp/home/dev/spring/develop/spring, CU 0x4dc77c2, DIE 0x4e229ec>) (start=0, end=131, step=1, f=<unknown type in /var/tmp/home/dev/spring/develop/spring, CU 0x4dc77c2, DIE 0x4e229ec>) at rts/System/ThreadPool.h:315 #9 0x0000000000d332ad in for_mt(int, int, <unknown type in /var/tmp/home/dev/spring/develop/spring, CU 0x4dc77c2, DIE 0x4e22a80>) (start=0, end=131, f=<unknown type in /var/tmp/home/dev/spring/develop/spring, CU 0x4dc77c2, DIE 0x4e22a80>) at rts/System/ThreadPool.h:321 0000010 0x0000000000d37727 in CArchiveScanner::GetCRC (this=0x1d12410, arcName=...) at rts/System/FileSystem/ArchiveScanner.cpp:735 #11 0x0000000000d366d0 in CArchiveScanner::ScanArchive (this=0x1d12410, fullName=..., doChecksum=true) at rts/System/FileSystem/ArchiveScanner.cpp:624 0000012 0x0000000000d34fe6 in CArchiveScanner::ScanDirs (this=0x1d12410, scanDirs=..., doChecksum=true) at rts/System/FileSystem/ArchiveScanner.cpp:404 0000013 0x0000000000d34c8e in CArchiveScanner::CArchiveScanner (this=0x1d12410) at rts/System/FileSystem/ArchiveScanner.cpp:356 0000014 0x0000000000d56507 in FileSystemInitializer::Initialize () at rts/System/FileSystem/FileSystemInitializer.cpp:38 #15 0x0000000000ce0bf3 in SpringApp::Initialize (this=0x7fffffffe2e0) at rts/System/SpringApp.cpp:243 #16 0x0000000000ce6969 in SpringApp::Run (this=0x7fffffffe2e0) at rts/System/SpringApp.cpp:883 #17 0x0000000000cb6bcc in Run (argc=1, argv=0x7fffffffe4c8) at rts/System/Main.cpp:48 #18 0x0000000000cb7434 in main (argc=1, argv=0x7fffffffe4c8) at rts/System/Main.cpp:108 |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-07 11:00 | abma | New Issue | |
2014-02-07 11:05 | abma | Note Added: 0012821 | |
2014-02-07 11:06 | abma | Note Edited: 0012821 | View Revisions |
2014-02-07 11:25 | abma | Note Added: 0012822 | |
2014-02-07 12:06 | abma | Changeset attached | => spring develop 6302277d |
2014-02-07 12:06 | abma | Assigned To | => abma |
2014-02-07 12:06 | abma | Status | new => resolved |
2014-02-07 12:06 | abma | Resolution | open => fixed |
2014-02-07 12:29 | abma | Status | resolved => new |
2014-02-07 12:29 | abma | Note Added: 0012823 | |
2014-02-07 12:29 | abma | Note Edited: 0012823 | View Revisions |
2014-02-07 12:39 | abma | Note Added: 0012824 | |
2014-02-07 13:06 | jK | Changeset attached | => spring develop 1b9f94e5 |
2014-02-07 13:06 | jK | Assigned To | abma => jK |
2014-02-07 13:06 | jK | Status | new => resolved |
2014-02-12 22:16 | abma | Changeset attached | => spring develop aa5a2872 |
2014-02-12 22:16 | abma | Assigned To | jK => abma |