[Pkg-matrix-maintainers] Bug#1087415: nheko: Segfault after running for a few days

Val Lorentz progval at progval.net
Wed Nov 13 07:30:47 GMT 2024


Package: nheko
Version: 0.11.3-2
Severity: normal

Dear maintainer,


I run two instances of nheko, and both of them occasionally crash, 
though not necessarily at the same time.

It always happens in a pipewire-related thread. Here is the stack trace 
from gdb:

Thread 38 "pipewire-main-l" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff593fd6c0 (LWP 503613)]
0x00007fffdffb5401 in resync (self=0xb8f) at 
../src/gst/gstpipewiredeviceprovider.c:293
Download failed: Argument invalide.  Continuing without source file 
./obj-x86_64-linux-gnu/../src/gst/gstpipewiredeviceprovider.c.
293	../src/gst/gstpipewiredeviceprovider.c: No such file or directory.
(gdb) bt
BFD: reopening 
/usr/lib/debug/.build-id/30/f067a5eccdb3bdce0b9ec7638ebd86992b9c8b.debug: 
No such file or directory
warning: Can't read data for section '.debug_loclists' in file 
'/usr/lib/debug/.build-id/30/f067a5eccdb3bdce0b9ec7638ebd86992b9c8b.debug'
#0  0x00007fffdffb5401 in resync (self=0xb8f) at 
../src/gst/gstpipewiredeviceprovider.c:293
#1  0x00007fffdffb55f6 in port_event_info (data=0x7fff3c03fa68, 
info=0x7fff593fae00) at ../src/gst/gstpipewiredeviceprovider.c:349
#2  0x00007fffd853abee in port_demarshal_info (data=<optimized out>, 
msg=<optimized out>) at 
../src/modules/module-protocol-native/protocol-native.c:1372
#3  0x00007fffd8537404 in process_remote 
(impl=impl at entry=0x555556bfe950) at 
../src/modules/module-protocol-native.c:966
#4  0x00007fffd8537a78 in on_remote_data (data=0x555556bfe950, fd=63, 
mask=1) at ../src/modules/module-protocol-native.c:1000
#5  0x00007fffdff80ece in loop_iterate (object=0x555556bde788, 
timeout=-1) at ../spa/plugins/support/loop.c:452
#6  0x00007fffc0db2b4a in do_loop (user_data=0x555556bde580) at 
../src/pipewire/thread-loop.c:253
#7  0x00007ffff4ca8144 in start_thread (arg=<optimized out>) at 
./nptl/pthread_create.c:442
#8  0x00007ffff4d287dc in clone3 () at 
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
#9  0x0000000000000000 in  ()



And here is the stack it printed on a previous crash, without gdb:

Error: signal
nheko(_Z17stacktraceHandleri+0x37)[0x55b4d98561d7]
/lib/x86_64-linux-gnu/libc.so.6(+0x3c050)[0x7fb2cde5b050]
/lib/x86_64-linux-gnu/libc.so.6(+0x8ae3c)[0x7fb2cdea9e3c]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x12)[0x7fb2cde5afb2]
nheko(_Z17stacktraceHandleri+0xdb)[0x55b4d985627b]
/lib/x86_64-linux-gnu/libc.so.6(+0x3c050)[0x7fb2cde5b050]
/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpipewire.so(+0x1d401)[0x7fb2a87ef401]
/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpipewire.so(+0x1d5f6)[0x7fb2a87ef5f6]
/usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-protocol-native.so(+0x1abee)[0x7fb2754d3bee]
/usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-protocol-native.so(+0x17404)[0x7fb2754d0404]
/usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-protocol-native.so(+0x17a78)[0x7fb2754d0a78]
/usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so(+0x8ece)[0x7fb2a87baece]
/lib/x86_64-linux-gnu/libpipewire-0.3.so.0(+0xa5b4a)[0x7fb2755b2b4a]
/lib/x86_64-linux-gnu/libc.so.6(+0x89144)[0x7fb2cdea8144]
/lib/x86_64-linux-gnu/libc.so.6(+0x1097dc)[0x7fb2cdf287dc]



-- System Information:
Debian Release: 12.8
   APT prefers stable-security
   APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 
'stable'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-26-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE 
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nheko depends on:
ii  gstreamer1.0-nice                   0.1.21-1
ii  gstreamer1.0-qt5                    1.22.0-5+deb12u1
ii  libc6                               2.36-9+deb12u9
ii  libcmark0.30.2                      0.30.2-6
ii  libcpp-httplib0.11                  0.11.4+ds-1+deb12u1
ii  libcurl4                            7.88.1-10+deb12u8
ii  libevent-core-2.1-7                 2.1.12-stable-8
ii  libevent-pthreads-2.1-7             2.1.12-stable-8
ii  libfmt9                             9.1.0+ds1-2
ii  libgcc-s1                           13.2.0-1
ii  libglib2.0-0                        2.74.6-2+deb12u4
ii  libgstreamer-plugins-bad1.0-0       1.22.0-4+deb12u5
ii  libgstreamer-plugins-base1.0-0      1.22.0-3+deb12u2
ii  libgstreamer1.0-0                   1.22.0-2
ii  liblmdb0                            0.9.24-1
ii  libolm3                             3.2.13~dfsg-1
ii  libqt5core5a                        5.15.8+dfsg-11+deb12u2
ii  libqt5dbus5                         5.15.8+dfsg-11+deb12u2
ii  libqt5gui5                          5.15.8+dfsg-11+deb12u2
ii  libqt5keychain1                     0.13.2-5
ii  libqt5multimedia5                   5.15.8-2
ii  libqt5multimedia5-plugins           5.15.8-2
ii  libqt5network5                      5.15.8+dfsg-11+deb12u2
ii  libqt5qml5                          5.15.8+dfsg-3
ii  libqt5quick5                        5.15.8+dfsg-3
ii  libqt5svg5                          5.15.8-3
ii  libqt5widgets5                      5.15.8+dfsg-11+deb12u2
ii  libre2-9                            20220601+dfsg-1+b1
ii  libspdlog1.10 [libspdlog1.10-fmt9]  1:1.10.0+ds-0.4
ii  libssl3                             3.0.15-1~deb12u1
ii  libstdc++6                          13.2.0-1
ii  libxcb-ewmh2                        0.4.1-1.1
ii  libxcb1                             1.15-1
ii  qml-module-qt-labs-animation        5.15.8+dfsg-3
ii  qml-module-qt-labs-platform         5.15.8+dfsg-2
ii  qml-module-qt-labs-settings         5.15.8+dfsg-3
ii  qml-module-qtgraphicaleffects       5.15.8-2
ii  qml-module-qtmultimedia             5.15.8-2
ii  qml-module-qtquick-controls2        5.15.8+dfsg-2
ii  qml-module-qtquick-layouts          5.15.8+dfsg-3
ii  qml-module-qtquick-particles2       5.15.8+dfsg-3
ii  qml-module-qtquick-window2          5.15.8+dfsg-3
ii  qml-module-qtquick2                 5.15.8+dfsg-3

Versions of packages nheko recommends:
ii  ca-certificates            20230311
ii  fonts-noto-color-emoji     2.042-0+deb12u1
ii  kimageformat-plugins       5.103.0-2
ii  qt5-image-formats-plugins  5.15.8-2

Versions of packages nheko suggests:
ii  gstreamer1.0-vaapi  1.22.0-2

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-matrix-maintainers/attachments/20241113/ff21f395/attachment.sig>


More information about the Pkg-matrix-maintainers mailing list