Package: libportaudio2 Version: 19.6.0-1 Followup-For: Bug #944509 X-Debbugs-Cc: t...@mirbsd.de
I’m getting a crash in libportaudio2 at polyphone startup if JACK is not running (polyphone ought to be happy enough with just ALSA): GNU gdb (Debian 9.2-1) 9.2 Copyright (C) 2020 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: <http://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 polyphone... Reading symbols from /usr/lib/debug/.build-id/16/221a9a7d95eccdb8e57cb672a09aca8d1a2f79.debug... [New LWP 25298] [New LWP 25299] [New LWP 25301] [New LWP 25303] [New LWP 25294] [New LWP 25304] [New LWP 25305] [New LWP 25307] [New LWP 25306] [New LWP 25302] [New LWP 25296] [New LWP 25295] [New LWP 25308] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `polyphone'. Program terminated with signal SIGABRT, Aborted. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. [Current thread is 1 (Thread 0x7fe97dae4700 (LWP 25298))] (gdb) bt full #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 set = {__val = {4096, 140640909178518, 4222451712, 140639777852432, 140639777852533, 140639777852432, 140639777852432, 140639777852556, 140639777852732, 140639777852432, 140639777852732, 0, 0, 0, 0, 0}} pid = <optimized out> tid = <optimized out> ret = <optimized out> #1 0x00007fe983693537 in __GI_abort () at abort.c:79 save_stage = 1 act = {__sigaction_handler = {sa_handler = 0x7fe940000d50, sa_sigaction = 0x7fe940000d50}, sa_mask = { __val = {0, 0, 7957693898869731184, 0, 0, 0, 21474836480, 140638704107522, 140640812646576, 140640910310352, 140640910295304, 0, 17345829732751672320, 140640910278597, 140640793935872, 140640910295304}}, sa_flags = -2060918728, sa_restorer = 0xe39} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007fe98369340f in __assert_fail_base (fmt=0x7fe9837fc108 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7fe98529466e "ret == self->nfds", file=0x7fe98528e038 "src/hostapi/alsa/pa_linux_alsa.c", line=3641, function=<optimized out>) at assert.c:92 str = 0x7fe940000d50 "" total = 4096 #3 0x00007fe9836a24d2 in __GI___assert_fail (assertion=assertion@entry=0x7fe98529466e "ret == self->nfds", file=file@entry=0x7fe98528e038 "src/hostapi/alsa/pa_linux_alsa.c", line=line@entry=3641, function=function@entry=0x7fe985294be0 <__PRETTY_FUNCTION__.12102> "PaAlsaStreamComponent_BeginPolling") at assert.c:101 No locals. #4 0x00007fe9852761c3 in PaAlsaStreamComponent_BeginPolling (pfds=<optimized out>, self=<optimized out>) at src/hostapi/alsa/pa_linux_alsa.c:3641 result = <optimized out> ret = <optimized out> #5 0x00007fe985283e85 in PaAlsaStreamComponent_BeginPolling (pfds=<optimized out>, self=<optimized out>) at src/hostapi/alsa/pa_linux_alsa.c:3931 result = <optimized out> ret = <optimized out> result = <optimized out> ret = <optimized out> #6 PaAlsaStream_WaitForFrames (self=self@entry=0x55c67c2a59c0, framesAvail=framesAvail@entry=0x7fe97dadc2e0, xrunOccurred=xrunOccurred@entry=0x7fe97dadc2dc) at src/hostapi/alsa/pa_linux_alsa.c:3802 totalFds = <optimized out> capturePfds = <optimized out> playbackPfds = <optimized out> result = 0 pollPlayback = 1 pollCapture = 0 pollTimeout = 22 xrun = 0 timeouts = 0 pollResults = <optimized out> __PRETTY_FUNCTION__ = "PaAlsaStream_WaitForFrames" #7 0x00007fe98528463e in CallbackThreadFunc (userData=0x55c67c2a59c0) at src/hostapi/alsa/pa_linux_alsa.c:4274 framesAvail = 0 framesGot = 940 xrun = 0 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -1866001471085145902, 140733706245998, 140733706245999, 140640812647552, 8396800, 1857834729663697106, 1858205286534549714}, __mask_was_saved = 0}}, __pad = {0x7fe97dadc3d0, 0x0, 0x0, 0x0}} __cancel_routine = <optimized out> __cancel_arg = <optimized out> __not_first_call = <optimized out> result = 0 stream = 0x55c67c2a59c0 timeInfo = {inputBufferAdcTime = 0, currentTime = 1242978.7150920001, outputBufferDacTime = 1242978.766656626} startThreshold = <optimized out> callbackResult = 0 cbFlags = 0 __PRETTY_FUNCTION__ = "CallbackThreadFunc" #8 0x00007fe983b68ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477 ret = <optimized out> pd = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140640812680960, -1866001471085145902, 140733706245998, 140733706245999, 140640812647552, 8396800, 1857834729682571474, 1858199808461181138}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = 0 #9 0x00007fe98376bdcf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 No locals. After reading this bugreport, it might be this issue. If there’s no reaction within the week and the patch fixes my crashes, I’m intending to NMU. -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.7.0-1-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_WARN Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/lksh Init: sysvinit (via /sbin/init) Versions of packages libportaudio2 depends on: ii libasound2 1.2.2-2.3 ii libc6 2.31-1 ii libjack-jackd2-0 [libjack-0.125] 1.9.14~dfsg-0.1 libportaudio2 recommends no packages. libportaudio2 suggests no packages. -- no debconf information