This might be serious enough to warrant putting out 0.55-2.
Can we be confident that alloca will always work for any size of temporary allocation that jack might choose to make? (e.g. 1024 channels at 256 blocksize --> 1 megabyte)?
cheers
Miller
On 10/8/24 5:53 AM, Christof Ressi wrote:
Hi,
this sounds very much like https://lists.iem.at/hyperkitty/list/pd-dev@lists.iem.at/thread/HEUGAEWO362B...
It should already be fixed on develop with https://github.com/pure-data/pure-data/pull/2433/commits/6710a3441ff5ec73efe....
Can you verify?
Christof
On 08.10.2024 12:41, Winfried Ritsch wrote:
Hello,
Using Debian bookworm backport puredata and pipewire-audio and pipewire-jack backports, it crashes with 16 channels, but not with 15 channel.
To narrow down the problem, before bug issue it, anybody the same or only system specific ?
Here the debug output:
Here the gdb output:
$ pd -version Pd-0.55.1 ("") compiled for Debian (0.55.1+ds-2~bpo12+1) on 2024/09/22 at 20:24:41 UTC
$ gdb pd ...
(gdb) run -jack -channels 16 Starting program: /usr/bin/pd -jack -channels 16
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Detaching after fork from child process 55024] [Detaching after fork from child process 55027] [New Thread 0x7ffff74a56c0 (LWP 55028)] [Thread 0x7ffff74a56c0 (LWP 55028) exited] [New Thread 0x7ffff74a56c0 (LWP 55029)] [New Thread 0x7ffff6ca46c0 (LWP 55030)] [New Thread 0x7ffff639f6c0 (LWP 55031)]
double free or corruption (out)
Thread 5 "data-loop.0" received signal SIGABRT, Aborted. [Switching to Thread 0x7ffff639f6c0 (LWP 55031)]
0x00007ffff7be3e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) watchdog: signaling pd... watchdog: signaling pd... watchdog: signaling pd... bt #0 0x00007ffff7be3e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff7b94fb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007ffff7b7f472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x00007ffff7bd8430 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x00007ffff7bed7ba in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x00007ffff7bef820 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x00007ffff7bf1e9f in free () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x000055555567ec3a in ?? () #8 0x00007ffff7d952c7 in ?? () from /usr/lib/x86_64-linux-gnu/pipewire-0.3/jack/libjack.so.0 #9 0x00007ffff7faa44e in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so #10 0x00007ffff7a971b0 in ?? () from /lib/x86_64-linux-gnu/libpipewire-0.3.so.0 #11 0x00007ffff7be2144 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #12 0x00007ffff7c627dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) watchdog: signaling pd... watchdog: signaling pd... ...
kernel: 6.1.0-26-amd64
mfg
winfried
--
ao.Univ.Prof. DI Winfried Ritsch
ritsch@iem.at - http://iem.at/ritsch
Institut fuer Elektronische Musik und Akustik, University of Music
and
Dramatic Art Graz
mobil: ++43-664-2439369 Tel. ++43-316-389-3510 (3170)
pd-dev@lists.iem.at - the Pd developers' mailinglist https://lists.iem.at/hyperkitty/list/pd-dev@lists.iem.at/message/MXII5RNAW2I...
pd-dev@lists.iem.at - the Pd developers' mailinglist https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/pd-dev@list...