Bug 1948238 - pipewire crashes octave
Summary: pipewire crashes octave
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 34
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-11 00:31 UTC by Dmitri A. Sergatskov
Modified: 2021-04-11 00:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Dmitri A. Sergatskov 2021-04-11 00:31:59 UTC
Description of problem:
octave crshes with segfault at exit, if used audio interface

Version-Release number of selected component (if applicable):
pipewire 0.3.25-1
octave 5.2.0 (fedora's rpm) and/or current dev version
How reproducible:

100

Steps to Reproduce:
1. start octave 
2. at octave prompt do "test /usr/share/octave/5.2.0/etc/tests/libinterp/dldfcn/audiodevinfo.cc-tst"
3.exit octave

Actual results:
octave:2> test /usr/share/octave/5.2.0/etc/tests/libinterp/dldfcn/audiodevinfo.cc-tst
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
PASSES 4 out of 4 tests
octave:3> 

fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault (core dumped)


Expected results:
no crash

Additional info:

running (under gdb) the same test with self compiled current dev version of octave compiled with debug symbols and no optimization:

octave:2> exit

Thread 19 "QThread" received signal SIGSEGV, Segmentation fault.
<...deleted...>

Thread 19 (Thread 0x7fff531cd640 (LWP 3372) "QThread"):
#0  0x00007fff4f723cb0 in  ()
#1  0x00007fff4f6470fb in loop_iterate (object=0x62d0067f2428, timeout=<optimized out>) at ../spa/plugins/support/loop.c:308
#2  0x00007fff4f684d13 in do_loop (user_data=0x60400096ab10) at ../src/pipewire/data-loop.c:79
#3  0x00007fffee7d6299 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fffee6fe6a3 in clone () at /lib64/libc.so.6

Also journalctl got flooded with messages like:
Apr 10 20:12:29 dasp53 pipewire[2045]: 93 events suppressed
Apr 10 20:12:29 dasp53 pipewire[2045]: (PortAudio-59) client too slow! rate:1024/48000 pos:16434176 status:triggered


Note You need to log in before you can comment on or make changes to this bug.