| 1 | [ngoonee@ngoonee-laptop ~]$ LD_BIND_NOW=1 gdb pulseaudio |
|---|
| 2 | GNU gdb 6.8 |
|---|
| 3 | Copyright (C) 2008 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 "x86_64-unknown-linux-gnu"... |
|---|
| 9 | (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 |
|---|
| 10 | Signal Stop Print Pass to program Description |
|---|
| 11 | SIGXCPU No No Yes CPU time limit exceeded |
|---|
| 12 | SIGPWR No No Yes Power fail/restart |
|---|
| 13 | SIG33 No No Yes Real-time event 33 |
|---|
| 14 | SIG34 No No Yes Real-time event 34 |
|---|
| 15 | SIG42 No No Yes Real-time event 42 |
|---|
| 16 | SIG43 No No Yes Real-time event 43 |
|---|
| 17 | SIG44 No No Yes Real-time event 44 |
|---|
| 18 | SIG45 No No Yes Real-time event 45 |
|---|
| 19 | SIG46 No No Yes Real-time event 46 |
|---|
| 20 | SIG47 No No Yes Real-time event 47 |
|---|
| 21 | SIG48 No No Yes Real-time event 48 |
|---|
| 22 | SIG49 No No Yes Real-time event 49 |
|---|
| 23 | SIG50 No No Yes Real-time event 50 |
|---|
| 24 | SIG51 No No Yes Real-time event 51 |
|---|
| 25 | SIG52 No No Yes Real-time event 52 |
|---|
| 26 | SIG53 No No Yes Real-time event 53 |
|---|
| 27 | SIG58 No No Yes Real-time event 58 |
|---|
| 28 | SIG59 No No Yes Real-time event 59 |
|---|
| 29 | SIG60 No No Yes Real-time event 60 |
|---|
| 30 | SIG61 No No Yes Real-time event 61 |
|---|
| 31 | SIG62 No No Yes Real-time event 62 |
|---|
| 32 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 33 | SIG63 No No Yes Real-time event 63 |
|---|
| 34 | (gdb) run |
|---|
| 35 | Starting program: /usr/bin/pulseaudio |
|---|
| 36 | [Thread debugging using libthread_db enabled] |
|---|
| 37 | W: pid.c: Stale PID file, overwriting. |
|---|
| 38 | [New Thread 0x7f3bce0d8740 (LWP 16577)] |
|---|
| 39 | E: bluetooth-util.c: Error from ListAdapters reply: org.freedesktop.DBus.Error.ServiceUnknown |
|---|
| 40 | [New Thread 0x7f3bc36b2950 (LWP 16581)] |
|---|
| 41 | [New Thread 0x7f3bc2284950 (LWP 16609)] |
|---|
| 42 | [New Thread 0x7f3bc1a83950 (LWP 16611)] |
|---|
| 43 | [New Thread 0x7f3bc1282950 (LWP 16612)] |
|---|
| 44 | [Thread 0x7f3bc36b2950 (LWP 16581) exited] |
|---|
| 45 | [New Thread 0x7f3bc36b2950 (LWP 16621)] |
|---|
| 46 | [New Thread 0x7f3bc385d950 (LWP 16626)] |
|---|
| 47 | W: module-jack-source.c: JACK error >zombified - calling shutdown handler< |
|---|
| 48 | [Thread 0x7f3bc1282950 (LWP 16612) exited] |
|---|
| 49 | [Thread 0x7f3bc2284950 (LWP 16609) exited] |
|---|
| 50 | [New Thread 0x7f3bc2284950 (LWP 16736)] |
|---|
| 51 | |
|---|
| 52 | Program received signal SIGSEGV, Segmentation fault. |
|---|
| 53 | [Switching to Thread 0x7f3bc1a83950 (LWP 16611)] |
|---|
| 54 | 0x00007f3bc228e8c4 in jack_port_get_total_latency () |
|---|
| 55 | from /usr/lib/libjack.so.0 |
|---|
| 56 | (gdb) thread apply all bt full |
|---|
| 57 | |
|---|
| 58 | Thread 8 (Thread 0x7f3bc2284950 (LWP 16736)): |
|---|
| 59 | #0 0x00007f3bca868e95 in ppoll () from /lib/libc.so.6 |
|---|
| 60 | No symbol table info available. |
|---|
| 61 | #1 0x00007f3bcdca4c60 in pa_rtpoll_run (p=0xac9830, wait=true) |
|---|
| 62 | at pulsecore/rtpoll.c:413 |
|---|
| 63 | ts = {tv_sec = 2, tv_nsec = 226871000} |
|---|
| 64 | i = <value optimized out> |
|---|
| 65 | r = <value optimized out> |
|---|
| 66 | timeout = {tv_sec = 2, tv_usec = 226871} |
|---|
| 67 | __func__ = "pa_rtpoll_run" |
|---|
| 68 | __PRETTY_FUNCTION__ = "pa_rtpoll_run" |
|---|
| 69 | #2 0x00007f3bc0be407f in thread_func ( |
|---|
| 70 | userdata=<value optimized out>) |
|---|
| 71 | at modules/module-null-sink.c:238 |
|---|
| 72 | ret = <value optimized out> |
|---|
| 73 | u = (struct userdata *) 0xabefe0 |
|---|
| 74 | __func__ = "thread_func" |
|---|
| 75 | __PRETTY_FUNCTION__ = "thread_func" |
|---|
| 76 | #3 0x00007f3bcd824c50 in internal_thread_func (userdata=0xac4140) |
|---|
| 77 | at pulsecore/thread-posix.c:72 |
|---|
| 78 | __func__ = "internal_thread_func" |
|---|
| 79 | __PRETTY_FUNCTION__ = "internal_thread_func" |
|---|
| 80 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 81 | #4 0x00007f3bcaafcfc7 in start_thread () from /lib/libpthread.so.0 |
|---|
| 82 | No symbol table info available. |
|---|
| 83 | #5 0x00007f3bca8715dd in clone () from /lib/libc.so.6 |
|---|
| 84 | No symbol table info available. |
|---|
| 85 | #6 0x0000000000000000 in ?? () |
|---|
| 86 | No symbol table info available. |
|---|
| 87 | |
|---|
| 88 | Thread 7 (Thread 0x7f3bc385d950 (LWP 16626)): |
|---|
| 89 | #0 0x00007f3bca868c66 in poll () from /lib/libc.so.6 |
|---|
| 90 | No symbol table info available. |
|---|
| 91 | #1 0x00007f3bc228d0c6 in jack_client_core_wait () |
|---|
| 92 | from /usr/lib/libjack.so.0 |
|---|
| 93 | No symbol table info available. |
|---|
| 94 | #2 0x00007f3bc228d50b in jack_thread_wait () |
|---|
| 95 | from /usr/lib/libjack.so.0 |
|---|
| 96 | No symbol table info available. |
|---|
| 97 | #3 0x00007f3bc228d6aa in jack_client_thread () |
|---|
| 98 | from /usr/lib/libjack.so.0 |
|---|
| 99 | No symbol table info available. |
|---|
| 100 | #4 0x00007f3bcaafcfc7 in start_thread () from /lib/libpthread.so.0 |
|---|
| 101 | No symbol table info available. |
|---|
| 102 | #5 0x00007f3bca8715dd in clone () from /lib/libc.so.6 |
|---|
| 103 | No symbol table info available. |
|---|
| 104 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 105 | #6 0x0000000000000000 in ?? () |
|---|
| 106 | No symbol table info available. |
|---|
| 107 | |
|---|
| 108 | Thread 6 (Thread 0x7f3bc36b2950 (LWP 16621)): |
|---|
| 109 | #0 0x00007f3bca868e95 in ppoll () from /lib/libc.so.6 |
|---|
| 110 | No symbol table info available. |
|---|
| 111 | #1 0x00007f3bcdca4c60 in pa_rtpoll_run (p=0xabad40, wait=true) |
|---|
| 112 | at pulsecore/rtpoll.c:413 |
|---|
| 113 | ts = {tv_sec = 0, tv_nsec = 0} |
|---|
| 114 | i = <value optimized out> |
|---|
| 115 | r = <value optimized out> |
|---|
| 116 | timeout = {tv_sec = 0, tv_usec = 0} |
|---|
| 117 | __func__ = "pa_rtpoll_run" |
|---|
| 118 | __PRETTY_FUNCTION__ = "pa_rtpoll_run" |
|---|
| 119 | #2 0x00007f3bc1000561 in thread_func ( |
|---|
| 120 | userdata=<value optimized out>) |
|---|
| 121 | at modules/module-jack-source.c:202 |
|---|
| 122 | ret = -514 |
|---|
| 123 | u = (struct userdata *) 0xaab9d0 |
|---|
| 124 | __func__ = "thread_func" |
|---|
| 125 | __PRETTY_FUNCTION__ = "thread_func" |
|---|
| 126 | #3 0x00007f3bcd824c50 in internal_thread_func (userdata=0xaa6a00) |
|---|
| 127 | at pulsecore/thread-posix.c:72 |
|---|
| 128 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 129 | __func__ = "internal_thread_func" |
|---|
| 130 | __PRETTY_FUNCTION__ = "internal_thread_func" |
|---|
| 131 | #4 0x00007f3bcaafcfc7 in start_thread () from /lib/libpthread.so.0 |
|---|
| 132 | No symbol table info available. |
|---|
| 133 | #5 0x00007f3bca8715dd in clone () from /lib/libc.so.6 |
|---|
| 134 | No symbol table info available. |
|---|
| 135 | #6 0x0000000000000000 in ?? () |
|---|
| 136 | No symbol table info available. |
|---|
| 137 | |
|---|
| 138 | Thread 4 (Thread 0x7f3bc1a83950 (LWP 16611)): |
|---|
| 139 | #0 0x00007f3bc228e8c4 in jack_port_get_total_latency () |
|---|
| 140 | from /usr/lib/libjack.so.0 |
|---|
| 141 | No symbol table info available. |
|---|
| 142 | #1 0x00007f3bc24a2208 in sink_process_msg (o=0xabff70, code=7, |
|---|
| 143 | data=0x7f3bc1a82ea0, offset=0, memchunk=0x0) |
|---|
| 144 | at modules/module-jack-sink.c:175 |
|---|
| 145 | l = <value optimized out> |
|---|
| 146 | ft = <value optimized out> |
|---|
| 147 | d = <value optimized out> |
|---|
| 148 | u = (struct userdata *) 0xabbdd0 |
|---|
| 149 | __func__ = "sink_process_msg" |
|---|
| 150 | __PRETTY_FUNCTION__ = "sink_process_msg" |
|---|
| 151 | #2 0x00007f3bcdcbd00d in pa_sink_process_msg (o=0xabff70, |
|---|
| 152 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 153 | code=<value optimized out>, userdata=<value optimized out>, |
|---|
| 154 | offset=0, chunk=<value optimized out>) at pulsecore/sink.c:1542 |
|---|
| 155 | usec = 0 |
|---|
| 156 | sink_nbytes = <value optimized out> |
|---|
| 157 | total_nbytes = <value optimized out> |
|---|
| 158 | i = (pa_sink_input *) 0xac6ca0 |
|---|
| 159 | __func__ = "pa_sink_process_msg" |
|---|
| 160 | __PRETTY_FUNCTION__ = "pa_sink_process_msg" |
|---|
| 161 | #3 0x00007f3bc24a2151 in sink_process_msg (o=0xabff70, code=10, |
|---|
| 162 | data=0xac6ca0, offset=0, memchunk=0x7f3bc1a82f90) |
|---|
| 163 | at modules/module-jack-sink.c:195 |
|---|
| 164 | u = (struct userdata *) 0xabbdd0 |
|---|
| 165 | __func__ = "sink_process_msg" |
|---|
| 166 | __PRETTY_FUNCTION__ = "sink_process_msg" |
|---|
| 167 | #4 0x00007f3bcdca3904 in asyncmsgq_read_work (i=0xabd470) |
|---|
| 168 | at pulsecore/rtpoll.c:730 |
|---|
| 169 | ret = <value optimized out> |
|---|
| 170 | object = (pa_msgobject *) 0xabff70 |
|---|
| 171 | code = 10 |
|---|
| 172 | data = (void *) 0xac6ca0 |
|---|
| 173 | chunk = {memblock = 0x0, index = 0, length = 0} |
|---|
| 174 | offset = 0 |
|---|
| 175 | __func__ = "asyncmsgq_read_work" |
|---|
| 176 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 177 | __PRETTY_FUNCTION__ = "asyncmsgq_read_work" |
|---|
| 178 | #5 0x00007f3bcdca4b5f in pa_rtpoll_run (p=0xabc060, wait=true) |
|---|
| 179 | at pulsecore/rtpoll.c:341 |
|---|
| 180 | k = <value optimized out> |
|---|
| 181 | i = (pa_rtpoll_item *) 0xabd470 |
|---|
| 182 | r = <value optimized out> |
|---|
| 183 | timeout = {tv_sec = 0, tv_usec = 0} |
|---|
| 184 | __func__ = "pa_rtpoll_run" |
|---|
| 185 | __PRETTY_FUNCTION__ = "pa_rtpoll_run" |
|---|
| 186 | #6 0x00007f3bc24a2889 in thread_func ( |
|---|
| 187 | userdata=<value optimized out>) |
|---|
| 188 | at modules/module-jack-sink.c:235 |
|---|
| 189 | ret = -839773947 |
|---|
| 190 | u = (struct userdata *) 0xabbdd0 |
|---|
| 191 | __func__ = "thread_func" |
|---|
| 192 | __PRETTY_FUNCTION__ = "thread_func" |
|---|
| 193 | #7 0x00007f3bcd824c50 in internal_thread_func (userdata=0xac1b80) |
|---|
| 194 | at pulsecore/thread-posix.c:72 |
|---|
| 195 | __func__ = "internal_thread_func" |
|---|
| 196 | __PRETTY_FUNCTION__ = "internal_thread_func" |
|---|
| 197 | #8 0x00007f3bcaafcfc7 in start_thread () from /lib/libpthread.so.0 |
|---|
| 198 | No symbol table info available. |
|---|
| 199 | #9 0x00007f3bca8715dd in clone () from /lib/libc.so.6 |
|---|
| 200 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 201 | No symbol table info available. |
|---|
| 202 | #10 0x0000000000000000 in ?? () |
|---|
| 203 | No symbol table info available. |
|---|
| 204 | |
|---|
| 205 | Thread 1 (Thread 0x7f3bce0d8740 (LWP 16577)): |
|---|
| 206 | #0 0x00007f3bcab02ba1 in sem_wait () from /lib/libpthread.so.0 |
|---|
| 207 | No symbol table info available. |
|---|
| 208 | #1 0x00007f3bcd824e18 in pa_semaphore_wait (s=0xaab810) |
|---|
| 209 | at pulsecore/semaphore-posix.c:63 |
|---|
| 210 | ret = <value optimized out> |
|---|
| 211 | __func__ = "pa_semaphore_wait" |
|---|
| 212 | __PRETTY_FUNCTION__ = "pa_semaphore_wait" |
|---|
| 213 | #2 0x00007f3bcdc8635a in pa_asyncmsgq_send (a=0xa7e180, |
|---|
| 214 | object=<value optimized out>, code=<value optimized out>, |
|---|
| 215 | userdata=<value optimized out>, offset=<value optimized out>, |
|---|
| 216 | chunk=<value optimized out>) at pulsecore/asyncmsgq.c:167 |
|---|
| 217 | i = {code = 10, object = 0xabff70, userdata = 0xac6ca0, |
|---|
| 218 | free_cb = 0, offset = 0, memchunk = {memblock = 0x0, index = 0, |
|---|
| 219 | length = 0}, semaphore = 0xaab810, ret = -1} |
|---|
| 220 | __func__ = "pa_asyncmsgq_send" |
|---|
| 221 | __PRETTY_FUNCTION__ = "pa_asyncmsgq_send" |
|---|
| 222 | #3 0x00007f3bcdcb3440 in pa_sink_input_start_move (i=0xac6ca0) |
|---|
| 223 | at pulsecore/sink-input.c:1165 |
|---|
| 224 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 225 | p = (pa_source_output *) 0x0 |
|---|
| 226 | r = <value optimized out> |
|---|
| 227 | __func__ = "pa_sink_input_start_move" |
|---|
| 228 | __PRETTY_FUNCTION__ = "pa_sink_input_start_move" |
|---|
| 229 | #4 0x00007f3bcdcb38e2 in pa_sink_input_move_to (i=0xac6ca0, |
|---|
| 230 | dest=0xacb140, save=false) at pulsecore/sink-input.c:1286 |
|---|
| 231 | r = -19 |
|---|
| 232 | __func__ = "pa_sink_input_move_to" |
|---|
| 233 | __PRETTY_FUNCTION__ = "pa_sink_input_move_to" |
|---|
| 234 | #5 0x00007f3bc3aba265 in sink_hook_callback (c=0xa67940, |
|---|
| 235 | sink=0xabff70, userdata=<value optimized out>) |
|---|
| 236 | at modules/module-rescue-streams.c:80 |
|---|
| 237 | target = (pa_sink *) 0xacb140 |
|---|
| 238 | __func__ = "sink_hook_callback" |
|---|
| 239 | __PRETTY_FUNCTION__ = "sink_hook_callback" |
|---|
| 240 | #6 0x00007f3bcdc9a290 in pa_hook_fire (hook=0xa67b78, |
|---|
| 241 | data=0xabff70) at pulsecore/hook-list.c:104 |
|---|
| 242 | slot = (pa_hook_slot *) 0xaa3cc0 |
|---|
| 243 | next = <value optimized out> |
|---|
| 244 | result = PA_HOOK_OK |
|---|
| 245 | __func__ = "pa_hook_fire" |
|---|
| 246 | __PRETTY_FUNCTION__ = "pa_hook_fire" |
|---|
| 247 | #7 0x00007f3bcdcb8a2b in pa_sink_unlink (s=0xabff70) |
|---|
| 248 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 249 | at pulsecore/sink.c:404 |
|---|
| 250 | linked = true |
|---|
| 251 | j = <value optimized out> |
|---|
| 252 | __func__ = "pa_sink_unlink" |
|---|
| 253 | __PRETTY_FUNCTION__ = "pa_sink_unlink" |
|---|
| 254 | #8 0x00007f3bc24a15bb in module_jack_sink_LTX_pa__done ( |
|---|
| 255 | m=<value optimized out>) at modules/module-jack-sink.c:475 |
|---|
| 256 | u = (struct userdata *) 0xabbdd0 |
|---|
| 257 | __func__ = "module_jack_sink_LTX_pa__done" |
|---|
| 258 | __PRETTY_FUNCTION__ = "module_jack_sink_LTX_pa__done" |
|---|
| 259 | #9 0x00007f3bcdc9ba19 in pa_module_free (m=0xaba390) |
|---|
| 260 | at pulsecore/module.c:156 |
|---|
| 261 | __func__ = "pa_module_free" |
|---|
| 262 | __PRETTY_FUNCTION__ = "pa_module_free" |
|---|
| 263 | #10 0x00007f3bcdc96ab0 in core_process_msg (o=0xa67940, code=0, |
|---|
| 264 | userdata=0xaba390, offset=<value optimized out>, |
|---|
| 265 | chunk=<value optimized out>) at pulsecore/core.c:58 |
|---|
| 266 | No locals. |
|---|
| 267 | #11 0x00007f3bcdcc9d7b in asyncmsgq_read_cb ( |
|---|
| 268 | api=<value optimized out>, e=<value optimized out>, |
|---|
| 269 | fd=<value optimized out>, events=<value optimized out>, |
|---|
| 270 | userdata=<value optimized out>) at pulsecore/thread-mq.c:65 |
|---|
| 271 | ret = <value optimized out> |
|---|
| 272 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 273 | data = (void *) 0xaba390 |
|---|
| 274 | chunk = {memblock = 0x0, index = 0, length = 0} |
|---|
| 275 | object = (pa_msgobject *) 0xa67940 |
|---|
| 276 | code = 0 |
|---|
| 277 | offset = 0 |
|---|
| 278 | aq = (pa_asyncmsgq *) 0xab04f0 |
|---|
| 279 | __func__ = "asyncmsgq_read_cb" |
|---|
| 280 | __PRETTY_FUNCTION__ = "asyncmsgq_read_cb" |
|---|
| 281 | #12 0x00007f3bcda526c4 in pa_mainloop_dispatch (m=0xa654a0) |
|---|
| 282 | at pulse/mainloop.c:683 |
|---|
| 283 | dispatched = 0 |
|---|
| 284 | __func__ = "pa_mainloop_dispatch" |
|---|
| 285 | __PRETTY_FUNCTION__ = "pa_mainloop_dispatch" |
|---|
| 286 | #13 0x00007f3bcda52986 in pa_mainloop_iterate (m=0xa654a0, |
|---|
| 287 | block=<value optimized out>, retval=0x7fffd610214c) |
|---|
| 288 | at pulse/mainloop.c:926 |
|---|
| 289 | r = <value optimized out> |
|---|
| 290 | __func__ = "pa_mainloop_iterate" |
|---|
| 291 | __PRETTY_FUNCTION__ = "pa_mainloop_iterate" |
|---|
| 292 | #14 0x00007f3bcda52a40 in pa_mainloop_run (m=0xa654a0, |
|---|
| 293 | retval=0x7fffd610214c) at pulse/mainloop.c:941 |
|---|
| 294 | r = <value optimized out> |
|---|
| 295 | #15 0x000000000040b026 in main (argc=1, argv=<value optimized out>) |
|---|
| 296 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 297 | at daemon/main.c:1054 |
|---|
| 298 | c = <value optimized out> |
|---|
| 299 | buf = (pa_strbuf *) 0xa65290 |
|---|
| 300 | conf = <value optimized out> |
|---|
| 301 | mainloop = <value optimized out> |
|---|
| 302 | s = <value optimized out> |
|---|
| 303 | r = <value optimized out> |
|---|
| 304 | retval = 0 |
|---|
| 305 | d = 1 |
|---|
| 306 | suid_root = <value optimized out> |
|---|
| 307 | real_root = <value optimized out> |
|---|
| 308 | valid_pid_file = true |
|---|
| 309 | gid = 4294967295 |
|---|
| 310 | ltdl_init = <value optimized out> |
|---|
| 311 | passed_fd = <value optimized out> |
|---|
| 312 | e = <value optimized out> |
|---|
| 313 | daemon_pipe = {-1, -1} |
|---|
| 314 | autospawn_fd = -1 |
|---|
| 315 | autospawn_locked = false |
|---|
| 316 | dbus = <value optimized out> |
|---|
| 317 | __func__ = "main" |
|---|
| 318 | __PRETTY_FUNCTION__ = "main" |
|---|
| 319 | #0 0x00007f3bc228e8c4 in jack_port_get_total_latency () |
|---|
| 320 | ---Type <return> to continue, or q <return> to quit--- |
|---|
| 321 | from /usr/lib/libjack.so.0 |
|---|
| 322 | (gdb) q |
|---|
| 323 | The program is running. Exit anyway? (y or n) y |
|---|
| 324 | [ngoonee@ngoonee-laptop ~]$ |
|---|
| 325 | |
|---|