Comment 6 for bug 418448

Revision history for this message
Daniel T Chen (crimsun) wrote :

To help debug, please install gdb, valgrind, and libc6-dbg.

Here are instructions for valgrind and gdb:

16:34 < dtchen> just make you've set pulseaudio to not respawn:
16:34 < dtchen> echo autospawn = no|tee ~/.pulse/client.conf
16:34 < dtchen> killall pulseaudio
16:35 < dtchen> G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log pulseaudio -vvvv
16:35 < dtchen> for GDB, it's a bit more complicated:
16:35 < dtchen> (you also need autospawn disabled for GDB)
16:36 < dtchen> gdb pulseaudio 2>&1 | tee ~/gdb-pulseaudio.txt
16:36 < dtchen> set args -vvvv
16:36 < dtchen> handle SIGXCPU SIGPWR SIG33 SIG34 SIG42 SIG43 SIG44 SIG45 SIG46 SIG47 SIG48 SIG49 SIG50 SIG51 SIG52 SIG53 SIG63 SIG62 SIG61 SIG60 SIG59 SIG58 nostop noprint
16:36 < dtchen> set pagination 0
16:36 < dtchen> run