View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004186 | Spring engine | General | public | 2013-12-02 10:08 | 2013-12-22 03:49 | ||||
Reporter | abma | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | crash | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 95.0.1+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004186: crash at exit in rts/System/Log/Backend.cpp:89 when called from static deinit | ||||||||
Description | Program terminated with signal 11, Segmentation fault. #0 0x0000000001f9e880 in ?? () The program being debugged is not being run. #0 0x0000000001f9e880 in ?? () No symbol table info available. #1 0x0000000000cd2689 in log_backend_record(const char *, int, const char *, typedef __va_list_tag __va_list_tag *) (section=0x1234d67 "", level=30, fmt=0x1234f40 "[ThreadPool::%s][1] #wanted=%d #current=%d", arguments=0x7fff2c4c6768) at ../../rts/System/Log/Backend.cpp:89 record = 0x8ccba60 "[ThreadPool::SetThreadCount][1] #wanted=0 #current=1" si = {_M_current = 0x85a4770} sinks = @0x18ef2e0: {<std::_Vector_base<void (*)(char const*, int, char const*), std::allocator<void (*)(char const*, int, char const*)> >> = {_M_impl = {<std::allocator<void (*)(char const*, int, char const*)>> = {<__gnu_cxx::new_allocator<void (*)(char const*, int, char const*)>> = {<No data fields>}, <No data fields>}, _M_start = 0x85a4770, _M_finish = 0x85a4780, _M_end_of_storage = 0x85a4790}}, <No data fields>} #2 0x0000000000cd4944 in log_filter_record(const char *, int, const char *, typedef __va_list_tag __va_list_tag *) (section=0x1234d67 "", level=30, fmt=0x1234f40 "[ThreadPool::%s][1] #wanted=%d #current=%d", arguments=0x7fff2c4c6768) at ../../rts/System/Log/DefaultFilter.cpp:175 __PRETTY_FUNCTION__ = "void log_filter_record(const char*, int, const char*, __va_list_tag*)" 0000003 0x0000000000cd4b1d in log_frontend_record (section=0x1234d67 "", level=30, fmt=0x1234f40 "[ThreadPool::%s][1] #wanted=%d #current=%d") at ../../rts/System/Log/DefaultFilter.cpp:211 __PRETTY_FUNCTION__ = "void log_frontend_record(const char*, int, const char*, ...)" arguments = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff2c4c6840, reg_save_area = 0x7fff2c4c6780}} 0000004 0x0000000000c83a3f in ThreadPool::SetThreadCount (num=0) at ../../rts/System/ThreadPool.cpp:220 curThreads = 1 __FUNCTION__ = "SetThreadCount" __PRETTY_FUNCTION__ = "void ThreadPool::SetThreadCount(int)" 0000005 0x0000000000c84f8a in do_once::~do_once (this=0x18e6759 <doOnce>, __in_chrg=<optimized out>) at ../../rts/System/ThreadPool.cpp:47 No locals. #6 0x00007fe63b0fc071 in __run_exit_handlers (status=0, listp=0x7fe63b4816a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77 atfct = <optimized out> onfct = <optimized out> cxafct = <optimized out> f = <optimized out> #7 0x00007fe63b0fc0f5 in __GI_exit (status=<optimized out>) at exit.c:99 No locals. #8 0x00007fe63b0e1dec in __libc_start_main (main=0xc2f200 <main(int, char**)>, argc=3, ubp_av=0x7fff2c4c6a48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2c4c6a38) at libc-start.c:294 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8495853879576141972, 5616256, 140733936593472, 0, 0, 8495743210534821740, 8490657440575479660}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x1165cd0 <__libc_csu_init>, 0x7fff2c4c6a48}, data = {prev = 0x0, cleanup = 0x0, canceltype = 18242768}}} not_first_call = <optimized out> #9 0x000000000055b2a9 in _start () | ||||||||
Additional Information | very likely introduced with the additional logging. imo this bug is exists since the new logging system was added. the logging-system crashes when log-messages are recorded at static de-init, (__run_exit_handlers in traceback) http://buildbot.springrts.com/builders/validationtests/builds/3862/steps/analyze%20core%20dumps_6/logs/stdio | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2013-12-02 12:52 |
https://github.com/spring/spring/blob/develop/rts/System/ThreadPool.cpp#L47 |
abma (administrator) 2013-12-02 14:19 |
https://github.com/spring/spring/commit/6d19a9e77998eb386e8e863da091acd34d14e459 fixed the cause for the crash |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-12-02 10:08 | abma | New Issue | |
2013-12-02 12:49 | abma | Additional Information Updated | View Revisions |
2013-12-02 12:49 | abma | Additional Information Updated | View Revisions |
2013-12-02 12:52 | abma | Note Added: 0012292 | |
2013-12-02 14:06 | Kloot | Relationship added | related to 0004053 |
2013-12-02 14:19 | abma | Note Added: 0012295 | |
2013-12-02 14:20 | abma | Target Version | 96.0 => |
2013-12-02 14:28 | abma | Summary | crash at exit in rts/System/Log/Backend.cpp:89 => crash at exit in rts/System/Log/Backend.cpp:89 when called from static deinit |
2013-12-22 03:49 | Kloot | Changeset attached | => spring release 88712156 |
2013-12-22 03:49 | Kloot | Assigned To | => Kloot |
2013-12-22 03:49 | Kloot | Status | new => resolved |
2013-12-22 03:49 | Kloot | Resolution | open => fixed |