[Bug 264696] x11-wm/fluxbox: Occasional crashes during suspend/resume under Lumina desktop

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 Jun 2022 17:07:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264696

            Bug ID: 264696
           Summary: x11-wm/fluxbox: Occasional crashes during
                    suspend/resume under Lumina desktop
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jgh@FreeBSD.org
          Reporter: jwb@freebsd.org
             Flags: maintainer-feedback?(jgh@FreeBSD.org)
          Assignee: jgh@FreeBSD.org

Fluxbox occasionally dumps a core when laptops running Lumina desktop are
closed and reopned.  It may also be crashing at other times, but I believe
Lumina has a workaround for this and restarts it immediately, so the crash may
go unnoticed.

I built fluxbox using WITH_DEBUG=yes a while back and was able to capture a
backtrace:

(lldb) target create "/usr/local/bin/fluxbox" --core "fluxbox.core"
Core file '/home/bacon/fluxbox.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'fluxbox', stop reason = signal SIGABRT
  * frame #0: 0x00000008009ff33a libc.so.7`__sys_thr_kill + 10
    frame #1: 0x0000000800977c74 libc.so.7`__raise + 52
    frame #2: 0x0000000800a29109 libc.so.7`abort + 73
    frame #3: 0x000000000037664d fluxbox`(anonymous
namespace)::handleSignal(signum=11) at main.cc:98:9
    frame #4: 0x00000008008b4580 libthr.so.3`___lldb_unnamed_symbol672 + 208
    frame #5: 0x00000008008b3b3f libthr.so.3`___lldb_unnamed_symbol653 + 319
    frame #6: 0x00007ffffffff8a3 [vdso]
    frame #7: 0x0000000800a40f91 libc.so.7`___lldb_unnamed_symbol5276 + 801
    frame #8: 0x00000008006a8ff8 libX11.so.6`_XFreeAtomTable + 56
    frame #9: 0x00000008006aed3a libX11.so.6`_XFreeDisplayStructure + 250
    frame #10: 0x0000000800699c20 libX11.so.6`XCloseDisplay + 240
    frame #11: 0x00000000003bd107
fluxbox`FbTk::App::~App(this=0x000000080108ca00) at App.cc:69:9
    frame #12: 0x0000000000368106
fluxbox`Fluxbox::~Fluxbox(this=0x000000080108ca00) at fluxbox.cc:485:1
    frame #13: 0x0000000000368249
fluxbox`Fluxbox::~Fluxbox(this=0x000000080108ca00) at fluxbox.cc:473:21
    frame #14: 0x000000000037692b
fluxbox`std::__1::auto_ptr<Fluxbox>::~auto_ptr(this=0x000000000041d3c8) at
auto_ptr.h:49:54
    frame #15: 0x0000000800a2955a libc.so.7`__cxa_finalize + 362
    frame #16: 0x0000000800a29ae1 libc.so.7`exit + 33
    frame #17: 0x000000000036716f fluxbox`(anonymous
namespace)::handleXIOErrors(d=0x000000080109b000) at fluxbox.cc:165:5
    frame #18: 0x00000008006c1cae libX11.so.6`_XIOError + 94
    frame #19: 0x00000008006c0353 libX11.so.6`_XReply + 915
    frame #20: 0x00000008006b4c87 libX11.so.6`XQueryColor + 103
    frame #21: 0x00000000003d71fb
fluxbox`FbTk::XftFontImp::drawText(this=0x0000000801055760,
w=0x0000000801115200, screen=0, gc=0x0000000801096a00, text="LuminaPanel",
len=11, x=761, y=11, orient=ROT0) at XftFontImp.cc:126:5
    frame #22: 0x00000000003d3873
fluxbox`FbTk::Font::drawText(this=0x00000008010ee260, w=0x0000000801115200,
screen=0, gc=0x0000000801096a00, text="LuminaPanel", len=11, x=761, y=11,
orient=ROT0) const at Font.cc:288:16
    frame #23: 0x0000000000405bce
fluxbox`FbTk::TextButton::drawText(this=0x0000000801115200, x_offset=1,
y_offset=0, drawable=0x0000000801115200) at TextButton.cc:184:12                
    frame #24: 0x00000000002ff0a0
fluxbox`IconButton::drawText(this=0x0000000801115200, x=0, y=0,
drawable=0x0000000801115200) at IconButton.cc:258:27
    frame #25: 0x0000000000405939
fluxbox`FbTk::TextButton::renderForeground(this=0x0000000801115200,
win=0x0000000801115200, drawable=0x0000000801115200) at TextButton.cc:117:5     
    frame #26: 0x00000000003ce4f7
fluxbox`FbTk::FbWindow::clear(this=0x0000000801115200) at FbWindow.cc:281:21
    frame #27: 0x00000000003ce54c
fluxbox`FbTk::FbWindow::clearArea(this=0x0000000801115200, x=0, y=0,
width=1591, height=15, exposures=false) at FbWindow.cc:290:19                   
    frame #28: 0x00000000004058c0
fluxbox`FbTk::TextButton::clearArea(this=0x0000000801115200, x=0, y=0,
width=1591, height=15, exposure=false) at TextButton.cc:107:13
    frame #29: 0x00000000002fefa0
fluxbox`IconButton::clearArea(this=0x0000000801115200, x=0, y=0, width=1591,
height=15, exposure=false) at IconButton.cc:132:23                              
    frame #30: 0x0000000000405d5d
fluxbox`FbTk::TextButton::exposeEvent(this=0x0000000801115200,
event=0x00007fffffffe2a8) at TextButton.cc:206:5
    frame #31: 0x00000000002febdb
fluxbox`IconButton::exposeEvent(this=0x0000000801115200,
event=0x00007fffffffe2a8) at IconButton.cc:80:27
    frame #32: 0x00000000003c32cb
fluxbox`FbTk::Container::tryExposeEvent(this=0x00000008010e10d8,
event=0x00007fffffffe2a8) at Container.cc:259:12
    frame #33: 0x00000000002e73da
fluxbox`FbWinFrame::exposeEvent(this=0x00000008010e0fa8,
event=0x00007fffffffe2a8) at FbWinFrame.cc:805:29
    frame #34: 0x000000000034d9e6
fluxbox`FluxboxWindow::exposeEvent(this=0x00000008010e0a00,
ee=0x00007fffffffe2a8) at Window.cc:2165:13
    frame #35: 0x00000000003c5f51
fluxbox`FbTk::EventManager::dispatch(this=0x000000000041db40, win=10485991,
ev=0x00007fffffffe2a8, parent=false) at EventManager.cc:179:17                  
    frame #36: 0x00000000003c5da7
fluxbox`FbTk::EventManager::handleEvent(this=0x000000000041db40,
ev=0x00007fffffffe2a8) at EventManager.cc:48:5
    frame #37: 0x0000000000368e91
fluxbox`Fluxbox::handleEvent(this=0x000000080108ca00, e=0x00007fffffffe2a8) at
fluxbox.cc:617:37
    frame #38: 0x0000000000368993
fluxbox`Fluxbox::eventLoop(this=0x000000080108ca00) at fluxbox.cc:540:17
    frame #39: 0x00000000003757e8 fluxbox`main(argc=4, argv=0x00007fffffffe9e8)
at main.cc:211:18
    frame #40: 0x00000000002a5790 fluxbox`_start(ap=<unavailable>,
cleanup=<unavailable>) at crt1_c.c:75:7

-- 
You are receiving this mail because:
You are the assignee for the bug.