[Pkg-octave-devel] Bug#874208: octave: audiodevinfo makes octave segfault when jackd is running
Peter P.
peterparker at fastmail.com
Wed Sep 6 14:10:25 UTC 2017
Hi Mike,
* Mike Miller <mtmiller at debian.org> [2017-09-05 17:57]:
> On Mon, Sep 04, 2017 at 11:10:46 +0200, Peter P. wrote:
> > audiodevinfo makes octave segfault when jackd is running. I don't know
> > if the octave audio functions are supposed to support jack.
>
> Octave's audio I/O functions are built on PortAudio, so they should work
> with jackd as well as any other PortAudio program. I am pretty sure we
> have had one person report success with audioplayer and jackd.
>
> > If they
> > don't it would be great if octave could nevertheless survive. Thank you
> > for looking into this, I am happy to help where I can.
> >
> > Here is the gdb backtrace:
>
> Can you please provide a stack trace showing this error in octave-cli,
> to eliminate Qt multithreading, and with the relevant dbgsym packages
> installed?
The backtrace I provided was already with /usr/bin/octave --no-gui. I hope a
'stack trace' is the same thing as a 'backtrace', at least gdb's help
text tells me so.
With libjack0-dbgsym installed this is the output of gdb and its
stack/backtrace for /usr/bin/octave --no-gui
octave:1> audiodevinfo()
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
[New Thread 0x7fffd3c45700 (LWP 22139)]
[New Thread 0x7fffd82dd700 (LWP 22158)]
Thread 4 "QThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd82dd700 (LWP 22158)]
jack_thread_touch_stack () at thread.c:112
112 thread.c: No such file or directory.
(gdb) bt
#0 0x00007fffd8328bf0 in jack_thread_touch_stack () at thread.c:112
#1 0x00007fffd8328fb9 in jack_thread_proxy (varg=0x7fffd44cfa80) at thread.c:128
#2 0x00007ffff44ee494 in start_thread () at /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff4232abf in clone () at /lib/x86_64-linux-gnu/libc.so.6
More information about the Pkg-octave-devel
mailing list