View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001634 | Anope Stable (2.0.x series) | General | public | 2015-02-10 11:04 | 2016-02-13 20:47 |
Reporter | simos | Assigned To | Adam | ||
Priority | normal | Severity | crash | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0001634: Anope 2.0.1 sql_live Segfault | ||||
Description | This s the Backtrace: anope@Hub:~/services$ gdb bin/services core GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/anope/services/bin/services...done. [New LWP 17626] [New LWP 17627] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/anope/services/bin/services'. Program terminated with signal 11, Segmentation fault. #0 0x00007fec398dcf40 in std::string::find(std::string const&, unsigned long) const () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) bt full #0 0x00007fec398dcf40 in std::string::find(std::string const&, unsigned long) const () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 No symbol table info available. 0000001 0x0000000000502d73 in Anope::string::find (this=0x7fff6e2dfc80, _str=..., pos=0) at /home/anope/anope/include/anope.h:192 No locals. 0000002 0x00007fec3580704d in Fantasy::OnPrivmsg (this=0x1fcde20, u=0x21a64d0, c=0x23d10d0, msg=...) at /home/anope/anope/modules/fantasy.cpp:106 params = {<std::_Vector_base<Anope::string, std::allocator<Anope::string> >> = { _M_impl = {<std::allocator<Anope::string>> = {<__gnu_cxx::new_allocator<Anope::string>> = {<No data fields>}, <No data fields>}, _M_start = 0x23d10d0, _M_finish = 0x23d1178, _M_end_of_storage = 0x23d11d0}}, <No data fields>} cmd = {<Reference<Command>> = {<ReferenceBase> = {_vptr.ReferenceBase = 0x0, invalid = false}, ref = 0x0}, type = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}}, static npos = 18446744073709551615}, name = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}}, static npos = 18446744073709551615}} source = {nick = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}}, static npos = 18446744073709551615}, u = {<ReferenceBase> = {_vptr.ReferenceBase = 0x0, invalid = false}, ref = 0x0}, nc = {<ReferenceBase> = { _vptr.ReferenceBase = 0x0, invalid = false}, ref = 0x0}, reply = 0x0, c = {<ReferenceBase> = {_vptr.ReferenceBase = 0x0, invalid = false}, ref = 0x0}, service = {<ReferenceBase> = {_vptr.ReferenceBase = 0x0, invalid = false}, ref = 0x0}, command = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}}, static npos = 18446744073709551615}, permission = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}}, static npos = 18446744073709551615}} count = 0 info = @0x84cea8: {name = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1fe7d30 "p\261\005\002"}}, static npos = 18446744073709551615}, permission = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1fe8120 "\240\376\377\001"}}, static npos = 18446744073709551615}, group = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1fdf3e0 "P\351\374\001"}}, static npos = 18446744073709551615}, hide = 248, prepend_channel = 243} it = {_M_node = 0x0} ag = {<std::vector<ChanAccess*, std::allocator<ChanAccess*> >> = {<std::_Vector_base<ChanAccess*, std::allocator<ChanAccess*> >> = { _M_impl = {<std::allocator<ChanAccess*>> = {<__gnu_cxx::new_allocator<ChanAccess*>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, ci = 0x0, path = {first = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<ChanAccess const* const, ChanAccess const*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<ChanAccess const* const, ChanAccess const*> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<ChanAccess const*, ChanAccess const*, bool>> = {<No data fields>}, <No data fields>}, _M_header = { _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x0, _M_right = 0x0}, _M_node_count = 0}}}, second = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<ChanAccess const* const, ChanAccess const*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<ChanAccess const* const, ChanAccess const*> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<ChanAccess const*, ChanAccess const*, bool>> = {<No data fields>}, <No data fields>}, _M_header = { _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x0, _M_right = 0x0}, _M_node_count = 0}}}}, nc = 0x0, super_admin = false, founder = false} has_fantasia = 2 ---Type <return> to continue, or q <return> to quit--- MOD_RESULT = 32767 nc_reference = {<ReferenceBase> = {_vptr.ReferenceBase = 0x0, invalid = false}, ref = 0x0} 0000003 0x00000000005616e5 in Message::Privmsg::Run (this=0x1fb77a8, source=..., params=...) at /home/anope/anope/src/messages.cpp:317 _i = {_M_current = 0x1fe7d28} _modules = @0x84cea0: {<std::_Vector_base<Module*, std::allocator<Module*> >> = { _M_impl = {<std::allocator<Module*>> = {<__gnu_cxx::new_allocator<Module*>> = {<No data fields>}, <No data fields>}, _M_start = 0x1fe7d20, _M_finish = 0x1fe7d30, _M_end_of_storage = 0x1fe8120}}, <No data fields>} c = 0x23d10d0 receiver = @0x93387c0: {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfdaec68 "#Friend's_Time"}}, static npos = 18446744073709551615} message = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11208db8 "[17:02] <Alessia> intercettazione di comunicazioni informatiche e ... illecita di comunicazioni informatiche o telematiche), quinquies (Installazione di ... 617 quater c.p.)"}}, static npos = 18446744073709551615} u = 0x21a64d0 0000004 0x000000000059bdee in Anope::Process (buffer=...) at /home/anope/anope/src/process.cpp:73 command = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x25119898 "PRIVMSG"}}, static npos = 18446744073709551615} params = {<std::_Vector_base<Anope::string, std::allocator<Anope::string> >> = { _M_impl = {<std::allocator<Anope::string>> = {<__gnu_cxx::new_allocator<Anope::string>> = {<No data fields>}, <No data fields>}, _M_start = 0x93387c0, _M_finish = 0x93387d0, _M_end_of_storage = 0x93387d0}}, <No data fields>} proto_name = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1f1f288 "inspircd20"}}, static npos = 18446744073709551615} MOD_RESULT = EVENT_CONTINUE m = {<Reference<IRCDMessage>> = {<ReferenceBase> = {_vptr.ReferenceBase = 0x5e6450, invalid = false}, ref = 0x1fb77a8}, type = {_string = { static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x14540f68 "IRCDMessage"}}, static npos = 18446744073709551615}, name = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x358bae8 "inspircd20/privmsg"}}, static npos = 18446744073709551615}} source = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x15b7edf8 "018AAAAKZ"}}, static npos = 18446744073709551615} src = {source = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x15b7edf8 "018AAAAKZ"}}, static npos = 18446744073709551615}, u = 0x21a64d0, s = 0x0} 0000005 0x00000000005cab1a in UplinkSocket::ProcessRead (this=0x8126cc0) at /home/anope/anope/src/uplink.cpp:137 buf = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xc5210c8 ":018AAAAKZ PRIVMSG #Friend's_Time :[17:02] <Alessia> intercettazione di comunicazioni informatiche e ... illecita di comunicazioni informatiche o telematiche), quinquies (Installazione di ... 617 quat"...}}, static npos = 18446744073709551615} ---Type <return> to continue, or q <return> to quit--- b = true 0000006 0x00000000005c3123 in SocketEngine::Process () at /home/anope/anope/src/socketengines/socketengine_epoll.cpp:112 ev = @0xeefb710: {events = 1, data = {ptr = 0xe, fd = 14, u32 = 14, u64 = 14}} it = {_M_node = 0x2217d50} s = 0x8126d08 i = 0 total = 1 0000007 0x000000000055b229 in main (ac=1, av=0x7fff6e2e2de8, envp=0x7fff6e2e2df8) at /home/anope/anope/src/main.cpp:176 n = 20 last_check = 1423532174 updateTimer = {<Timer> = {_vptr.Timer = 0x5e1a30, owner = 0x0, settime = 1422513081, trigger = 1423532455, secs = 300, repeat = true}, <No data fields>} expireTimer = {<Timer> = {_vptr.Timer = 0x5e19f0, owner = 0x0, settime = 1422513081, trigger = 1423532404, secs = 1800, repeat = true}, <No data fields>} | ||||
Tags | No tags attached. | ||||
|
I believe this has been fixed in 2.0.3 |
|
a new crash, bt and bt full : anope@Hub:~/services$ gdb bin/services core GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/anope/services/bin/services...done. [New LWP 17733] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/anope/services/bin/services'. Program terminated with signal 11, Segmentation fault. #0 0x00000000005d7b11 in XLine::~XLine (this=0x11aa080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/anope/anope/src/xline.cpp:110 110 delete regex; (gdb) bt #0 0x00000000005d7b11 in XLine::~XLine (this=0x11aa080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/anope/anope/src/xline.cpp:110 0000001 0x00000000005d7d32 in XLine::~XLine (this=0x11aa080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/anope/anope/src/xline.cpp:112 0000002 0x00000000005d9683 in XLineManager::Clear (this=0x96fa88) at /home/anope/anope/src/xline.cpp:339 0000003 0x00007fddda87a40b in OperServCore::~OperServCore (this=0x96f8f0, __in_chrg=<optimized out>) at /home/anope/anope/modules/pseudoclients/operserv.cpp:199 0000004 0x00007fddda87a544 in OperServCore::~OperServCore (this=0x96f8f0, __in_chrg=<optimized out>) at /home/anope/anope/modules/pseudoclients/operserv.cpp:204 0000005 0x00007fddda8748f1 in AnopeFini (m=0x96f8f0) at /home/anope/anope/modules/pseudoclients/operserv.cpp:290 0000006 0x0000000000587e32 in ModuleManager::DeleteModule (m=0x96f8f0) at /home/anope/anope/src/modulemanager.cpp:384 0000007 0x0000000000587575 in ModuleManager::UnloadModule (m=0x96f8f0, u=0x0) at /home/anope/anope/src/modulemanager.cpp:312 0000008 0x00000000005886b9 in ModuleManager::UnloadAll () at /home/anope/anope/src/modulemanager.cpp:525 0000009 0x000000000055b573 in main (ac=1, av=0x7fff0da0f488, envp=0x7fff0da0f498) at /home/anope/anope/src/main.cpp:197 (gdb) bt full #0 0x00000000005d7b11 in XLine::~XLine (this=0x11aa080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/anope/anope/src/xline.cpp:110 No locals. 0000001 0x00000000005d7d32 in XLine::~XLine (this=0x11aa080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/anope/anope/src/xline.cpp:112 No locals. 0000002 0x00000000005d9683 in XLineManager::Clear (this=0x96fa88) at /home/anope/anope/src/xline.cpp:339 x = 0x11aa080 i = 0 0000003 0x00007fddda87a40b in OperServCore::~OperServCore (this=0x96f8f0, __in_chrg=<optimized out>) at /home/anope/anope/modules/pseudoclients/operserv.cpp:199 No locals. 0000004 0x00007fddda87a544 in OperServCore::~OperServCore (this=0x96f8f0, __in_chrg=<optimized out>) at /home/anope/anope/modules/pseudoclients/operserv.cpp:204 No locals. 0000005 0x00007fddda8748f1 in AnopeFini (m=0x96f8f0) at /home/anope/anope/modules/pseudoclients/operserv.cpp:290 No locals. 0000006 0x0000000000587e32 in ModuleManager::DeleteModule (m=0x96f8f0) at /home/anope/anope/src/modulemanager.cpp:384 handle = 0x96f330 filename = {_string = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x96f1f8 "lib/modules/operserv.so"}}, static npos = 18446744073709551615} destroy_func = 0x7fddda8748c7 <AnopeFini(OperServCore*)> err = 0x0 0000007 0x0000000000587575 in ModuleManager::UnloadModule (m=0x96f8f0, u=0x0) at /home/anope/anope/src/modulemanager.cpp:312 No locals. 0000008 0x00000000005886b9 in ModuleManager::UnloadAll () at /home/anope/anope/src/modulemanager.cpp:525 m = 0x96f8f0 i = 500 modules = {<std::_Vector_base<Anope::string, std::allocator<Anope::string> >> = {_M_impl = {<std::allocator<Anope::string>> = {<__gnu_cxx::new_allocator<Anope::string>> = {<No data fields>}, <No data fields>}, _M_start = 0x55a6670, _M_finish = 0x55a7740, _M_end_of_storage = 0x55a8670}}, <No data fields>} 0000009 0x000000000055b573 in main (ac=1, av=0x7fff0da0f488, envp=0x7fff0da0f498) at /home/anope/anope/src/main.cpp:197 n = 20 last_check = 1427354164 updateTimer = {<Timer> = {_vptr.Timer = 0x5e1a30, owner = 0x0, settime = 1427353669, trigger = 1427354271, secs = 300, repeat = true}, <No data fields>} expireTimer = {<Timer> = {_vptr.Timer = 0x5e19f0, owner = 0x0, settime = 1427353669, trigger = 1427355469, secs = 1800, repeat = true}, <No data fields>} (gdb) quit |
|
I have this issue too, it's critical, happens once every day or two. |
|
Sorry Anope version is 2.0.2 and not 2.0.1 |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-02-10 11:04 | simos | New Issue | |
2015-02-10 11:06 | simos | Note Added: 0006696 | |
2015-02-20 21:14 | Elephantman | Note Added: 0006699 | |
2015-03-26 09:24 | simos | Note Added: 0006725 | |
2016-02-13 20:47 | Adam | Note Added: 0006782 | |
2016-02-13 20:47 | Adam | Status | new => resolved |
2016-02-13 20:47 | Adam | Resolution | open => fixed |
2016-02-13 20:47 | Adam | Assigned To | => Adam |