#1064250 bbpager segfaults after a while of use

Package:
bbpager
Source:
bbpager
Description:
Pager for the blackbox and fluxbox window managers
Submitter:
C. Petersen
Date:
2024-02-19 02:03:03 UTC
Severity:
normal
#1064250#5
Date:
2024-02-19 01:59:25 UTC
From:
To:
Dear Maintainer,


bbpager, wether started seperately or from /home/me/.fluxbox/startup segfaults
after a while of not being idle. This is true for the package from the
repository or one built from debian source.


(gdb):
#0  std::_List_iterator<PagerWindow*>::operator++ (this=0x7fffffffdac0)
    at /usr/include/c++/12/bits/stl_list.h:297
        __tmp = <error reading variable: Cannot access memory at address
0xa3bb39c26ea876ba>
#1  0x0000555555564ee6 in WMInterface::updateWindowList (this=0x5555555eb1c0)
at ./src/wminterface.cxx:84
        it = 49
        it_end = 49
        pit = <error reading variable: Cannot access memory at address
0xa3bb39c26ea876ba>
        pit_end = 0x2
        window_vect = std::vector of length 3, capacity 3 = {25165838,
27262990, 29360132}
        pwindow = 0x5555555b0b30
#2  0x00005555555653fc in WMInterface::propertyNotifyEvent
(this=0x5555555eb1c0, event=0x7fffffffdbc0)
    at ./src/wminterface.cxx:185
No locals.
#3  0x00007ffff7e465b0 in bt::Application::run() () from /lib/x86_64-linux-
gnu/libbt.so.0
No symbol table info available.
#4  0x000055555555e9a2 in main (argc=1, argv=0x7fffffffe168) at
./src/main.cxx:112
        bbpager = {<bt::Application> = {<No data fields>}, resource =
0x5555555e5620, desktop_nr = 4,
          wminterface = 0x5555555eb1c0, root_window = 963, pager_window_list =
std::__cxx11::list = {
            [0] = 0x5555555b2950, [1] = 0x5555555b0b30}, desktop_window_list =
std::__cxx11::list = {
            [0] = 0x5555555b0d40, [1] = 0x5555555ea1a0, [2] = 0x5555555ffa10,
[3] = 0x5555555ffc60},
          wm_init = false, number_of_desktops = 4, current_desktop_nr = 2,
iargv = 0x0, iargc = 0,
          row_last = 0, column_last = 0, _ewmh = 0x5555555b93d0,
xa_wm_delete_window = 338,
          xa_wm_state = 389, current_screen_info = @0x555555587340,
current_screen = 0,
          frame_window = 0x5555555ef300, config = @0x7fffffffdda0}
        i = 1
        options = {withdrawn = false, decorated = false, shape = false, _argc =
1, _argv = 0x7fffffffe168,
          _geometry = "", rc_filename = "", blackbox_rc_filename = "", app_name
= "/usr/bin/bbpager",
          display_name = ""}

coredump:

Message: Process 140913 (bbpager) of user 1000 dumped core.

                Stack trace of thread 140913:
                #0  0x000055f7f1d3c918
_ZNSt14_List_iteratorIP11PagerWindowEppEi (bbpager + 0x8918)
                #1  0x000055f7f1d44ee6 _ZN11WMInterface16updateWindowListEv
(bbpager + 0x10ee6)
                #2  0x000055f7f1d453fc
_ZN11WMInterface19propertyNotifyEventEPK14XPropertyEvent (bbpager + 0x113fc)
                #3  0x00007fabc86df5b0 _ZN2bt11Application3runEv (libbt.so.0 +
0x115b0)
                #4  0x000055f7f1d3e9a2 main (bbpager + 0xa9a2)
                #5  0x00007fabc824624a __libc_start_call_main (libc.so.6 +
0x2724a)
                #6  0x00007fabc8246305 __libc_start_main_impl (libc.so.6 +
0x27305)
                #7  0x000055f7f1d39791 _start (bbpager + 0x5791)
                ELF object binary architecture: AMD x86-64

earlier strace (with the package from Debian):
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\24\0\6\0\303\3\0\0W\1\0\0!\0\0\0\0\0\0\0\1\0\0\0",
iov_len=24}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 24
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1
7\n\1\0\0\0!\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}],
msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 36
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Die Ressource ist zur Zeit
nicht verfügbar)
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Die Ressource ist zur Zeit
nicht verfügbar)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\16\0\2\0\3\0`\2", iov_len=8}, {iov_base=NULL,
iov_len=0}, {iov_base="", iov_len=0}], 3) = 8
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="\0\t8\n\3\0`\2\0\0\16\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3,
[{iov_base="\f\0\7\0\232\0\0\2\17\0\0\0\21\0\0\0\21\0\0\0\23\0\0\0\4\0\0\0\f\0\4\0"...,
iov_len=112}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 112
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="\f\09\n\232\0\0\2\0\0\0\0\23\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="\f\0:\n\20\0\0\2$\0\21\0\2\0\4\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 132
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Die Ressource ist zur Zeit
nicht verfügbar)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\24\0\6\0\303\3\0\0\272\1\0\0!\0\0\0\0\0\0\0\30\0\0\0",
iov_len=24}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 24
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1
msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Die Ressource ist zur Zeit
nicht verfügbar)
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Die Ressource ist zur Zeit
nicht verfügbar)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=NULL} ---
+++ killed by SIGSEGV +++

Machine is a dual core Intel Core i5-3210M (Macmini6,1) - otherwise ok/no known
problems