On 12.03.23 00:35, Stefan Kropp wrote:
On Fri, Mar 10, 2023 at 03:45:38PM +0100, Lee Garrett wrote:
psi-plus currently simply segfaults on a stock bookworm installation:

$ psi-plus
[20230310 15:43:12] W:libpng warning: iCCP: known incorrect sRGB profile 
(unknown:0, unknown)
[20230310 15:43:12] W:libpng warning: iCCP: known incorrect sRGB profile 
(unknown:0, unknown)
[20230310 15:43:12] W:libpng warning: iCCP: known incorrect sRGB profile 
(unknown:0, unknown)
[20230310 15:43:12] W:libpng warning: iCCP: known incorrect sRGB profile 
(unknown:0, unknown)
Segmentation fault

On my bookworm system, I also get libpng warnings, but no segfault.

Maybe a backtrace in gdb can help to get more information.

the bug was originally reported by a user on IRC, and I could confirm that I'm seeing the same as them, so I'm assuming that some portion of users are affected (and it's not just something broken on my system). I think it should be reproducible in a minimal bookworm gnome VM.

backtrace below:

$ gdb psi-plus
GNU gdb (Debian 13.1-2) 13.1
Copyright (C) 2023 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from psi-plus...
(No debugging symbols found in psi-plus)
(gdb) run
Starting program: /usr/bin/psi-plus
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff16956c0 (LWP 102344)]
[New Thread 0x7ffff0e946c0 (LWP 102345)]
[New Thread 0x7fffebfff6c0 (LWP 102346)]
[New Thread 0x7fffeb7fe6c0 (LWP 102347)]
[New Thread 0x7fffeaffd6c0 (LWP 102348)]
[New Thread 0x7fffea7fc6c0 (LWP 102349)]
[New Thread 0x7fffe9ffb6c0 (LWP 102350)]
[Detaching after fork from child process 102351]
[Detaching after fork from child process 102352]
[Detaching after fork from child process 102354]
[Detaching after fork from child process 102355]
[Detaching after fork from child process 102357]
[New Thread 0x7fffe91ff6c0 (LWP 102358)]
[New Thread 0x7fffe89fe6c0 (LWP 102359)]
[20230322 14:39:21] W:libpng warning: iCCP: known incorrect sRGB profile (unknown:0, unknown) [20230322 14:39:21] W:libpng warning: iCCP: known incorrect sRGB profile (unknown:0, unknown) [20230322 14:39:21] W:libpng warning: iCCP: known incorrect sRGB profile (unknown:0, unknown) [20230322 14:39:21] W:libpng warning: iCCP: known incorrect sRGB profile (unknown:0, unknown)

Thread 1 "psi-plus" received signal SIGSEGV, Segmentation fault.
0x00007ffff7e94a4d in XInternAtoms () from /lib/x86_64-linux-gnu/libX11.so.6
(gdb) where
#0  0x00007ffff7e94a4d in XInternAtoms () from /lib/x86_64-linux-gnu/libX11.so.6
#1  0x0000555555918223 in X11WindowSystem::X11WindowSystem() ()
#2  0x0000555555918805 in X11WindowSystem::instance() ()
#3  0x00005555559e1884 in MainWin::MainWin(bool, bool, PsiCon*) ()
#4  0x00005555558b5ba2 in PsiCon::init() ()
#5  0x00005555559d36b6 in PsiMain::sessionStart() ()
#6 0x00007ffff70dd6f0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007ffff6362fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #8 0x00007ffff70b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007ffff70b4681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff710a153 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff551e7a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff551ea38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff551eacc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007ffff7109836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #15 0x00007ffff70b017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007ffff70b82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00005555557e4e95 in main ()
(gdb) list
1       ../sysdeps/unix/sysv/linux/dl-vdso-setup.c: No such file or directory.
(gdb)

Regards,
Lee

Reply via email to