Ticket #800: pulseaudio_gdb

File pulseaudio_gdb, 2.8 kB (added by maginot, 2 years ago)

Last debug

Line 
1$ LD_BIND_NOW=1 gdb pulseaudio
2GNU gdb (GDB) 7.0
3Copyright (C) 2009 Free Software Foundation, Inc.
4License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
5This is free software: you are free to change and redistribute it.
6There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
7and "show warranty" for details.
8This GDB was configured as "i686-pc-linux-gnu".
9For bug reporting instructions, please see:
10<http://www.gnu.org/software/gdb/bugs/>...
11Reading symbols from /usr/bin/pulseaudio...done.
12(gdb) r
13Starting program: /usr/bin/pulseaudio
14[Thread debugging using libthread_db enabled]
15W: pid.c: Stale PID file, overwriting.
16E: fdsem.c: Assertion 'pa_atomic_dec(&f->data->waiting) >= 1' failed at pulsecore/fdsem.c:283, function pa_fdsem_before_poll(). Aborting.
17
18Program received signal SIGABRT, Aborted.
190xb7fde422 in __kernel_vsyscall ()
20(gdb) bt
21#0  0xb7fde422 in __kernel_vsyscall ()
22#1  0xb79b99a2 in raise () from /lib/libc.so.6
23#2  0xb79bb2e0 in abort () from /lib/libc.so.6
24#3  0xb7f78a3f in pa_fdsem_before_poll (f=0x809cd60) at pulsecore/fdsem.c:283
25#4  0xb7f62dae in pa_asyncq_read_before_poll (l=0x809c938) at pulsecore/asyncq.c:282
26#5  0xb7f61396 in pa_asyncmsgq_read_before_poll (a=0x809bc80) at pulsecore/asyncmsgq.c:294
27#6  0xb7fbc452 in pa_thread_mq_init (q=0x809bbc8, mainloop=0x80811c0, rtpoll=0x809bbf8) at pulsecore/thread-mq.c:94
28#7  0xb36da999 in module_null_sink_LTX_pa__init (m=0x809b770) at modules/module-null-sink.c:283
29#8  0xb7f7bfda in pa_module_load (c=0x80823a0, name=0xb36de4e7 "module-null-sink",
30    argument=0x809b5f8 "sink_name=auto_null sink_properties='device.description=\"Saída fictícia\"'") at pulsecore/module.c:112
31#9  0xb36ddf4b in load_null_sink_if_needed (c=0x80823a0, sink=<value optimized out>, u=0x8099e60) at modules/module-always-sink.c:84
32#10 0xb36de1ab in module_always_sink_LTX_pa__init (m=0x809a7d0) at modules/module-always-sink.c:168
33#11 0xb7f7bfda in pa_module_load (c=0x80823a0, name=0x809a8e0 "module-always-sink", argument=0x0) at pulsecore/module.c:112
34#12 0xb7f69095 in pa_cli_command_load (c=0x80823a0, t=0x807ef50, buf=0x807e898, fail=0x8059975) at pulsecore/cli-command.c:426
35#13 0xb7f63997 in pa_cli_command_execute_line_stateful (c=0x80823a0, s=0xbfffef38 "load-module module-always-sink", buf=0x807e898, fail=0x8059975, ifstate=0xbffff338)
36    at pulsecore/cli-command.c:1744
37#14 0xb7f641d7 in pa_cli_command_execute_file_stream (c=0x80823a0, f=0x8084ff0, buf=0x807e898, fail=0x8059975) at pulsecore/cli-command.c:1784
38#15 0x08052c28 in main (argc=1, argv=0xbffff494) at daemon/main.c:930
39
40(gdb) p {pa_fdsem}0x809c938
41  {fds = {256, 0}, efd = 0, data = 0x809bc98}
42(gdb) p {pa_fdsem}0x809cd60
43  {fds = {-1, -1}, efd = 21, data = 0x809cd70}
44(gdb) p {pa_fdsem_data}0x809cd70
45  {waiting = {value = 4294967295}, signalled = {value = 0}, in_pipe = {value = 0}}
46
47
48