| 1 | [martin@lynx ~]$ LD_BIND_NOW=1 gdb pulseaudio |
|---|
| 2 | GNU gdb (GDB) Fedora (6.8.50.20090302-38.fc11) |
|---|
| 3 | Copyright (C) 2009 Free Software Foundation, Inc. |
|---|
| 4 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |
|---|
| 5 | This is free software: you are free to change and redistribute it. |
|---|
| 6 | There is NO WARRANTY, to the extent permitted by law. Type "show copying" |
|---|
| 7 | and "show warranty" for details. |
|---|
| 8 | This GDB was configured as "i586-redhat-linux-gnu". |
|---|
| 9 | For bug reporting instructions, please see: |
|---|
| 10 | <http://www.gnu.org/software/gdb/bugs/>... |
|---|
| 11 | (gdb) 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 |
|---|
| 12 | Signal Stop Print Pass to program Description |
|---|
| 13 | SIGXCPU No No Yes CPU time limit exceeded |
|---|
| 14 | SIGPWR No No Yes Power fail/restart |
|---|
| 15 | SIG33 No No Yes Real-time event 33 |
|---|
| 16 | SIG34 No No Yes Real-time event 34 |
|---|
| 17 | SIG42 No No Yes Real-time event 42 |
|---|
| 18 | SIG43 No No Yes Real-time event 43 |
|---|
| 19 | SIG44 No No Yes Real-time event 44 |
|---|
| 20 | SIG45 No No Yes Real-time event 45 |
|---|
| 21 | SIG46 No No Yes Real-time event 46 |
|---|
| 22 | SIG47 No No Yes Real-time event 47 |
|---|
| 23 | SIG48 No No Yes Real-time event 48 |
|---|
| 24 | SIG49 No No Yes Real-time event 49 |
|---|
| 25 | SIG50 No No Yes Real-time event 50 |
|---|
| 26 | SIG51 No No Yes Real-time event 51 |
|---|
| 27 | SIG52 No No Yes Real-time event 52 |
|---|
| 28 | SIG53 No No Yes Real-time event 53 |
|---|
| 29 | SIG58 No No Yes Real-time event 58 |
|---|
| 30 | SIG59 No No Yes Real-time event 59 |
|---|
| 31 | SIG60 No No Yes Real-time event 60 |
|---|
| 32 | SIG61 No No Yes Real-time event 61 |
|---|
| 33 | SIG62 No No Yes Real-time event 62 |
|---|
| 34 | SIG63 No No Yes Real-time event 63 |
|---|
| 35 | (gdb) run |
|---|
| 36 | Starting program: /usr/bin/pulseaudio |
|---|
| 37 | warning: .dynamic section for "/usr/lib/libsamplerate.so.0" is not at the expected address |
|---|
| 38 | warning: difference appears to be caused by prelink, adjusting expectations |
|---|
| 39 | [Thread debugging using libthread_db enabled] |
|---|
| 40 | W: pid.c: Stale PID file, overwriting. |
|---|
| 41 | warning: .dynamic section for "/usr/lib/libhal.so.1" is not at the expected address |
|---|
| 42 | warning: difference appears to be caused by prelink, adjusting expectations |
|---|
| 43 | warning: .dynamic section for "/lib/libasound.so.2" is not at the expected address |
|---|
| 44 | warning: difference appears to be caused by prelink, adjusting expectations |
|---|
| 45 | warning: .dynamic section for "/lib/libudev.so.0" is not at the expected address |
|---|
| 46 | warning: difference appears to be caused by prelink, adjusting expectations |
|---|
| 47 | [New Thread 0xb3cbcb70 (LWP 2630)] |
|---|
| 48 | [New Thread 0xb30ffb70 (LWP 2631)] |
|---|
| 49 | Detaching after fork from child process 2632. |
|---|
| 50 | N: alsa-sink.c: Increasing wakeup watermark to 30,00 ms |
|---|
| 51 | N: alsa-source.c: Increasing minimal latency to 1,00 ms |
|---|
| 52 | N: alsa-source.c: Increasing minimal latency to 2,00 ms |
|---|
| 53 | N: alsa-source.c: Increasing minimal latency to 4,00 ms |
|---|
| 54 | N: alsa-source.c: Increasing minimal latency to 8,00 ms |
|---|
| 55 | N: alsa-source.c: Increasing minimal latency to 16,00 ms |
|---|
| 56 | N: alsa-sink.c: Increasing wakeup watermark to 37,98 ms |
|---|
| 57 | N: alsa-sink.c: Increasing minimal latency to 1,00 ms |
|---|
| 58 | E: memblock.c: Assertion 'length' failed at pulsecore/memblock.c:357, function pa_memblock_new_fixed(). Aborting. |
|---|
| 59 | |
|---|
| 60 | Program received signal SIGABRT, Aborted. |
|---|
| 61 | [Switching to Thread 0xb30ffb70 (LWP 2631)] |
|---|
| 62 | 0x0075b422 in __kernel_vsyscall () |
|---|
| 63 | (gdb) thread apply all bt full |
|---|
| 64 | |
|---|
| 65 | Thread 3 (Thread 0xb30ffb70 (LWP 2631)): |
|---|
| 66 | #0 0x0075b422 in __kernel_vsyscall () |
|---|
| 67 | No symbol table info available. |
|---|
| 68 | #1 0x00b547c1 in *__GI_raise (sig=6) |
|---|
| 69 | at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 |
|---|
| 70 | resultvar = <value optimized out> |
|---|
| 71 | pid = 13197300 |
|---|
| 72 | selftid = 2631 |
|---|
| 73 | #2 0x00b56092 in *__GI_abort () at abort.c:88 |
|---|
| 74 | act = {__sigaction_handler = { |
|---|
| 75 | sa_handler = 0x536894 <pa_sink_input_set_volume+94000>, |
|---|
| 76 | sa_sigaction = 0x536894 <pa_sink_input_set_volume+94000>}, |
|---|
| 77 | sa_mask = {__val = {64608, 0, 143956992, 0, 12, 5816384, 62432, 0, |
|---|
| 78 | 3004166280, 6120570, 143929984, 3004166192, 8202315, 3004278248, |
|---|
| 79 | 3004166200, 6308312, 3004166216, 6047027, 3004171772, 5957092, |
|---|
| 80 | 3004166280, 5816872, 0, 0, 4, 0, 0, 2, 0, 21, 2, 0}}, |
|---|
| 81 | sa_flags = 0, sa_restorer = 0} |
|---|
| 82 | sigs = {__val = {32, 0 <repeats 31 times>}} |
|---|
| 83 | #3 0x005d0086 in pa_memblock_new_fixed (p=0x890a9d0, d=0xb32ac000, length=0, |
|---|
| 84 | read_only=true) at pulsecore/memblock.c:357 |
|---|
| 85 | b = 0x666c5c |
|---|
| 86 | __func__ = "pa_memblock_new_fixed" |
|---|
| 87 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 88 | __PRETTY_FUNCTION__ = "pa_memblock_new_fixed" |
|---|
| 89 | #4 0x00656dc7 in mmap_read (u=0x8958a98, sleep_usec=0xb30ff268, polled=false) |
|---|
| 90 | at modules/alsa/alsa-source.c:438 |
|---|
| 91 | err = 0 |
|---|
| 92 | frames = 0 |
|---|
| 93 | chunk = {memblock = 0x8948c30, index = 0, length = 2176} |
|---|
| 94 | sframes = 544 |
|---|
| 95 | areas = 0xb2518400 |
|---|
| 96 | offset = 0 |
|---|
| 97 | p = 0xb32ac000 |
|---|
| 98 | n = 568 |
|---|
| 99 | n_bytes = 96 |
|---|
| 100 | r = 7001556 |
|---|
| 101 | work_done = true |
|---|
| 102 | max_sleep_usec = 12010 |
|---|
| 103 | process_usec = 3990 |
|---|
| 104 | left_to_record = 548 |
|---|
| 105 | j = 1 |
|---|
| 106 | __func__ = "mmap_read" |
|---|
| 107 | __PRETTY_FUNCTION__ = "mmap_read" |
|---|
| 108 | #5 0x00659980 in thread_func (userdata=0x8958a98) |
|---|
| 109 | at modules/alsa/alsa-source.c:1171 |
|---|
| 110 | work_done = 1 |
|---|
| 111 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 112 | sleep_usec = 0 |
|---|
| 113 | ret = 1 |
|---|
| 114 | u = 0x8958a98 |
|---|
| 115 | revents = 0 |
|---|
| 116 | __func__ = "thread_func" |
|---|
| 117 | __PRETTY_FUNCTION__ = "thread_func" |
|---|
| 118 | #6 0x005f07a4 in internal_thread_func (userdata=0x8962510) |
|---|
| 119 | at pulsecore/thread-posix.c:72 |
|---|
| 120 | t = 0x8962510 |
|---|
| 121 | __func__ = "internal_thread_func" |
|---|
| 122 | __PRETTY_FUNCTION__ = "internal_thread_func" |
|---|
| 123 | #7 0x00cd2935 in start_thread (arg=0xb30ffb70) at pthread_create.c:297 |
|---|
| 124 | __res = <value optimized out> |
|---|
| 125 | __ignore1 = <value optimized out> |
|---|
| 126 | __ignore2 = <value optimized out> |
|---|
| 127 | pd = 0xb30ffb70 |
|---|
| 128 | now = <value optimized out> |
|---|
| 129 | unwind_buf = {cancel_jmp_buf = {{jmp_buf = {13520884, 0, 4001536, |
|---|
| 130 | -1290800120, 837128242, -1269703851}, mask_was_saved = 0}}, |
|---|
| 131 | priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, |
|---|
| 132 | cleanup = 0x0, canceltype = 0}}} |
|---|
| 133 | not_first_call = <value optimized out> |
|---|
| 134 | #8 0x00c0794e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 |
|---|
| 135 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 136 | No locals. |
|---|
| 137 | |
|---|
| 138 | Thread 2 (Thread 0xb3cbcb70 (LWP 2630)): |
|---|
| 139 | #0 0x0075b422 in __kernel_vsyscall () |
|---|
| 140 | No symbol table info available. |
|---|
| 141 | #1 0x00cd9486 in sem_post@@GLIBC_2.1 () |
|---|
| 142 | at ../nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S:63 |
|---|
| 143 | No locals. |
|---|
| 144 | #2 0x005f12fa in pa_semaphore_post (s=0x895b4b8) |
|---|
| 145 | at pulsecore/semaphore-posix.c:55 |
|---|
| 146 | __func__ = "pa_semaphore_post" |
|---|
| 147 | __PRETTY_FUNCTION__ = "pa_semaphore_post" |
|---|
| 148 | #3 0x00781a62 in pa_asyncmsgq_done (a=0x893e230, ret=0) |
|---|
| 149 | at pulsecore/asyncmsgq.c:217 |
|---|
| 150 | __func__ = "pa_asyncmsgq_done" |
|---|
| 151 | __PRETTY_FUNCTION__ = "pa_asyncmsgq_done" |
|---|
| 152 | #4 0x007a7b4a in asyncmsgq_read_work (i=0x893e950) at pulsecore/rtpoll.c:731 |
|---|
| 153 | ret = 0 |
|---|
| 154 | object = 0x89478d0 |
|---|
| 155 | code = 13 |
|---|
| 156 | data = 0x8946fe8 |
|---|
| 157 | chunk = {memblock = 0x0, index = 0, length = 0} |
|---|
| 158 | offset = 0 |
|---|
| 159 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 160 | __func__ = "asyncmsgq_read_work" |
|---|
| 161 | __PRETTY_FUNCTION__ = "asyncmsgq_read_work" |
|---|
| 162 | #5 0x007a6249 in pa_rtpoll_run (p=0x893dfb0, wait=true) |
|---|
| 163 | at pulsecore/rtpoll.c:341 |
|---|
| 164 | k = 1 |
|---|
| 165 | i = 0x893e950 |
|---|
| 166 | r = 0 |
|---|
| 167 | timeout = {tv_sec = 1072780674, tv_usec = 16654094} |
|---|
| 168 | __func__ = "pa_rtpoll_run" |
|---|
| 169 | __PRETTY_FUNCTION__ = "pa_rtpoll_run" |
|---|
| 170 | #6 0x006532c3 in thread_func (userdata=0x893de08) |
|---|
| 171 | at modules/alsa/alsa-sink.c:1347 |
|---|
| 172 | ret = 1 |
|---|
| 173 | u = 0x893de08 |
|---|
| 174 | revents = 0 |
|---|
| 175 | __func__ = "thread_func" |
|---|
| 176 | __PRETTY_FUNCTION__ = "thread_func" |
|---|
| 177 | #7 0x005f07a4 in internal_thread_func (userdata=0x895b198) |
|---|
| 178 | at pulsecore/thread-posix.c:72 |
|---|
| 179 | t = 0x895b198 |
|---|
| 180 | __func__ = "internal_thread_func" |
|---|
| 181 | __PRETTY_FUNCTION__ = "internal_thread_func" |
|---|
| 182 | #8 0x00cd2935 in start_thread (arg=0xb3cbcb70) at pthread_create.c:297 |
|---|
| 183 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 184 | __res = <value optimized out> |
|---|
| 185 | __ignore1 = <value optimized out> |
|---|
| 186 | __ignore2 = <value optimized out> |
|---|
| 187 | pd = 0xb3cbcb70 |
|---|
| 188 | now = <value optimized out> |
|---|
| 189 | unwind_buf = {cancel_jmp_buf = {{jmp_buf = {13520884, 0, 4001536, |
|---|
| 190 | -1278491640, -1182429133, -1269703851}, mask_was_saved = 0}}, |
|---|
| 191 | priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, |
|---|
| 192 | cleanup = 0x0, canceltype = 0}}} |
|---|
| 193 | not_first_call = <value optimized out> |
|---|
| 194 | #9 0x00c0794e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 |
|---|
| 195 | No locals. |
|---|
| 196 | |
|---|
| 197 | Thread 1 (Thread 0xb7fe1750 (LWP 2627)): |
|---|
| 198 | #0 0x0075b422 in __kernel_vsyscall () |
|---|
| 199 | No symbol table info available. |
|---|
| 200 | #1 0x00cd9245 in sem_wait@@GLIBC_2.1 () |
|---|
| 201 | at ../nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S:80 |
|---|
| 202 | No locals. |
|---|
| 203 | #2 0x005f13f1 in pa_semaphore_wait (s=0x895b4b8) |
|---|
| 204 | at pulsecore/semaphore-posix.c:63 |
|---|
| 205 | ret = 144028673 |
|---|
| 206 | __func__ = "pa_semaphore_wait" |
|---|
| 207 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 208 | __PRETTY_FUNCTION__ = "pa_semaphore_wait" |
|---|
| 209 | #3 0x007816e7 in pa_asyncmsgq_send (a=0x893e230, object=0x895d708, code=6, |
|---|
| 210 | userdata=0xbfbe01a8, offset=0, chunk=0x0) at pulsecore/asyncmsgq.c:167 |
|---|
| 211 | i = {code = 6, object = 0x895d708, userdata = 0xbfbe01a8, free_cb = 0, |
|---|
| 212 | offset = 0, memchunk = {memblock = 0x0, index = 0, length = 0}, |
|---|
| 213 | semaphore = 0x895b4b8, ret = -1} |
|---|
| 214 | __func__ = "pa_asyncmsgq_send" |
|---|
| 215 | __PRETTY_FUNCTION__ = "pa_asyncmsgq_send" |
|---|
| 216 | #4 0x007cf642 in pa_source_get_latency (s=0x895d708) at pulsecore/source.c:626 |
|---|
| 217 | usec = 25356948966605304 |
|---|
| 218 | __func__ = "pa_source_get_latency" |
|---|
| 219 | __PRETTY_FUNCTION__ = "pa_source_get_latency" |
|---|
| 220 | #5 0x005290ec in source_fill_tagstruct (c=0x893c140, t=0x893a770, |
|---|
| 221 | source=0x895d708) at pulsecore/protocol-native.c:2855 |
|---|
| 222 | fixed_ss = {format = PA_SAMPLE_S16LE, rate = 44100, channels = 2 '\2'} |
|---|
| 223 | __func__ = "source_fill_tagstruct" |
|---|
| 224 | __PRETTY_FUNCTION__ = "source_fill_tagstruct" |
|---|
| 225 | #6 0x0052a577 in command_get_info (pd=0x893e280, command=23, tag=57, |
|---|
| 226 | t=0x8957728, userdata=0x893c140) at pulsecore/protocol-native.c:3103 |
|---|
| 227 | c = 0x893c140 |
|---|
| 228 | idx = 0 |
|---|
| 229 | sink = 0x0 |
|---|
| 230 | source = 0x895d708 |
|---|
| 231 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 232 | client = 0x0 |
|---|
| 233 | card = 0x0 |
|---|
| 234 | module = 0x0 |
|---|
| 235 | si = 0x0 |
|---|
| 236 | so = 0x0 |
|---|
| 237 | sce = 0x0 |
|---|
| 238 | name = 0x0 |
|---|
| 239 | reply = 0x893a770 |
|---|
| 240 | __func__ = "command_get_info" |
|---|
| 241 | __PRETTY_FUNCTION__ = "command_get_info" |
|---|
| 242 | #7 0x005da2a0 in pa_pdispatch_run (pd=0x893e280, packet=0x893b7d0, |
|---|
| 243 | creds=0x893dc38, userdata=0x893c140) at pulsecore/pdispatch.c:326 |
|---|
| 244 | c = 0x5365dc |
|---|
| 245 | tag = 57 |
|---|
| 246 | command = 23 |
|---|
| 247 | ts = 0x8957728 |
|---|
| 248 | ret = -1 |
|---|
| 249 | __func__ = "pa_pdispatch_run" |
|---|
| 250 | __PRETTY_FUNCTION__ = "pa_pdispatch_run" |
|---|
| 251 | #8 0x0052eed4 in pstream_packet_callback (p=0x893db70, packet=0x893b7d0, |
|---|
| 252 | creds=0x893dc38, userdata=0x893c140) at pulsecore/protocol-native.c:4241 |
|---|
| 253 | c = 0x893c140 |
|---|
| 254 | __func__ = "pstream_packet_callback" |
|---|
| 255 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 256 | __PRETTY_FUNCTION__ = "pstream_packet_callback" |
|---|
| 257 | #9 0x005e031f in do_read (p=0x893db70) at pulsecore/pstream.c:816 |
|---|
| 258 | d = 0x893b7e0 |
|---|
| 259 | l = 16 |
|---|
| 260 | r = 16 |
|---|
| 261 | release_memblock = 0x0 |
|---|
| 262 | __func__ = "do_read" |
|---|
| 263 | __PRETTY_FUNCTION__ = "do_read" |
|---|
| 264 | #10 0x005ddaa1 in do_something (p=0x893db70) at pulsecore/pstream.c:184 |
|---|
| 265 | __func__ = "do_something" |
|---|
| 266 | __PRETTY_FUNCTION__ = "do_something" |
|---|
| 267 | #11 0x005ddcc3 in io_callback (io=0x893da40, userdata=0x893db70) |
|---|
| 268 | at pulsecore/pstream.c:213 |
|---|
| 269 | p = 0x893db70 |
|---|
| 270 | __func__ = "io_callback" |
|---|
| 271 | __PRETTY_FUNCTION__ = "io_callback" |
|---|
| 272 | #12 0x005c7885 in callback (m=0x890a7dc, e=0x893dac0, fd=9, |
|---|
| 273 | f=PA_IO_EVENT_INPUT, userdata=0x893da40) at pulsecore/iochannel.c:119 |
|---|
| 274 | io = 0x893da40 |
|---|
| 275 | changed = true |
|---|
| 276 | __func__ = "callback" |
|---|
| 277 | __PRETTY_FUNCTION__ = "callback" |
|---|
| 278 | #13 0x00587da1 in dispatch_pollfds (m=0x890a7a0) at pulse/mainloop.c:683 |
|---|
| 279 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 280 | e = 0x893dac0 |
|---|
| 281 | r = 0 |
|---|
| 282 | k = 1 |
|---|
| 283 | __func__ = "dispatch_pollfds" |
|---|
| 284 | __PRETTY_FUNCTION__ = "dispatch_pollfds" |
|---|
| 285 | #14 0x00588ab1 in pa_mainloop_dispatch (m=0x890a7a0) at pulse/mainloop.c:896 |
|---|
| 286 | dispatched = 0 |
|---|
| 287 | __func__ = "pa_mainloop_dispatch" |
|---|
| 288 | __PRETTY_FUNCTION__ = "pa_mainloop_dispatch" |
|---|
| 289 | #15 0x00588c42 in pa_mainloop_iterate (m=0x890a7a0, block=1, retval=0xbfbe0700) |
|---|
| 290 | at pulse/mainloop.c:926 |
|---|
| 291 | r = 1 |
|---|
| 292 | __func__ = "pa_mainloop_iterate" |
|---|
| 293 | __PRETTY_FUNCTION__ = "pa_mainloop_iterate" |
|---|
| 294 | #16 0x00588ca8 in pa_mainloop_run (m=0x890a7a0, retval=0xbfbe0700) |
|---|
| 295 | at pulse/mainloop.c:941 |
|---|
| 296 | r = 1 |
|---|
| 297 | #17 0x080548e2 in main (argc=1, argv=0xbfbe0814) at daemon/main.c:1032 |
|---|
| 298 | c = 0x890ba78 |
|---|
| 299 | buf = 0x890a5f8 |
|---|
| 300 | conf = 0x8906df0 |
|---|
| 301 | mainloop = 0x890a7a0 |
|---|
| 302 | s = 0x890a790 "" |
|---|
| 303 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 304 | r = 0 |
|---|
| 305 | retval = 0 |
|---|
| 306 | d = 1 |
|---|
| 307 | suid_root = false |
|---|
| 308 | real_root = false |
|---|
| 309 | valid_pid_file = true |
|---|
| 310 | gid = 4294967295 |
|---|
| 311 | ltdl_init = true |
|---|
| 312 | passed_fd = -1 |
|---|
| 313 | e = 0x0 |
|---|
| 314 | daemon_pipe = {-1, -1} |
|---|
| 315 | autospawn_fd = -1 |
|---|
| 316 | autospawn_locked = false |
|---|
| 317 | dbus = 0x893c0b8 |
|---|
| 318 | __func__ = "main" |
|---|
| 319 | __PRETTY_FUNCTION__ = "main" |
|---|
| 320 | (gdb) Quit |
|---|