Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 585
    • Issues 585
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWirePipeWire
  • pipewirepipewire
  • Issues
  • #928
Closed
Open
Incident created Mar 19, 2021 by Florian Hülsmann@cbixContributor

[Crash report] Segfault under PW 0.3.24

OS: Arch Linux, GNOME Shell 3.38.4, PipeWire 0.3.24

After running Carla with pipewire-jack for some time and eventually connecting a USB MIDI device to a plugin, Carla would show 100% DSP load and pipewire crashed.

dmesg
[54543.194689] pipewire[30342]: segfault at 54701f160 ip 00007f9102731709 sp 00007ffc31eb3f50 error 4 in libc-2.33.so[7f91026cc000+14c000]
[54543.194711] Code: 00 0f b7 14 58 66 85 d2 0f 84 48 ff ff ff 48 8d 73 10 4c 8b 04 f0 41 f6 c0 0f 0f 85 d1 01 00 00 4c 89 c1 83 ea 01 48 c1 e9 0c <49> 33 08 48 89 0c f0 66 89 14 58 4c 89 c0 49 c7 40 08 00 00 00 00
[54543.194768] audit: type=1701 audit(1616196310.996:138): auid=1000 uid=1000 gid=1000 ses=3 pid=30342 comm="pipewire" exe="/usr/bin/pipewire" sig=11 res=1
[54543.222589] audit: type=1334 audit(1616196311.022:139): prog-id=31 op=LOAD
[54543.222733] audit: type=1334 audit(1616196311.022:140): prog-id=32 op=LOAD
[54543.224617] audit: type=1130 audit(1616196311.026:141): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-71668-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[54543.491545] audit: type=1131 audit(1616196311.292:142): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-71668-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[54543.494036] pw-top[71666]: segfault at 44 ip 00007eff25f1ac57 sp 00007ffdc5b30d00 error 4 in libpipewire-0.3.so.0.324.0[7eff25edc000+4d000]
[54543.494051] Code: 00 66 90 55 48 89 fd 53 48 83 ec 48 64 48 8b 04 25 28 00 00 00 48 89 44 24 38 48 8b 05 d2 4f 04 00 83 38 03 0f 87 e9 01 00 00 <0f> b6 45 44 a8 04 0f 85 2e 02 00 00 83 c8 04 88 45 44 a8 02 75 3d
[54543.494091] audit: type=1701 audit(1616196311.296:143): auid=1000 uid=1000 gid=1000 ses=3 pid=71666 comm="pw-top" exe="/usr/bin/pw-top" sig=11 res=1
[54543.505729] audit: type=1334 audit(1616196311.306:144): prog-id=33 op=LOAD
[54543.505778] audit: type=1334 audit(1616196311.306:145): prog-id=34 op=LOAD
journalctl/trace
Mär 20 00:25:08 Flohkiste pipewire[30342]: 1500 events suppressed
Mär 20 00:25:08 Flohkiste pipewire[30342]: (Midi-Bridge-37) client too slow! rate:64/48000 pos:1168872512 status:awake
Mär 20 00:25:10 Flohkiste pipewire[30342]: 1499 events suppressed
Mär 20 00:25:10 Flohkiste pipewire[30342]: (Midi-Bridge-37) client too slow! rate:64/48000 pos:1168968512 status:awake
Mär 20 00:25:11 Flohkiste systemd-coredump[71669]: [🡕] Process 30342 (pipewire) of user 1000 dumped core.
                                                    
                                                    Stack trace of thread 30342:
                                                    #0  0x00007f9102731709 malloc (libc.so.6 + 0x8b709)
                                                    #1  0x00007f910289e803 pw_context_create_client (libpipewire-0.3.so.0 + 0x2b803)
                                                    #2  0x00007f9101a5c3f6 n/a (libpipewire-module-protocol-native.so + 0x103f6)
                                                    #3  0x00007f9101a5c85e n/a (libpipewire-module-protocol-native.so + 0x1085e)
                                                    #4  0x00007f91029491eb n/a (libspa-support.so + 0x61eb)
                                                    #5  0x00007f91028bb5fb pw_main_loop_run (libpipewire-0.3.so.0 + 0x485fb)
                                                    #6  0x0000564e45d2d274 n/a (pipewire + 0x1274)
                                                    #7  0x00007f91026cdb25 __libc_start_main (libc.so.6 + 0x27b25)
                                                    #8  0x0000564e45d2d39e n/a (pipewire + 0x139e)
                                                    
                                                    Stack trace of thread 30347:
                                                    #0  0x00007f91027a539e epoll_wait (libc.so.6 + 0xff39e)
                                                    #1  0x00007f9102952ed1 n/a (libspa-support.so + 0xfed1)
                                                    #2  0x00007f9102949154 n/a (libspa-support.so + 0x6154)
                                                    #3  0x00007f91028ab070 n/a (libpipewire-0.3.so.0 + 0x38070)
                                                    #4  0x00007f9102687299 start_thread (libpthread.so.0 + 0x9299)
                                                    #5  0x00007f91027a5053 __clone (libc.so.6 + 0xff053)
Mär 20 00:25:11 Flohkiste systemd[1312]: pipewire.service: Main process exited, code=dumped, status=11/SEGV
Mär 20 00:25:11 Flohkiste systemd[1312]: pipewire.service: Failed with result 'core-dump'.

I couldn't see anything suspicious in that pw_context_create_client but maybe this helps :)

Edited Mar 20, 2021 by Florian Hülsmann
Assignee
Assign to
Time tracking