Ticket #615 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

pulseaudio-0.9.16(test2 and test3) crashed on some actions

Reported by: Yaroslav Owned by: lennart
Milestone: 0.9.18 Component: daemon
Keywords: Cc:

Description

Hello, I have another crash report. After I upgrade to 0.9.16, pulseaudio and libcanberra works very well most time, but when I actively chatting (in gajim, sound events via paplay) and at the same time switching to other window (i.e. libcanberra sends event), pulseaudio sometimes crashed and restarted. And for some time I can't do anything becuase of full gtk freeze. So, I have gdb report of crash

Attachments

gdb-pulse.log (50.4 kB) - added by Yaroslav 3 years ago.
gdb log
gdb-pulse2.log (13.0 kB) - added by Yaroslav 3 years ago.
gdb-pulse3.log (10.8 kB) - added by Yaroslav 3 years ago.
gdb-pulse4.log (37.6 kB) - added by Yaroslav 3 years ago.
gdb-pulse5.log (12.4 kB) - added by Yaroslav 3 years ago.
valgrind.log (193.4 kB) - added by Yaroslav 3 years ago.
log (22.1 kB) - added by Yaroslav 2 years ago.
valgrind log (0.9.17)

Change History

Changed 3 years ago by lennart

Which distro is this? Is this Fedora Rawhide?

Changed 3 years ago by Yaroslav

gdb log

Changed 3 years ago by Yaroslav

It's gentoo amd64

Changed 3 years ago by Yaroslav

BTW, I think that freezing gtk on pulse crash is a bad idea.

Changed 3 years ago by lennart

Looks like brokeness in glibc's iconv. The abort() was triggered there. Please redo the bt with debug symbols installed.

Changed 3 years ago by lennart

full debug symbols that is, of glibc and pa.

Changed 3 years ago by Yaroslav

I found that iconv maybe because of log-level = info, so I commented it and restarted pulseaudio. After some time (and my actions) it crashed again with these messages in console: I recompile pulse with CFLAGS="-ggdb" and glibc with debug. I think that gdb is additional factor and can affect result, so I analyze coredump, not running program. Result is attached.

Changed 3 years ago by Yaroslav

Sorry, old version :) delete "with these messages in console:"

Changed 3 years ago by Yaroslav

Changed 3 years ago by Yaroslav

pulseaudio just crashed with another error

Changed 3 years ago by Yaroslav

Changed 3 years ago by Yaroslav

And another crash, now with message: E: memblock.c: Assertion 'segment->n_blocks >= 1' failed at pulsecore/memblock.c:522, function memblock_free(). Aborting.

Changed 3 years ago by Yaroslav

Changed 3 years ago by Yaroslav

Changed 3 years ago by Yaroslav

Last one (gdb-pulse5.log) was also with these messages:

*** glibc detected *** pulseaudio: free(): invalid next size (fast): 0x0000000002103750 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f434de8e282]
/lib/libc.so.6(cfree+0x75)[0x7f434de8fba3]
/usr/lib/libpulse.so.0(pa_xfree+0x26)[0x7f4350bb56c1]
/usr/lib/libpulse.so.0[0x7f4350b9ce14]
/usr/lib/libpulse.so.0(pa_proplist_clear+0x79)[0x7f4350b9f06a]
/usr/lib/libpulse.so.0(pa_proplist_free+0x79)[0x7f4350b9ceb1]
/usr/lib/libpulsecore-0.9.16.so(pa_client_free+0x294)[0x7f4350de78ab]
/usr/lib64/pulse-0.9.16/modules/libprotocol-native.so[0x7f4346fdcdac]
/usr/lib/libpulsecore-0.9.16.so(pa_object_unref+0xfe)[0x7f4350df6c4e]
/usr/lib64/pulse-0.9.16/modules/libprotocol-native.so[0x7f4346fdcccf]
/usr/lib64/pulse-0.9.16/modules/libprotocol-native.so[0x7f4346fdccb0]
/usr/lib64/pulse-0.9.16/modules/libprotocol-native.so[0x7f4346fe8491]
/usr/lib/libpulsecommon-0.9.16.so[0x7f435094ac4e]
/usr/lib/libpulsecommon-0.9.16.so[0x7f435094adcc]
/usr/lib/libpulsecommon-0.9.16.so[0x7f4350934246]
/usr/lib/libpulse.so.0[0x7f4350b9b006]
/usr/lib/libpulse.so.0(pa_mainloop_dispatch+0x152)[0x7f4350b9bcbf]
/usr/lib/libpulse.so.0(pa_mainloop_iterate+0xbd)[0x7f4350b9be3d]
/usr/lib/libpulse.so.0(pa_mainloop_run+0x22)[0x7f4350b9be99]
pulseaudio(main+0x19d9)[0x40ce36]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f434de3d56e]
pulseaudio[0x404bf1]
======= Memory map: ========
00400000-00413000 r-xp 00000000 08:12 753759                             /usr/bin/pulseaudio
00612000-00613000 r--p 00012000 08:12 753759                             /usr/bin/pulseaudio
00613000-00614000 rw-p 00013000 08:12 753759                             /usr/bin/pulseaudio
02023000-02125000 rw-p 00000000 00:00 0                                  [heap]
7f433a3b4000-7f433e3b5000 r--s 00000000 00:0e 8670361                    /dev/shm/pulse-shm-1988605844
7f4340000000-7f4340021000 rw-p 00000000 00:00 0 
7f4340021000-7f4344000000 ---p 00000000 00:00 0 
7f43461a1000-7f43461b6000 r-xp 00000000 08:12 35954                      /lib64/libgcc_s.so.1
7f43461b6000-7f43463b5000 ---p 00015000 08:12 35954                      /lib64/libgcc_s.so.1
7f43463b5000-7f43463b6000 r--p 00014000 08:12 35954                      /lib64/libgcc_s.so.1
7f43463b6000-7f43463b7000 rw-p 00015000 08:12 35954                      /lib64/libgcc_s.so.1
7f43463b7000-7f43463bb000 r-xp 00000000 08:12 753793                     /usr/lib64/pulse-0.9.16/modules/module-console-kit.so
7f43463bb000-7f43465ba000 ---p 00004000 08:12 753793                     /usr/lib64/pulse-0.9.16/modules/module-console-kit.so
7f43465ba000-7f43465bb000 r--p 00003000 08:12 753793                     /usr/lib64/pulse-0.9.16/modules/module-console-kit.so
7f43465bb000-7f43465bc000 rw-p 00004000 08:12 753793                     /usr/lib64/pulse-0.9.16/modules/module-console-kit.so
7f43465bc000-7f43465c1000 r-xp 00000000 08:12 753855                     /usr/lib64/pulse-0.9.16/modules/module-suspend-on-idle.so
7f43465c1000-7f43467c0000 ---p 00005000 08:12 753855                     /usr/lib64/pulse-0.9.16/modules/module-suspend-on-idle.so
7f43467c0000-7f43467c1000 r--p 00004000 08:12 753855                     /usr/lib64/pulse-0.9.16/modules/module-suspend-on-idle.so
7f43467c1000-7f43467c2000 rw-p 00005000 08:12 753855                     /usr/lib64/pulse-0.9.16/modules/module-suspend-on-idle.so
7f43467c2000-7f43467c4000 r-xp 00000000 08:12 753846                     /usr/lib64/pulse-0.9.16/modules/module-always-sink.so
7f43467c4000-7f43469c4000 ---p 00002000 08:12 753846                     /usr/lib64/pulse-0.9.16/modules/module-always-sink.so
7f43469c4000-7f43469c5000 r--p 00002000 08:12 753846                     /usr/lib64/pulse-0.9.16/modules/module-always-sink.so
7f43469c5000-7f43469c6000 rw-p 00003000 08:12 753846                     /usr/lib64/pulse-0.9.16/modules/module-always-sink.so
7f43469c6000-7f43469c8000 r-xp 00000000 08:12 753849                     /usr/lib64/pulse-0.9.16/modules/module-rescue-streams.so
7f43469c8000-7f4346bc8000 ---p 00002000 08:12 753849                     /usr/lib64/pulse-0.9.16/modules/module-rescue-streams.so
7f4346bc8000-7f4346bc9000 r--p 00002000 08:12 753849                     /usr/lib64/pulse-0.9.16/modules/module-rescue-streams.so
7f4346bc9000-7f4346bca000 rw-p 00003000 08:12 753849                     /usr/lib64/pulse-0.9.16/modules/module-rescue-streams.so
7f4346bca000-7f4346bcd000 r-xp 00000000 08:12 753842                     /usr/lib64/pulse-0.9.16/modules/module-default-device-restore.so
7f4346bcd000-7f4346dcc000 ---p 00003000 08:12 753842                     /usr/lib64/pulse-0.9.16/modules/module-default-device-restore.so
7f4346dcc000-7f4346dcd000 r--p 00002000 08:12 753842                     /usr/lib64/pulse-0.9.16/modules/module-default-device-restore.so
7f4346dcd000-7f4346dce000 rw-p 00003000 08:12 753842                     /usr/lib64/pulse-0.9.16/modules/module-default-device-restore.so
7f4346dce000-7f4346dd1000 r-xp 00000000 08:12 754671                     /usr/lib64/pulse-0.9.16/modules/module-gconf.so
7f4346dd1000-7f4346fd0000 ---p 00003000 08:12 754671                     /usr/lib64/pulse-0.9.16/modules/module-gconf.so
7f4346fd0000-7f4346fd1000 r--p 00002000 08:12 754671                     /usr/lib64/pulse-0.9.16/modules/module-gconf.so
7f4346fd1000-7f4346fd2000 rw-p 00003000 08:12 754671                     /usr/lib64/pulse-0.9.16/modules/module-gconf.so
7f4346fd2000-7f4346fef000 r-xp 00000000 08:12 753775                     /usr/lib64/pulse-0.9.16/modules/libprotocol-native.so
7f4346fef000-7f43471ef000 ---p 0001d000 08:12 753775                     /usr/lib64/pulse-0.9.16/modules/libprotocol-native.so
7f43471ef000-7f43471f0000 r--p 0001d000 08:12 753775                     /usr/lib64/pulse-0.9.16/modules/libprotocol-native.so
7f43471f0000-7f43471f1000 rw-p 0001e000 08:12 753775                     /usr/lib64/pulse-0.9.16/modules/libprotocol-native.so
7f43471f1000-7f43471f4000 r-xp 00000000 08:12 753969                     /usr/lib64/pulse-0.9.16/modules/module-native-protocol-unix.so
7f43471f4000-7f43473f3000 ---p 00003000 08:12 753969                     /usr/lib64/pulse-0.9.16/modules/module-native-protocol-unix.so
7f43473f3000-7f43473f4000 r--p 00002000 08:12 753969                     /usr/lib64/pulse-0.9.16/modules/module-native-protocol-unix.so
7f43473f4000-7f43473f5000 rw-p 00003000 08:12 753969                     /usr/lib64/pulse-0.9.16/modules/module-native-protocol-unix.so
7f43473f5000-7f4347402000 r-xp 00000000 08:12 753781                     /usr/lib64/pulse-0.9.16/modules/libprotocol-esound.so
7f4347402000-7f4347601000 ---p 0000d000 08:12 753781                     /usr/lib64/pulse-0.9.16/modules/libprotocol-esound.so
7f4347601000-7f4347602000 r--p 0000c000 08:12 753781                     /usr/lib64/pulse-0.9.16/modules/libprotocol-esound.so
7f4347602000-7f4347603000 rw-p 0000d000 08:12 753781                     /usr/lib64/pulse-0.9.16/modules/libprotocol-esound.so
7f4347603000-7f4347606000 r-xp 00000000 08:12 753999                     /usr/lib64/pulse-0.9.16/modules/module-esound-protocol-unix.so
7f4347606000-7f4347805000 ---p 00003000 08:12 753999                     /usr/lib64/pulse-0.9.16/modules/module-esound-protocol-unix.so
7f4347805000-7f4347806000 r--p 00002000 08:12 753999                     /usr/lib64/pulse-0.9.16/modules/module-esound-protocol-unix.so
7f4347806000-7f4347807000 rw-p 00003000 08:12 753999                     /usr/lib64/pulse-0.9.16/modules/module-esound-protocol-unix.so
7f4347807000-7f4347808000 ---p 00000000 00:00 0 
7f4347808000-7f4348008000 rw-p 00000000 00:00 0 
7f4348008000-7f4348009000 ---p 00000000 00:00 0 
7f4348009000-7f4348809000 rw-p 00000000 00:00 0 
7f4348809000-7f434880b000 r-xp 00000000 08:12 796218                     /usr/lib64/gconv/KOI8-R.so
7f434880b000-7f4348a0a000 ---p 00002000 08:12 796218                     /usr/lib64/gconv/KOI8-R.so
7f4348a0a000-7f4348a0b000 r--p 00001000 08:12 796218                     /usr/lib64/gconv/KOI8-R.so
7f4348a0b000-7f4348a0c000 rw-p 00002000 08:12 796218                     /usr/lib64/gconv/KOI8-R.so
7f4348a0c000-7f4348acb000 r-xp 00000000 08:12 571663                     /usr/lib64/libasound.so.2.0.0
7f4348acb000-7f4348cca000 ---p 000bf000 08:12 571663                     /usr/lib64/libasound.so.2.0.0
7f4348cca000-7f4348cd0000 r--p 000be000 08:12 571663                     /usr/lib64/libasound.so.2.0.0
7f4348cd0000-7f4348cd2000 rw-p 000c4000 08:12 571663                     /usr/lib64/libasound.so.2.0.0
7f4348cd2000-7f4348d0c000 r-xp 00000000 08:12 754198                     /usr/lib64/pulse-0.9.16/modules/libalsa-util.so
7f4348d0c000-7f4348f0c000 ---p 0003a000 08:12 754198                     /usr/lib64/pulse-0.9.16/modules/libalsa-util.so
7f4348f0c000-7f4348f0d000 r--p 0003a000 08:12 754198                     /usr/lib64/pulse-0.9.16/modules/libalsa-util.so
7f4348f0d000-7f4348f0e000 rw-p 0003b000 08:12 754198                     /usr/lib64/pulse-0.9.16/modules/libalsa-util.so
7f4348f0e000-7f4348f0f000 rw-p 00000000 00:00 0 
7f4348f0f000-7f4348f13000 r-xp 00000000 08:12 754662                     /usr/lib64/pulse-0.9.16/modules/module-alsa-card.so
7f4348f13000-7f4349113000 ---p 00004000 08:12 754662                     /usr/lib64/pulse-0.9.16/modules/module-alsa-card.so
7f4349113000-7f4349114000 r--p 00004000 08:12 754662                     /usr/lib64/pulse-0.9.16/modules/module-alsa-card.so
7f4349114000-7f4349115000 rw-p 00005000 08:12 754662                     /usr/lib64/pulse-0.9.16/modules/module-alsa-card.so
7f4349115000-7f4349124000 r-xp 00000000 08:12 743642                     /usr/lib64/libhal.so.1.0.0
7f4349124000-7f4349323000 ---p 0000f000 08:12 743642                     /usr/lib64/libhal.so.1.0.0
7f4349323000-7f4349324000 r--p 0000e000 08:12 743642                     /usr/lib64/libhal.so.1.0.0
7f4349324000-7f4349325000 rw-p 0000f000 08:12 743642                     /usr/lib64/libhal.so.1.0.0
7f4349325000-7f434932b000 r-xp 00000000 08:12 754675                     /usr/lib64/pulse-0.9.16/modules/module-hal-detect.so
7f434932b000-7f434952b000 ---p 00006000 08:12 754675                     /usr/lib64/pulse-0.9.16/modules/module-hal-detect.so
7f434952b000-7f434952c000 r--p 00006000 08:12 754675                     /usr/lib64/pulse-0.9.16/modules/module-hal-detect.so
7f434952c000-7f434952d000 rw-p 00007000 08:12 754675                     /usr/lib64/pulse-0.9.16/modules/module-hal-detect.so
7f434952d000-7f4349531000 r-xp 00000000 08:12 753899                     /usr/lib64/pulse-0.9.16/modules/module-augment-properties.so
7f4349531000-7f4349730000 ---p 00004000 08:12 753899                     /usr/lib64/pulse-0.9.16/modules/module-augment-properties.so
7f4349730000-7f4349731000 r--p 00003000 08:12 753899                     /usr/lib64/pulse-0.9.16/modules/module-augment-properties.so
7f4349731000-7f4349732000 rw-p 00004000 08:12 753899                     /usr/lib64/pulse-0.9.16/modules/module-augment-properties.so
7f4349732000-7f4349737000 r-xp 00000000 08:12 753832                     /usr/lib64/pulse-0.9.16/modules/module-device-restore.so
7f4349737000-7f4349937000 ---p 00005000 08:12 753832                     /usr/lib64/pulse-0.9.16/modules/module-device-restore.so
7f4349937000-7f4349938000 r--p 00005000 08:12 753832                     /usr/lib64/pulse-0.9.16/modules/module-device-restore.so
7f4349938000-7f4349939000 rw-p 00006000 08:12 753832                     /usr/lib64/pulse-0.9.16/modules/module-device-restore.so
7f4349939000-7f434d93a000 rw-s 00000000 00:0e 8669718                    /dev/shm/pulse-shm-4215551095
7f434d93a000-7f434dc1a000 r--p 00000000 08:12 705179                     /usr/lib64/locale/locale-archive
7f434dc1a000-7f434dc1e000 r-xp 00000000 08:12 614294                     /lib64/libattr.so.1.1.0
7f434dc1e000-7f434de1d000 ---p 00004000 08:12 614294                     /lib64/libattr.so.1.1.0
7f434de1d000-7f434de1e000 r--p 00003000 08:12 614294                     /lib64/libattr.so.1.1.0
7f434de1e000-7f434de1f000 rw-p 00004000 08:12 614294                     /lib64/libattr.so.1.1.0
7f434de1f000-7f434df5e000 r-xp 00000000 08:12 760210                     /lib64/libc-2.9.so
7f434df5e000-7f434e15d000 ---p 0013f000 08:12 760210                     /lib64/libc-2.9.so
7f434e15d000-7f434e161000 r--p 0013e000 08:12 760210                     /lib64/libc-2.9.so
7f434e161000-7f434e162000 rw-p 00142000 08:12 760210                     /lib64/libc-2.9.so
7f434e162000-7f434e167000 rw-p 00000000 00:00 0 
7f434e167000-7f434e17c000 r-xp 00000000 08:12 760386                     /lib64/libpthread-2.9.so
7f434e17c000-7f434e37c000 ---p 00015000 08:12 760386                     /lib64/libpthread-2.9.so
7f434e37c000-7f434e37d000 r--p 00015000 08:12 760386                     /lib64/libpthread-2.9.so
7f434e37d000-7f434e37e000 rw-p 00016000 08:12 760386                     /lib64/libpthread-2.9.so
7f434e37e000-7f434e382000 rw-p 00000000 00:00 0 
7f434e382000-7f434e401000 r-xp 00000000 08:12 760382                     /lib64/libm-2.9.so
7f434e401000-7f434e600000 ---p 0007f000 08:12 760382                     /lib64/libm-2.9.so
7f434e600000-7f434e601000 r--p 0007e000 08:12 760382                     /lib64/libm-2.9.so
7f434e601000-7f434e602000 rw-p 0007f000 08:12 760382                     /lib64/libm-2.9.so
7f434e602000-7f434e604000 r-xp 00000000 08:12 760383                     /lib64/libdl-2.9.so
7f434e604000-7f434e804000 ---p 00002000 08:12 760383                     /lib64/libdl-2.9.so
7f434e804000-7f434e805000 r--Аварийный останов (core dumped)

Changed 3 years ago by lennart

Hmm, this is weird. You seem to be hitting quite a few assert()s here, all over the place. Which is a bit surprising since on Fedora Rawhide we have about *zero* of those.

Do you think you are able to run PA through valgrind? This should give us a few hints what might be going wrong.

Which PA version is this exactly?

Changed 3 years ago by Yaroslav

I use pulseaudio-0.9.16-test3 (pulseaudio-0.9.16_rc3.ebuild from portage) on Linux 2.6.30, glibs is 2.9_p20081201-r2 (git snapshot, stable package).

How can I run PulseAudio through valgrind? I install it and what to do now?

Changed 3 years ago by Yaroslav

Hmm, I restart pulseaudio with valgrind --log-file=log --leak-check=full --leak-resolution=med --trace-children=yes pulseaudio It's ve-ery slow and crackling, but works. Because of some strange conditions, I can't reach a crushed state, but valgrind is very verbose. After I restart pulseaudio and try to actively chatting, pulseaudio crashes again with:

*** glibc detected *** pulseaudio: free(): invalid next size (fast): 0x0000000001605ac0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f1ef5007282]
/lib/libc.so.6(cfree+0x75)[0x7f1ef5008ba3]
/usr/lib/libpulse.so.0(pa_xfree+0x1f)[0x7f1ef7d0a66f]
/usr/lib/libpulse.so.0[0x7f1ef7cf93b6]
/usr/lib/libpulse.so.0(pa_proplist_clear+0x17)[0x7f1ef7cf9424]
/usr/lib/libpulse.so.0(pa_proplist_free+0x12)[0x7f1ef7cfa4c7]
/usr/lib/libpulsecore-0.9.16.so(pa_client_free+0xe0)[0x7f1ef7f39b21]
/usr/lib64/pulse-0.9.16/modules/libprotocol-native.so[0x7f1eee16c41e]
/usr/lib64/pulse-0.9.16/modules/libprotocol-native.so[0x7f1eee16c0c5]
/usr/lib/libpulsecommon-0.9.16.so[0x7f1ef7ab9773]
/usr/lib/libpulse.so.0(pa_mainloop_dispatch+0x1a2)[0x7f1ef7cf7cea]
/usr/lib/libpulse.so.0(pa_mainloop_iterate+0x3b)[0x7f1ef7cf7fa5]
/usr/lib/libpulse.so.0(pa_mainloop_run+0x1c)[0x7f1ef7cf803d]
pulseaudio(main+0x1666)[0x40a859]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f1ef4fb656e]
pulseaudio[0x404ae9]
======= Memory map: ========
00400000-00411000 r-xp 00000000 08:12 25322                              /usr/bin/pulseaudio
00610000-00611000 r--p 00010000 08:12 25322                              /usr/bin/pulseaudio
00611000-00612000 rw-p 00011000 08:12 25322                              /usr/bin/pulseaudio
0154f000-01630000 rw-p 00000000 00:00 0                                  [heap]
7f1edd541000-7f1ee1542000 r--s 00000000 00:0e 10724902                   /dev/shm/pulse-shm-1933434007
7f1ee4000000-7f1ee4021000 rw-p 00000000 00:00 0 
7f1ee4021000-7f1ee8000000 ---p 00000000 00:00 0 
7f1ee932e000-7f1ee9343000 r-xp 00000000 08:12 35954                      /lib64/libgcc_s.so.1
7f1ee9343000-7f1ee9542000 ---p 00015000 08:12 35954                      /lib64/libgcc_s.so.1
7f1ee9542000-7f1ee9543000 r--p 00014000 08:12 35954                      /lib64/libgcc_s.so.1
7f1ee9543000-7f1ee9544000 rw-p 00015000 08:12 35954                      /lib64/libgcc_s.so.1
7f1ee9544000-7f1eed545000 r--s 00000000 00:0e 10724914                   /dev/shm/pulse-shm-213353423
7f1eed545000-7f1eed549000 r-xp 00000000 08:12 25411                      /usr/lib64/pulse-0.9.16/modules/module-console-kit.so
7f1eed549000-7f1eed748000 ---p 00004000 08:12 25411                      /usr/lib64/pulse-0.9.16/modules/module-console-kit.so
7f1eed748000-7f1eed749000 r--p 00003000 08:12 25411                      /usr/lib64/pulse-0.9.16/modules/module-console-kit.so
7f1eed749000-7f1eed74a000 rw-p 00004000 08:12 25411                      /usr/lib64/pulse-0.9.16/modules/module-console-kit.so
7f1eed74a000-7f1eed74f000 r-xp 00000000 08:12 25403                      /usr/lib64/pulse-0.9.16/modules/module-suspend-on-idle.so
7f1eed74f000-7f1eed94e000 ---p 00005000 08:12 25403                      /usr/lib64/pulse-0.9.16/modules/module-suspend-on-idle.so
7f1eed94e000-7f1eed94f000 r--p 00004000 08:12 25403                      /usr/lib64/pulse-0.9.16/modules/module-suspend-on-idle.so
7f1eed94f000-7f1eed950000 rw-p 00005000 08:12 25403                      /usr/lib64/pulse-0.9.16/modules/module-suspend-on-idle.so
7f1eed950000-7f1eed952000 r-xp 00000000 08:12 25413                      /usr/lib64/pulse-0.9.16/modules/module-always-sink.so
7f1eed952000-7f1eedb51000 ---p 00002000 08:12 25413                      /usr/lib64/pulse-0.9.16/modules/module-always-sink.so
7f1eedb51000-7f1eedb52000 r--p 00001000 08:12 25413                      /usr/lib64/pulse-0.9.16/modules/module-always-sink.so
7f1eedb52000-7f1eedb53000 rw-p 00002000 08:12 25413                      /usr/lib64/pulse-0.9.16/modules/module-always-sink.so
7f1eedb53000-7f1eedb55000 r-xp 00000000 08:12 25380                      /usr/lib64/pulse-0.9.16/modules/module-rescue-streams.so
7f1eedb55000-7f1eedd54000 ---p 00002000 08:12 25380                      /usr/lib64/pulse-0.9.16/modules/module-rescue-streams.so
7f1eedd54000-7f1eedd55000 r--p 00001000 08:12 25380                      /usr/lib64/pulse-0.9.16/modules/module-rescue-streams.so
7f1eedd55000-7f1eedd56000 rw-p 00002000 08:12 25380                      /usr/lib64/pulse-0.9.16/modules/module-rescue-streams.so
7f1eedd56000-7f1eedd58000 r-xp 00000000 08:12 25422                      /usr/lib64/pulse-0.9.16/modules/module-default-device-restore.so
7f1eedd58000-7f1eedf58000 ---p 00002000 08:12 25422                      /usr/lib64/pulse-0.9.16/modules/module-default-device-restore.so
7f1eedf58000-7f1eedf59000 r--p 00002000 08:12 25422                      /usr/lib64/pulseАварийный останов

So, I attach valgrind's log

BTW. Please, can you make CWD of pulseauido equal to $HOME? Because if it is run as a non-root user, CWD is still "/" and pulseaudio can't make a coredump (because I don't have rights to write to "/")

Changed 3 years ago by Yaroslav

Changed 2 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.9.16

I believe this has been fixed in a more recent PA snapshot from git. Could you verify? If you can reproduce this, please reopen and append valgrind output of a build with full debug symbols.

Instead of fiddling with CWD for coredumps it is probably a batter idea to use /proc/sys/kernel/core_pattern and to redirect the dumps into a fixed syste directory.

BTW: it's not recommended to use gdbm anymore as database. Use tdb instead.

Changed 2 years ago by Yaroslav

  • status changed from closed to reopened
  • resolution fixed deleted

Problem still exist in 0.9.17, I run pulseaudio under valgrind, and after some chatting it crashed

Changed 2 years ago by Yaroslav

  • attachment log added

valgrind log (0.9.17)

Changed 2 years ago by lennart

  • milestone changed from 0.9.16 to 0.9.18

Changed 2 years ago by lennart

That valgrind output is very enlighting. It would be better still if I could convince you to redo it with debug symbols enabled?

Changed 2 years ago by lennart

(valgrind is constantly broken on fedora rawhide, that's why i am asking)

Changed 2 years ago by lennart

  • status changed from reopened to closed
  • resolution set to fixed

OK, I think r996051e fixes this for good now. This one was hard to find. Please verify and reopen if this doesn't fix the prob (which would make me very sad... :-()

Changed 2 years ago by Yaroslav

Thanks, it works! I update to 0.9.18 and here is result:

ps aux | grep pulse
yar       4848  1.4  0.8 379488 33588 ?        S<sl Sep27 108:53 /usr/bin/pulseaudio --start --log-target=syslog
Note: See TracTickets for help on using tickets.