View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002538 | Spring engine | General | public | 2011-07-06 01:37 | 2011-07-14 18:39 | ||||
Reporter | abma | ||||||||
Assigned To | zerver | ||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | 0.82.7+git | |||||||
Summary | 0002538: (master) spring-multithreaded assert + segfault | ||||||||
Description | start spring-multithreaded + click quit: spring-multithreaded: /usr/include/boost/thread/pthread/mutex.hpp:50: void boost::mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed. Segfault | ||||||||
Additional Information | (gdb) bt full #0 0x00007ffff4831d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 resultvar = 0 pid = <value optimized out> selftid = 16939 #1 0x00007ffff4835ab6 in abort () at abort.c:92 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x32, sa_sigaction = 0x32}, sa_mask = {__val = { 140737296799374, 21129616, 140737296791258, 140737488348400, 140737295829090, 206158430232, 140737488348416, 140737488348192, 140737295740276, 206158430256, 140737488348440, 140736750176800, 733634176081289574, 140736750176464, 8391733737148212594, 140737488349737}}, sa_flags = -191564070, sa_restorer = 0x1426488} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007ffff482a7c5 in __assert_fail (assertion=0x14264b4 "!pthread_mutex_lock(&m)", file=<value optimized out>, line=50, function=<value optimized out>) at assert.c:81 buf = 0x7fffd4004a20 "spring-multithreaded: /usr/include/boost/thread/pthread/mutex.hpp:50: void boost::mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed.\n" 0000003 0x00000000009fbbb1 in boost::mutex::lock (this=0x2b269a0) at /usr/include/boost/thread/pthread/mutex.hpp:50 __PRETTY_FUNCTION__ = "void boost::mutex::lock()" 0000004 0x00000000009fbfca in boost::unique_lock<boost::mutex>::lock (this=0x7fffffffe600) at /usr/include/boost/thread/locks.hpp:349 No locals. 0000005 0x00000000009fbc35 in boost::unique_lock<boost::mutex>::unique_lock (this=0x7fffffffe600, ---Type <return> to continue, or q <return> to quit--- m_=...) at /usr/include/boost/thread/locks.hpp:227 No locals. #6 0x0000000001016008 in CLogOutput::End (this=0x1b1dba0) at /home/abma/dev/spring/master/rts/System/LogOutput.cpp:129 loglock = {m = 0x2b269a0, is_locked = false} #7 0x0000000001015f73 in CLogOutput::~CLogOutput (this=0x1b1dba0, __in_chrg=<value optimized out>) at /home/abma/dev/spring/master/rts/System/LogOutput.cpp:123 No locals. #8 0x00007ffff4837961 in __run_exit_handlers (status=0) at exit.c:78 atfct = <value optimized out> onfct = <value optimized out> cxafct = <value optimized out> #9 exit (status=0) at exit.c:100 No locals. 0000010 0x00007ffff481cf06 in __libc_start_main (main=0x1019f3b <main(int, char**)>, argc=1, ubp_av=0x7fffffffe758, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffffffe748) at libc-start.c:258 result = <value optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 4432795764488651344, 10326304, 140737488349008, 0, 0, -4432795765337505200, -4432776507508145584}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x1421c30, 0x7fffffffe758}, data = { prev = 0x0, cleanup = 0x0, canceltype = 21109808}}} not_first_call = <value optimized out> #11 0x00000000009d9149 in _start () ---Type <return> to continue, or q <return> to quit--- No symbol table info available. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
zerver (reporter) 2011-07-14 12:09 |
Okay, I guess the mutex has been destroyed before logOutput itself. I will try to relocate the mutex. |
zerver (reporter) 2011-07-14 18:39 |
https://github.com/spring/spring/commit/9bcc0b3bbb2636d9256e2fb390f74c7882424856 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-06 01:37 | abma | New Issue | |
2011-07-06 01:37 | abma | Graphics Card | => unknown |
2011-07-13 23:08 | abma | Relationship added | has duplicate 0002555 |
2011-07-14 12:09 | zerver | Note Added: 0007016 | |
2011-07-14 12:10 | zerver | Status | new => assigned |
2011-07-14 12:10 | zerver | Assigned To | => zerver |
2011-07-14 18:39 | zerver | Note Added: 0007024 | |
2011-07-14 18:39 | zerver | Status | assigned => resolved |
2011-07-14 18:39 | zerver | Fixed in Version | => 0.82.7+git |
2011-07-14 18:39 | zerver | Resolution | open => fixed |