Fluxbox crashes when I'm not even at my computer. The only other program running is pidgin-2.10.10 . It may be related. A backtrace is pasted below:
(gdb) bt full #0 0xb772bc6c in __kernel_vsyscall () No symbol table info available. #1 0xb7231ac2 in raise () from /lib/libc.so.6 No symbol table info available. #2 0xb72332ac in abort () from /lib/libc.so.6 No symbol table info available. #3 0x080d0df5 in (anonymous namespace)::handleSignal (signum=11) at src/main.cc:134 i18n = @0x817e308: { m_locale = "C\000la\030\000\000\000\031\000\000\000\a\000\000\000\a\000\000\000\000\000\000\000iconify\000!\000\000\000\001\000\000\000h@[\b0B[\b\020A[\b\354A[\b`k\006\bow\000\000!\000\000\000\000\000\000\000\360@[\b\000\000\000\000\000\000\000\000<A[\b`k\006\bow\000\000!\000\000\000\016\000\000\000\016\000\000\000\000\000\000\000maximizewindow\000\000!\000\000\000\001\000\000\000hB[\b\210O[\b\250E[\b|A[\b`k\006\b\000\000\000\000!\000\000\000\b\000\000\000\b\000\000\000\000\000\000\000maximize\000\000\000\000\000\000\000\000\031\000\000\000\300h[\b"..., m_multibyte = false, m_utf8_translate = false} re_enter = 0 #4 <signal handler called> No symbol table info available. #5 0xb7459ac3 in std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) () from /usr/lib/gcc/i686-pc-linux-gnu/4.8.3/libstdc++.so.6 No symbol table info available. #6 0x0810a1e8 in _M_erase_aux (__position=..., this=0x817e1e0 <FbTk::EventManager::instance()::ev>) at /usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include/g++-v4/bits/stl_tree.h:1745 __y = <optimized out> #7 erase (__position=..., this=0x817e1e0 <FbTk::EventManager::instance()::ev>) at /usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include/g++-v4/bits/stl_tree.h:830 No locals. #8 _M_erase_aux (__last=..., __first=..., this=0x817e1e0 <FbTk::EventManager::instance()::ev>) at /usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include/g++-v4/bits/stl_tree.h:1760 No locals. #9 erase (__last=..., __first=..., this=0x817e1e0 <FbTk::EventManager::instance()::ev>) at /usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include/g++-v4/bits/stl_tree.h:848 No locals. #10 std::_Rb_tree<unsigned long, std::pair<unsigned long const, FbTk::EventHandler*>, std::_Select1st<std::pair<unsigned long const, FbTk::EventHandler*> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, FbTk::EventHandler*> > >::erase (this=this@entry=0x817e1e0 <FbTk::EventManager::instance()::ev>, __x=@0xbf862a34: 10485938) at /usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include/g++-v4/bits/stl_tree.h:1771 __p = {first = <error reading variable> #11 0x08109c30 in erase (__x=@0xbf862a34: 10485938, this=0x817e1e0 <FbTk::EventManager::instance()::ev>) at /usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include/g++-v4/bits/stl_map.h:727 No locals. #12 FbTk::EventManager::unregisterEventHandler (this=0x817e1e0 <FbTk::EventManager::instance()::ev>, win=win@entry=10485938) at src/FbTk/EventManager.cc:137 No locals. #13 0x0810e654 in remove (win=10485938, this=<optimized out>) at src/FbTk/EventManager.hh:46 No locals. #14 FbTk::FbWindow::~FbWindow (this=0x8671a70, __in_chrg=<optimized out>) at src/FbTk/FbWindow.cc:144 No locals. #15 0x08105b47 in SystemTray::~SystemTray (this=0x86719c0, __in_chrg=<optimized out>) at src/SystemTray.cc:216 No locals. #16 0x08105f20 in SystemTray::~SystemTray (this=0x86719c0, __in_chrg=<optimized out>) at src/SystemTray.cc:234 No locals. #17 0x080f9cc5 in Toolbar::deleteItems (this=this@entry=0x86685f8) at src/Toolbar.cc:982 No locals. #18 0x080fbe8d in Toolbar::~Toolbar (this=0x86685f8, __in_chrg=<optimized out>) at src/Toolbar.cc:286 No locals. #19 0x080fc940 in Toolbar::~Toolbar (this=0x86685f8, __in_chrg=<optimized out>) at src/Toolbar.cc:291 No locals. #20 0x0809c992 in reset (__p=0x0, this=0x85e7488) at /usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include/g++-v4/backward/auto_ptr.h:244 No locals. #21 BScreen::~BScreen (this=0x85e72c8, __in_chrg=<optimized out>) at src/Screen.cc:394 ---Type <return> to continue, or q <return> to quit--- evm = <optimized out> tmp = std::list = {[0] = 0x0<error reading variable: Cannot access memory at address 0x1>...} #22 0x0809d4e0 in BScreen::~BScreen (this=0x85e72c8, __in_chrg=<optimized out>) at src/Screen.cc:447 No locals. Python Exception <type 'exceptions.IndexError'> list index out of range: #23 0x080cc707 in destroyAndClear<std::list<BScreen*> > (a=std::list) at src/FbTk/STLUtil.hh:55 it = #24 Fluxbox::~Fluxbox (this=0x85d9690, __in_chrg=<optimized out>) at src/fluxbox.cc:481 No locals. #25 0x080ccbb0 in Fluxbox::~Fluxbox (this=0x85d9690, __in_chrg=<optimized out>) at src/fluxbox.cc:484 No locals. #26 0xb7234a87 in ?? () from /lib/libc.so.6 No symbol table info available. #27 0xb7234af0 in exit () from /lib/libc.so.6 No symbol table info available. #28 0x080c6fa3 in (anonymous namespace)::handleXIOErrors (d=0x85d58d0) at src/fluxbox.cc:165 No locals. #29 0xb7533457 in _XIOError () from /usr/lib/libX11.so.6 No symbol table info available. #30 0xb753123e in _XReply () from /usr/lib/libX11.so.6 No symbol table info available. #31 0xb7515294 in XGetGeometry () from /usr/lib/libX11.so.6 No symbol table info available. #32 0x0810ad29 in FbTk::FbPixmap::copy (this=this@entry=0x86932f0, pm=11903305, depth=depth@entry=0, screen_num=screen_num@entry=0) at src/FbTk/FbPixmap.cc:186 root = 1067289049 y = 13 new_width = 141368432 new_height = 135549256 gc = <optimized out> x = 14 border_width = 0 bpp = 135550008 #33 0x08081e26 in IconButton::refreshEverything (this=0x86931b8, setup=false) at src/IconButton.cc:213 screen = <optimized out> #34 0x08109187 in FbTk::Container::repositionItems (this=0x8686b34) at src/FbTk/Container.cc:407 next_x = 136 tmpw = <optimized out> max_width_per_client = 135 rounding_error = 1 tmpx = 136 tmph = <optimized out> num_items = <optimized out> total_width = 682 cur_width = 682 direction = <optimized out> tmpy = -1 height = 15 it = Python Exception <type 'exceptions.ValueError'> Cannot find type const std::list<FbTk::Button*, std::allocator<FbTk::Button*> >::iterator::_Node: it_end = extra = 1 #35 0x08109468 in FbTk::Container::moveResize (this=this@entry=0x8686b34, x=x@entry=0, y=0, width=width@entry=682, height=height@entry=15) at src/FbTk/Container.cc:65 ---Type <return> to continue, or q <return> to quit--- No locals. #36 0x08074442 in FbWinFrame::reconfigureTitlebar (this=this@entry=0x8686a84) at src/FbWinFrame.cc:1031 orig_height = <optimized out> title_height = <optimized out> next_x = 0 space_left = <optimized out> #37 0x080745c3 in FbWinFrame::reconfigure (this=this@entry=0x8686a84) at src/FbWinFrame.cc:864 grav_x = 0 grav_y = 0 orig_handle_h = <optimized out> #38 0x0807597e in reconfigure (this=0x8686a84) at src/FbWinFrame.cc:844 No locals. #39 FbWinFrame::applyDecorations (this=this@entry=0x8686a84, do_move=do_move@entry=true) at src/FbWinFrame.cc:1357 grav_x = 0 grav_y = 0 client_move = false #40 0x080b2fce in FluxboxWindow::themeReconfigured (this=0x86866d0) at src/Window.cc:2639 No locals. #41 0x0808320f in FbTk::Signal<FbTk::SigImpl::EmptyArg, FbTk::SigImpl::EmptyArg, FbTk::SigImpl::EmptyArg>::emit (this=0x86869e8) at src/FbTk/Signal.hh:210 it = {m_data = , m_refcount = } #42 0x080aefcb in emit (arg=..., this=0x8686724) at src/FbTk/Signal.hh:185 it = {m_data = , m_refcount = } #43 Focusable::setAttentionState (this=0x86866d0, value=true) at src/Focusable.hh:66 No locals. #44 0x080ad89d in WinClient::setAttentionState (this=0x8692ed0, value=true) at src/WinClient.cc:547 value = true this = 0x8692ed0 #45 0x080575b3 in (anonymous namespace)::ToggleFrameFocusCmd::execute (this=0x86d5080) at src/AttentionNoticeHandler.cc:40 No locals. #46 0x08133642 in fireTimeout (this=0x8690110) at src/FbTk/Timer.cc:147 No locals. #47 FbTk::Timer::updateTimers (fd=6) at src/FbTk/Timer.cc:216 timer = @0x8690110: {m_handler = {m_data = 0x86d5080, m_refcount = 0x86bea60}, m_once = false, m_interval = 0, m_start = 372361781857, m_timeout = 333000} tout = <optimized out> timeouts = std::vector of length 1, capacity 4 = {0x0} i = 0 rfds = {fds_bits = {0 <repeats 32 times>}} tm = {tv_sec = 0, tv_usec = 0} t = <optimized out> now = <optimized out> #48 0x080c8373 in Fluxbox::eventLoop (this=0x85d9690) at src/fluxbox.cc:542 No locals. #49 0x08052529 in main (argc=3, argv=0xbf863484) at src/main.cc:211 opts = {session_display = ":0", rc_path = "/home/mark/.fluxbox", rc_file = "/home/mark/.fluxbox/init", log_filename = "/home/mark/.fluxbox/log", xsync = false} errbuf = <optimized out> i18n = <optimized out> exitcode = 1 outbuf = <optimized out> log_file = <incomplete type> restarting = <optimized out> ---Type <return> to continue, or q <return> to quit--- restart_argument = <error reading variable: Cannot access memory at address 0xfffffff3>
Diff:
Segfaults because of trying to exit on XIOerror (no good idea, see eg. https://bugs.kde.org/show_bug.cgi?id=112960#c12 )
Question remains on why ther IOError occurred itfp.
Usually this means the X server crashed.
If this is still a problem, one should check on that.
=> Did the X server survive those crashes?
Otherwise the bug can more or less be closed.
Crashing in return of an XIOerror (for an X11 crash) isn't nice, but not a critical bug per se (the problem is the crashing X server, it takes fluxbox down anyway - whether the latter segfaults or not)
I don't leave my computer on all the time anymore, so I don't really know
if it still happens. Also, my git checkout is so old that it wouldn't give
any valuable information. However, it definitely did not result from an X
server crash, since it was still running after these crashes (my
.fluxbox/startup restarts fluxbox when it crashes).
Thanks for all the recent work!
Mark
On Mon, Jul 25, 2016 at 2:20 PM, Thomas Luebking <baghira-style@users.sf.net
Related
Bugs: #1126
Then the server cuts the line because of an assaulting request from fluxbox (typically HUUUUGE image upload, but could plenty of things)
Interestingly, this seems to happen when some client goes urgent - from the description (and by its nature) this will be pidgin.
Does this cause trouble?
(I've no idea whether pidgin is WM_CLASS for pidgin, so ensure this really sets the client urgent)
The used theme might be of relevance as well.
And the "DemandsAttentionTimeout" value in your ~/.fluxbox/init =)