Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76153 - [pipewire] coredump on loading filter-chain

Attached to Project: Arch Linux
Opened by Korkiat Petsiri (mrlamud) - Sunday, 09 October 2022, 23:53 GMT
Last edited by Toolybird (Toolybird) - Friday, 20 January 2023, 01:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

pipewire, pipewire-pulse coredump on execute "pipewire -c filterchain"


Additional info:
* package version(s)
-pipewire 1:0.3.59-1
-pipewire 1:0.3.59-2 (adding patch for filter-chain crash)

* config and/or log files etc.
- attached.
* link to upstream bug report, if any
- https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2737

Steps to reproduce:
- execute pipewire -c filter-chian.conf with any_filter_chain.conf in ..../filter-chain.conf.d .
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 20 January 2023, 01:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  pipewire 1:0.3.64-1
Comment by Toolybird (Toolybird) - Monday, 10 October 2022, 00:57 GMT
So even with 1:0.3.59-2 it still crashes? Your trace is missing debug symbols. Please follow [1] to enable symbols download then repost your trace.

[1] https://wiki.archlinux.org/title/Debuginfod#Installation
Comment by Korkiat Petsiri (mrlamud) - Monday, 10 October 2022, 02:21 GMT
1.Yes it also crashes against 1:0.3.59-2 , 1:0.3.58 was fine.
2.I read the given url "https://wiki.archlinux.org/title/Debuginfod#Installation" and did at my little understanding. The output is:

[code]

9:15:18-lamud@archbox~%>sudo coredumpctl gdb
[sudo] password for lamud:
PID: 1424 (pipewire)
UID: 1000 (lamud)
GID: 1000 (lamud)
Signal: 11 (SEGV)
Timestamp: Mon 2022-10-10 09:07:20 +07 (8min ago)
Command Line: /usr/bin/pipewire -c filter-chain.conf
Executable: /usr/bin/pipewire
Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
Unit: user@1000.service
User Unit: pipewire-pulse.service
Slice: user-1000.slice
Owner UID: 1000 (lamud)
Boot ID: 999343cd85d94deda3e8febc4dce7b29
Machine ID: 4906ab44c064475e9130295c22a840a2
Hostname: archbox
Storage: /var/lib/systemd/coredump/core.pipewire.1000.999343cd85d94deda3e8febc4dce7b29.1424.1665367640000000.zst (present)
Disk Size: 297.8K
Message: Process 1424 (pipewire) of user 1000 dumped core.

Module linux-vdso.so.1 with build-id 3a9155db4108926db397fe50a0831b030827ce8b
Module libspa-audioconvert.so with build-id 6cef8e75c470caddbe2807dea3148018d64877b3
Module fast_lookahead_limiter_1913.so with build-id cc05ae205dcbc207dce6c105e2d1d10a45768b70
Module sc4_1882.so with build-id e8ca58104404cabe6a413da8414190a9374638e8
Module libmvec.so.1 with build-id 87830691ff1275668548231fddf8ff8eaa937fd6
Module libsratom-0.so.0 with build-id 77990c117060490ad36932b4c002eedd90d64580
Module libsord-0.so.0 with build-id 21faba3ee061e9e90457b0cd21d3b14537dd72a9
Module libserd-0.so.0 with build-id 83a04201e79da3e9cd105d3765246e409e4b7ed9
Module libogg.so.0 with build-id 0e76730372082d5f93a02b1ee1fe853424efcb2b
Module libvorbis.so.0 with build-id 51152b816037780fc73dc9bce31128f7456f3cf7
Module libopus.so.0 with build-id 42a4144dbe1232602ed526c18f906e12020c9f57
Module libFLAC.so.12 with build-id 1ed77e941a46d5d0550af4c61c3965aaecdcb33d
Module libvorbisenc.so.2 with build-id e219a63a2cae256e5b9a6b1454ceef80dfd229b3
Module liblilv-0.so.0 with build-id 80ba33483954f667c6ced12472a03658202cad5e
Module libsndfile.so.1 with build-id 033bb62c7f948befb488a8fbdbc86b3b9e84c3df
Module libm.so.6 with build-id 2c8ff1d29b255da5b7371efd5caf57444d622838
Module libpipewire-module-filter-chain.so with build-id 311c142ac3a9947efb2e65e3d768f353bddd6b86
Module libpipewire-module-adapter.so with build-id b16c007d0940261d30b5e4c1000f0c85ccada064
Module libpipewire-module-client-node.so with build-id dbf8866f717ef4d41eb223f81b804d7cb23f0510
Module libpipewire-module-protocol-native.so with build-id 1afac80f16d2e43885b12ce29a41c773521e5e5b
Module libpipewire-module-rt.so with build-id 95e122cbf5e855c1252d5b21c73b339ce339547a
Module libdbus-1.so.3 with build-id 08fce9afe1802f4d900d387c517bdbb3875fc35c
Module libspa-dbus.so with build-id cec32a708bbbfd49e64c4feff174628ac53253b8
Module libgpg-error.so.0 with build-id a6d39a4c61be6f425aaf896bc231e8feb71996b4
Module liblz4.so.1 with build-id 0acc234b36bf75d8e86a68ddaf968451746242f4
Module libzstd.so.1 with build-id 7d07362c1c0412ec6c7e9fb79c7e7ad3c491762c
Module liblzma.so.5 with build-id fb5c8c845c94db06f74da50e754a60dcf5ad3e98
Module libgcrypt.so.20 with build-id 9803414978973de86ad98e2e16ead542497b8904
Module libcap.so.2 with build-id bcc143c02665a9d6db867e1b5d3f5426294d8613
Module libsystemd.so.0 with build-id 0fc2ff435ab84a347cdf8a39bb2bb3f4f4be5966
Module libspa-journal.so with build-id 27ee1f412a07da986ef31ae07ad8a66c0c7e6518
Module libspa-support.so with build-id 643dc98ac8926194625b6308b887331cdccf6003
Module ld-linux-x86-64.so.2 with build-id 22bd7a2c03d8cfc05ef7092bfae5932223189bc1
Module libgcc_s.so.1 with build-id 85db482c4585a328d95ec41124337a967bb24d8f
Module libc.so.6 with build-id 1e94beb079e278ac4f2c8bce1f53091548ea1584
Module libpipewire-0.3.so.0 with build-id 2493a5061ccfaf0c5b6e34ab3c1b3402c5be680d
Module pipewire with build-id c55ef8853a6b208b6833c6180a22c596360c0128
Stack trace of thread 1432:
#0 0x00007f955c789e0c n/a (sc4_1882.so + 0x2e0c)
#1 0x00007f955c7955f2 n/a (libpipewire-module-filter-chain.so + 0x55f2)
#2 0x00007f955d28d3a7 n/a (libpipewire-0.3.so.0 + 0x803a7)
#3 0x00007f955c27b74a n/a (libspa-audioconvert.so + 0xc74a)
#4 0x00007f955d29c502 pw_stream_trigger_process (libpipewire-0.3.so.0 + 0x8f502)
#5 0x00007f955d28d09f n/a (libpipewire-0.3.so.0 + 0x8009f)
#6 0x00007f955c27b999 n/a (libspa-audioconvert.so + 0xc999)
#7 0x00007f955d270429 n/a (libpipewire-0.3.so.0 + 0x63429)
#8 0x00007f955d2708e7 n/a (libpipewire-0.3.so.0 + 0x638e7)
#9 0x00007f955d2fecc7 n/a (libspa-support.so + 0x6cc7)
#10 0x00007f955d24e317 n/a (libpipewire-0.3.so.0 + 0x41317)
#11 0x00007f955d0ac8fd n/a (libc.so.6 + 0x868fd)
#12 0x00007f955d12dc74 __clone (libc.so.6 + 0x107c74)

Stack trace of thread 1424:
#0 0x00007f955d12e096 epoll_wait (libc.so.6 + 0x108096)
#1 0x00007f955d30c669 n/a (libspa-support.so + 0x14669)
#2 0x00007f955d2feb7b n/a (libspa-support.so + 0x6b7b)
#3 0x00007f955d26d291 pw_main_loop_run (libpipewire-0.3.so.0 + 0x60291)
#4 0x000055b06af092ee n/a (pipewire + 0x12ee)
#5 0x00007f955d049290 n/a (libc.so.6 + 0x23290)
#6 0x00007f955d04934a __libc_start_main (libc.so.6 + 0x2334a)
#7 0x000055b06af09495 n/a (pipewire + 0x1495)
ELF object binary architecture: AMD x86-64

GNU gdb (GDB) 12.1
Copyright (C) 2022 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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 /usr/bin/pipewire...
(No debugging symbols found in /usr/bin/pipewire)

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=65664 (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=16384 (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=2312 (deleted) during file-backed mapping note processing
[New LWP 1432]
[New LWP 1424]

warning: Section `.reg-xstate/1432' in core file too small.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/pipewire -c filter-chain.conf'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Section `.reg-xstate/1432' in core file too small.
#0 0x00007f955c789e0c in ?? () from /usr/lib/ladspa/sc4_1882.so
--Type <RET> for more, q to quit, c to continue without paging--
[Current thread is 1 (Thread 0x7f955c26e6c0 (LWP 1432))]
warning: File "/home/lamud/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /home/lamud/.gdbinit
line to your configuration file "/root/.config/gdb/gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/root/.config/gdb/gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
(gdb) bt full
#0 0x00007f955c789e0c in ?? () from /usr/lib/ladspa/sc4_1882.so
No symbol table info available.
#1 0x00007f955c7955f2 in ?? () from /usr/lib/pipewire-0.3/libpipewire-module-filter-chain.so
No symbol table info available.
#2 0x00007f955d28d3a7 in ?? () from /usr/lib/libpipewire-0.3.so.0
No symbol table info available.
#3 0x00007f955c27b74a in ?? () from /usr/lib/spa-0.2/audioconvert/libspa-audioconvert.so
No symbol table info available.
#4 0x00007f955d29c502 in pw_stream_trigger_process () from /usr/lib/libpipewire-0.3.so.0
No symbol table info available.
#5 0x00007f955d28d09f in ?? () from /usr/lib/libpipewire-0.3.so.0
No symbol table info available.
#6 0x00007f955c27b999 in ?? () from /usr/lib/spa-0.2/audioconvert/libspa-audioconvert.so
No symbol table info available.
#7 0x00007f955d270429 in ?? () from /usr/lib/libpipewire-0.3.so.0
No symbol table info available.
#8 0x00007f955d2708e7 in ?? () from /usr/lib/libpipewire-0.3.so.0
No symbol table info available.
#9 0x00007f955d2fecc7 in ?? () from /usr/lib/spa-0.2/support/libspa-support.so
No symbol table info available.
#10 0x00007f955d24e317 in ?? () from /usr/lib/libpipewire-0.3.so.0
No symbol table info available.
#11 0x00007f955d0ac8fd in ?? () from /usr/lib/libc.so.6
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--
#12 0x00007f955d12dc74 in clone () from /usr/lib/libc.so.6
No symbol table info available.
(gdb)


[/code]


Comment by Toolybird (Toolybird) - Monday, 10 October 2022, 21:11 GMT
Still missing debug symbols. The guaranteed way to get the symbols:

1. install debuginfod pkg
2. logout (or reboot)
3. login and try again
4. you should be prompted by gdb to download the symbols, answer Y
Comment by Korkiat Petsiri (mrlamud) - Tuesday, 11 October 2022, 00:31 GMT
Thanks for being patient with me.
Using gdb with debuginfod installed as per wiki didn't give output with any debug symbols.
So I tried "coredumpctl debug PID" which gives the same output with some differences :

[code]

7:29:23-lamud@archbox~%>coredumpctl debug 1423
PID: 1423 (pipewire)
UID: 1000 (lamud)
GID: 1000 (lamud)
Signal: 11 (SEGV)
Timestamp: Tue 2022-10-11 07:20:00 +07 (9min ago)
Command Line: /usr/bin/pipewire -c filter-chain.conf
Executable: /usr/bin/pipewire
Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
Unit: user@1000.service
User Unit: pipewire.service
Slice: user-1000.slice
Owner UID: 1000 (lamud)
Boot ID: 94cc863c8445495aa947efbd8c478aef
Machine ID: 4906ab44c064475e9130295c22a840a2
Hostname: archbox
Storage: /var/lib/systemd/coredump/core.pipewire.1000.94cc863c8445495aa947efbd8c478aef.1423.1665447600000000.zst (present)
Disk Size: 298.0K
Message: Process 1423 (pipewire) of user 1000 dumped core.

Module linux-vdso.so.1 with build-id 3a9155db4108926db397fe50a0831b030827ce8b
Module libspa-audioconvert.so with build-id 6cef8e75c470caddbe2807dea3148018d64877b3
Module fast_lookahead_limiter_1913.so with build-id cc05ae205dcbc207dce6c105e2d1d10a45768b70
Module sc4_1882.so with build-id e8ca58104404cabe6a413da8414190a9374638e8
Module libmvec.so.1 with build-id 87830691ff1275668548231fddf8ff8eaa937fd6
Module libsratom-0.so.0 with build-id 77990c117060490ad36932b4c002eedd90d64580
Module libsord-0.so.0 with build-id 21faba3ee061e9e90457b0cd21d3b14537dd72a9
Module libserd-0.so.0 with build-id 83a04201e79da3e9cd105d3765246e409e4b7ed9
Module libogg.so.0 with build-id 0e76730372082d5f93a02b1ee1fe853424efcb2b
Module libvorbis.so.0 with build-id 51152b816037780fc73dc9bce31128f7456f3cf7
Module libopus.so.0 with build-id 42a4144dbe1232602ed526c18f906e12020c9f57
Module libFLAC.so.12 with build-id 1ed77e941a46d5d0550af4c61c3965aaecdcb33d
Module libvorbisenc.so.2 with build-id e219a63a2cae256e5b9a6b1454ceef80dfd229b3
Module liblilv-0.so.0 with build-id 80ba33483954f667c6ced12472a03658202cad5e
Module libsndfile.so.1 with build-id 033bb62c7f948befb488a8fbdbc86b3b9e84c3df
Module libm.so.6 with build-id 2c8ff1d29b255da5b7371efd5caf57444d622838
Module libpipewire-module-filter-chain.so with build-id 311c142ac3a9947efb2e65e3d768f353bddd6b86
Module libpipewire-module-adapter.so with build-id b16c007d0940261d30b5e4c1000f0c85ccada064
Module libpipewire-module-client-node.so with build-id dbf8866f717ef4d41eb223f81b804d7cb23f0510
Module libpipewire-module-protocol-native.so with build-id 1afac80f16d2e43885b12ce29a41c773521e5e5b
Module libpipewire-module-rt.so with build-id 95e122cbf5e855c1252d5b21c73b339ce339547a
Module libdbus-1.so.3 with build-id 08fce9afe1802f4d900d387c517bdbb3875fc35c
Module libspa-dbus.so with build-id cec32a708bbbfd49e64c4feff174628ac53253b8
Module libgpg-error.so.0 with build-id a6d39a4c61be6f425aaf896bc231e8feb71996b4
Module liblz4.so.1 with build-id 0acc234b36bf75d8e86a68ddaf968451746242f4
Module libzstd.so.1 with build-id 7d07362c1c0412ec6c7e9fb79c7e7ad3c491762c
Module liblzma.so.5 with build-id fb5c8c845c94db06f74da50e754a60dcf5ad3e98
Module libgcrypt.so.20 with build-id 9803414978973de86ad98e2e16ead542497b8904
Module libcap.so.2 with build-id bcc143c02665a9d6db867e1b5d3f5426294d8613
Module libsystemd.so.0 with build-id 0fc2ff435ab84a347cdf8a39bb2bb3f4f4be5966
Module libspa-journal.so with build-id 27ee1f412a07da986ef31ae07ad8a66c0c7e6518
Module libspa-support.so with build-id 643dc98ac8926194625b6308b887331cdccf6003
Module ld-linux-x86-64.so.2 with build-id 22bd7a2c03d8cfc05ef7092bfae5932223189bc1
Module libgcc_s.so.1 with build-id 85db482c4585a328d95ec41124337a967bb24d8f
Module libc.so.6 with build-id 1e94beb079e278ac4f2c8bce1f53091548ea1584
Module libpipewire-0.3.so.0 with build-id 2493a5061ccfaf0c5b6e34ab3c1b3402c5be680d
Module pipewire with build-id c55ef8853a6b208b6833c6180a22c596360c0128
Stack trace of thread 1433:
#0 0x00007f3711a2be0c n/a (sc4_1882.so + 0x2e0c)
#1 0x00007f3711a375f2 n/a (libpipewire-module-filter-chain.so + 0x55f2)
#2 0x00007f37125373a7 n/a (libpipewire-0.3.so.0 + 0x803a7)
#3 0x00007f371151d74a n/a (libspa-audioconvert.so + 0xc74a)
#4 0x00007f3712546502 pw_stream_trigger_process (libpipewire-0.3.so.0 + 0x8f502)
#5 0x00007f371253709f n/a (libpipewire-0.3.so.0 + 0x8009f)
#6 0x00007f371151d999 n/a (libspa-audioconvert.so + 0xc999)
#7 0x00007f371251a429 n/a (libpipewire-0.3.so.0 + 0x63429)
#8 0x00007f371251a8e7 n/a (libpipewire-0.3.so.0 + 0x638e7)
#9 0x00007f37125a8cc7 n/a (libspa-support.so + 0x6cc7)
#10 0x00007f37124f8317 n/a (libpipewire-0.3.so.0 + 0x41317)
#11 0x00007f37123568fd n/a (libc.so.6 + 0x868fd)
#12 0x00007f37123d7c74 __clone (libc.so.6 + 0x107c74)

Stack trace of thread 1423:
#0 0x00007f37123d8096 epoll_wait (libc.so.6 + 0x108096)
#1 0x00007f37125b6669 n/a (libspa-support.so + 0x14669)
#2 0x00007f37125a8b7b n/a (libspa-support.so + 0x6b7b)
#3 0x00007f3712517291 pw_main_loop_run (libpipewire-0.3.so.0 + 0x60291)
#4 0x0000564b1ff042ee n/a (pipewire + 0x12ee)
#5 0x00007f37122f3290 n/a (libc.so.6 + 0x23290)
#6 0x00007f37122f334a __libc_start_main (libc.so.6 + 0x2334a)
#7 0x0000564b1ff04495 n/a (pipewire + 0x1495)
ELF object binary architecture: AMD x86-64

GNU gdb (GDB) 12.1
Copyright (C) 2022 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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 /usr/bin/pipewire...
Reading symbols from /home/lamud/.cache/debuginfod_client/c55ef8853a6b208b6833c6180a22c596360c0128/debuginfo...

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=65664 (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=16384 (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=2312 (deleted) during file-backed mapping note processing
[New LWP 1433]
[New LWP 1423]

warning: Section `.reg-xstate/1433' in core file too small.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/pipewire -c filter-chain.conf'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Section `.reg-xstate/1433' in core file too small.
#0 0x00007f3711a2be0c in ?? () from /usr/lib/ladspa/sc4_1882.so
[Current thread is 1 (Thread 0x7f37115106c0 (LWP 1433))]
(gdb) bt full
#0 0x00007f3711a2be0c in ?? () from /usr/lib/ladspa/sc4_1882.so
No symbol table info available.
#1 0x00007f3711a375f2 in ?? () from /usr/lib/pipewire-0.3/libpipewire-module-filter-chain.so
No symbol table info available.
#2 0x00007f37125373a7 in call_process (impl=0x564b21a204f0) at ../pipewire/src/pipewire/stream.c:442
_f = <optimized out>
_res = true
_res = <optimized out>
_o = <optimized out>
_f = <optimized out>
#3 impl_node_process_output (object=0x564b21a204f0) at ../pipewire/src/pipewire/stream.c:1084
impl = 0x564b21a204f0
stream = 0x564b21a204f0
io = 0x564b21a4b098
b = <optimized out>
res = 1
ask_more = <optimized out>
#4 0x00007f371151d74a in ?? () from /usr/lib/spa-0.2/audioconvert/libspa-audioconvert.so
No symbol table info available.
#5 0x00007f3712546502 in pw_stream_trigger_process (stream=0x564b21a204f0) at ../pipewire/src/pipewire/stream.c:2391
_f = <optimized out>
_res = -95
_o = <optimized out>
impl = <optimized out>
res = <optimized out>
impl = <optimized out>
res = <optimized out>
_res = <optimized out>
_o = <optimized out>
_f = <optimized out>
#6 pw_stream_trigger_process (stream=0x564b21a204f0) at ../pipewire/src/pipewire/stream.c:2375
impl = 0x564b21a204f0
res = 0
_res = <optimized out>
_o = <optimized out>
_f = <optimized out>
#7 0x00007f371253709f in call_process (impl=0x564b21a1f1e0) at ../pipewire/src/pipewire/stream.c:442
_f = <optimized out>
_res = true
_res = <optimized out>
_o = <optimized out>
_f = <optimized out>
#8 impl_node_process_input (object=0x564b21a1f1e0) at ../pipewire/src/pipewire/stream.c:1005
impl = 0x564b21a1f1e0
stream = 0x564b21a1f1e0
io = 0x564b21a28928
b = <optimized out>
#9 0x00007f371151d999 in ?? () from /usr/lib/spa-0.2/audioconvert/libspa-audioconvert.so
No symbol table info available.
#10 0x00007f371251a429 in process_node (data=0x564b21a460d0) at ../pipewire/src/pipewire/impl-node.c:1120
_f = <optimized out>
_res = -95
_n = <optimized out>
this = 0x564b21a460d0
ts = {tv_sec = 259, tv_nsec = 586876891}
p = <optimized out>
a = 0x7f37120f8000
data_system = 0x564b21993740
status = <optimized out>
__func__ = "process_node"
#11 0x00007f371251a8e7 in node_on_fd_events (source=<optimized out>) at ../pipewire/src/pipewire/impl-node.c:1178
cmd = 1
this = 0x564b21a460d0
data_system = <optimized out>
__func__ = "node_on_fd_events"
#12 0x00007f37125a8cc7 in loop_iterate (object=<optimized out>, timeout=<optimized out>) at ../pipewire/spa/plugins/support/loop.c:431
s = <optimized out>
__clframe = {__cancel_routine = <optimized out>, __cancel_arg = <synthetic pointer>, __do_it = 1, __cancel_type = <optimized out>}
impl = <optimized out>
ep = {{events = 1, data = 0x564b21a46740}, {events = 0, data = 0x0} <repeats 31 times>}
e = <optimized out>
i = 0
nfds = 1
cdata = <optimized out>
__func__ = "loop_iterate"
#13 0x00007f37124f8317 in do_loop (user_data=0x564b21993680) at ../pipewire/src/pipewire/data-loop.c:81
_f = <optimized out>
_res = -95
_o = <optimized out>
__clframe = <optimized out>
this = 0x564b21993680
res = <optimized out>
__func__ = "do_loop"
#14 0x00007f37123568fd in start_thread (arg=<optimized out>) at pthread_create.c:442
ret = <optimized out>
pd = <optimized out>
out = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139874490451648, -8789215270495996778, -128, 0, 140737223673968, 139874482061312, 8676270335158760598, 8676267341296678038}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#15 0x00007f37123d7c74 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
No locals.
(gdb)


[/code]

Comment by Korkiat Petsiri (mrlamud) - Tuesday, 11 October 2022, 02:16 GMT
Additional backtrace - see attched.
Comment by Toolybird (Toolybird) - Tuesday, 11 October 2022, 06:33 GMT
Hmm, I'm not sure why the symbols aren't working. Maybe it's because debug infra is still WIP. Let's see if PM has any ideas..
Comment by Korkiat Petsiri (mrlamud) - Wednesday, 12 October 2022, 03:14 GMT
I found a cause that might be the cause of coredump in loading filter-chain config.
The attached filter-chain config file is a daisy chain filter I use all along before 1:0.3.59 without problem.

Since update to 1:0.3.59 there is a coredump which is caused by this daily-chain filter.
If in config file use only a single filter, it will work fine but not a daisy-chain filter.
Comment by Alberto Garcia (berto) - Tuesday, 01 November 2022, 15:37 GMT
Hello, I'm having a seemingly similar crash with 0.3.59-2, and after debugging it I found that the cause of the crash is that port->audio_data[i] here is NULL: https://github.com/PipeWire/pipewire/blob/0.3.59/src/modules/module-filter-chain.c#L1702

This can be fixed by cherry picking this patch:

https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/94a857550b566472e5ab51191e1b34098e5a9506
Comment by Korkiat Petsiri (mrlamud) - Tuesday, 01 November 2022, 23:30 GMT Comment by Alberto Garcia (berto) - Thursday, 19 January 2023, 14:08 GMT
Hello, the fix that I mentioned is available since pipewire 0.3.60, and Arch is now shipping 0.3.64, so this bug can probably be closed.

Loading...