Bug#1068680: din: Process 166294 (din) of user 1000 dumped core

2024-04-24 Thread Bernhard Übelacker

Hello Cláudio,
I am not maintainer of the din package, just reading through some crash reports.

Unfortunately I cannot follow your claim "The crash occurred in the module 
libzstd.so.1".
None of the 5 threads show a frame inside libzstd.
It seems just listed in the Module list.

Thread 166294 shows all the last frames in the din executable,
all other visible threads may just be "waiting", therefore the epoll_wait frame.

I would suggest to install systemd-coredump and gdb if not happened yet.

If it was, following sequence of command should enable the debugger to load
debug information for involved executables and print out function names
with source file and line number information.

export DEBUGINFOD_URLS="https://debuginfod.debian.net;
coredumpctl gdb 166294
  y
  thread apply all bt full
  quit

This downloads several megabytes into $HOME/.cache/debuginfod_client.

And would show way more details for the maintainer to look at.


I tried to reconstruct the line information to your first thread,
which I suspect is the crashing one.


More information about debugging crashes can be found in this page:
https://wiki.debian.org/HowToGetABacktrace

Kind regards,
Bernhard




Stack trace of thread 166294:
#0  0x5617dbae42ab n/a (din + 0xc02ab)in font::draw_char(char, int, 
int, int) at ./src/font.cc:203
#1  0x5617dbae4a75 n/a (din + 0xc0a75)in draw_string(std::__cxx11::basic_string, std::allocator > const&, int, int, int) at 
./src/font.cc:220
#2  0x5617dba8c2e4 n/a (din + 0x682e4)in options_list::draw() at 
./src/options_list.h:93
#3  0x5617dbb73b55 n/a (din + 0x14fb55)   in settings::draw() at 
./src/settings.cc:281
#4  0x5617dbb8aab0 n/a (din + 0x166ab0)   in ui_list::draw() at 
./src/ui.cc:151
#5  0x5617dba5a15b main (din + 0x3615b)   in main(int, char**) at 
./src/main.cc:1606

https://sources.debian.org/src/din/56-1/src/font.cc/#L203



Bug#1068680: din: Process 166294 (din) of user 1000 dumped core

2024-04-08 Thread Cláudio Brandão
Package: din
Version: 56-1
Severity: important
X-Debbugs-Cc: crau...@disroot.org

Dear Maintainer,

This is a crash dump of the Linux kernel, indicating that process 166294
(identified by its PID) has crashed and dumped its memory contents to disk for
analysis. The crash occurred in the module libzstd.so.1, which is part of the
zstandard compression library.

The stack traces provided show the sequence of function calls leading up to the
crash. It appears that the crash occurred in the epoll_wait function, which is
part of the Linux kernel's I/O multiplexing API. The stack traces also indicate
that other threads were running at the time of the crash, with each thread
listed having its own unique stack trace.

The modules listed as being involved in the crash are:

libzstd.so.1: The zstandard compression library.
libsystemd.so.0: Part of the systemd initialization system.
libc.so.6: The C standard library.
libspa-support.so: Support library for SPA (Simple Price Action) protocol.
libpipewire-0.3.so.0: Library for PipeWire, a low-latency audio server.

It's difficult to determine the exact cause of the crash without additional
information or context. However, based on the involvement of the epoll_wait
function and the presence of libraries related to audio processing, it's
possible that the crash was caused by an issue with the audio subsystem or a
problem with how the application was using the zstandard compression library.

Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2.amd64
Module libsystemd.so.0 from deb systemd-252.22-1~deb12u1.amd64
Stack trace of thread 166294:
#0  0x5617dbae42ab n/a (din + 0xc02ab)
#1  0x5617dbae4a75 n/a (din + 0xc0a75)
#2  0x5617dba8c2e4 n/a (din + 0x682e4)
#3  0x5617dbb73b55 n/a (din + 0x14fb55)
#4  0x5617dbb8aab0 n/a (din + 0x166ab0)
#5  0x5617dba5a15b main (din + 0x3615b)
#6  0x7fb191f6724a n/a (libc.so.6 + 0x2724a)
#7  0x7fb191f67305 __libc_start_main (libc.so.6 + 0x27305)
#8  0x5617dba5b1d1 n/a (din + 0x371d1)

Stack trace of thread 166306:
#0  0x7fb192048e26 epoll_wait (libc.so.6 + 0x108e26)
#1  0x7fb190c34110 n/a (libspa-support.so + 0x17110)
#2  0x7fb190c25d4b n/a (libspa-support.so + 0x8d4b)
#3  0x7fb191ab8b4a n/a (libpipewire-0.3.so.0 + 0xa5b4a)
#4  0x7fb191fc9134 n/a (libc.so.6 + 0x89134)
#5  0x7fb1920497dc n/a (libc.so.6 + 0x1097dc)

Stack trace of thread 166309:
#0  0x7fb192048e26 epoll_wait (libc.so.6 + 0x108e26)
#1  0x7fb190c34110 n/a (libspa-support.so + 0x17110)
#2  0x7fb190c25d4b n/a (libspa-support.so + 0x8d4b)
#3  0x7fb191a5b03c n/a (libpipewire-0.3.so.0 + 0x4803c)
#4  0x7fb191fc9134 n/a (libc.so.6 + 0x89134)
#5  0x7fb1920497dc n/a (libc.so.6 + 0x1097dc)

Stack trace of thread 166323:
#0  0x7fb192048e26 epoll_wait (libc.so.6 + 0x108e26)
#1  0x7fb190c34110 n/a (libspa-support.so + 0x17110)
#2  0x7fb190c25d4b n/a (libspa-support.so + 0x8d4b)
#3  0x7fb191a5b03c n/a (libpipewire-0.3.so.0 + 0x4803c)
#4  0x7fb191fc9134 n/a (libc.so.6 + 0x89134)
#5  0x7fb1920497dc n/a (libc.so.6 + 0x1097dc)

Stack trace of thread 166308:
#0  0x7fb192048e26 epoll_wait (libc.so.6 + 0x108e26)
#1  0x7fb190c34110 n/a (libspa-support.so + 0x17110)
#2  0x7fb190c25d4b n/a (libspa-support.so + 0x8d4b)
#3  0x7fb191ab8b4a n/a (libpipewire-0.3.so.0 + 0xa5b4a)
#4  0x7fb191fc9134 n/a (libc.so.6 + 0x89134)
#5  0x7fb1920497dc n/a (libc.so.6 + 0x1097dc)
ELF object binary architecture: AMD x86-64


-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), 
LANGUAGE=pt_BR:pt:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages din depends on:
ii  din-data 56-1
ii  jackd5+nmu1
ii  libc62.36-9+deb12u4
ii  libgcc-s114-20240201-3
ii  libgl1   1.6.0-1
ii  librtaudio6  5.2.0~ds1-2
ii  librtmidi6   5.0.0-3
ii  libsdl1.2debian  1.2.15+dfsg2-8
ii  libstdc++6   14-20240201-3
ii  libtcl8.68.6.13+dfsg-2

din recommends no packages.

din suggests no packages.

-- no debconf information