https://bugzilla.novell.com/show_bug.cgi?id=463050
User captain.magnus@opensuse.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=463050#c6
--- Comment #6 from Magnus Boman 2009-01-08 03:46:56 MST ---
I've noticed that something segfaults even before playing music sometimes (just
after running pactl load-module module-alsa-sink device=bluetooth). See
gdb-trace-sidenote.txt and gdb-trace-sidenote-2.txt for that. Not sure if it's
related.
The funny thing is that I actually got music in my BT headset when doing the
gdb session below. It segfault'd when opening the volume control.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe77cf950 (LWP 15317)]
0x00007ffff0364ed2 in snd_pcm_ioplug_poll_revents (pcm=0x6527f0, pfds=0x69d710,
nfds=2, revents=0x7fffe77cf006) at pcm_ioplug.c:689
689 if (io->data->callback->poll_revents)
(gdb) bt full
#0 0x00007ffff0364ed2 in snd_pcm_ioplug_poll_revents (pcm=0x6527f0,
pfds=0x69d710, nfds=2, revents=0x7fffe77cf006) at pcm_ioplug.c:689
io = (ioplug_priv_t *) 0x651e40
#1 0x00007ffff030d55c in snd_pcm_poll_descriptors_revents (pcm=0x69bcb0,
pfds=0x69d710, nfds=2, revents=0x7fffe77cf006) at pcm.c:1448
__PRETTY_FUNCTION__ = "snd_pcm_poll_descriptors_revents"
#2 0x00007ffff07c3d85 in thread_func (userdata=0x667930) at
modules/module-alsa-sink.c:1154
pollfd = (struct pollfd *) 0x69d710
revents = 0
err = 0
n = 2
ret = 1
u = (struct userdata *) 0x667930
__func__ = "thread_func"
__PRETTY_FUNCTION__ = "thread_func"
#3 0x00007ffff7bb457a in internal_thread_func (userdata=0x641810) at
pulsecore/thread-posix.c:72
t = (pa_thread *) 0x641810
__func__ = "internal_thread_func"
__PRETTY_FUNCTION__ = "internal_thread_func"
#4 0x00007ffff5de5070 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007ffff5b580ed in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) t a a bt
Thread 8 (Thread 0x7fffe65b5950 (LWP 15442)):
#0 0x00007ffff5b4f366 in poll () from /lib64/libc.so.6
#1 0x00007fffe79ee0bc in ?? ()
#2 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x7fffe6fce950 (LWP 15353)):
#0 0x00007ffff5b4f5b5 in ppoll () from /lib64/libc.so.6
#1 0x00007ffff7baaeac in pa_rtpoll_run (p=0x69d510, wait=true) at
pulsecore/rtpoll.c:390
#2 0x00007fffef8b6206 in thread_func (userdata=0x651940) at
modules/module-alsa-source.c:974
#3 0x00007ffff7bb457a in internal_thread_func (userdata=0x654b10) at
pulsecore/thread-posix.c:72
#4 0x00007ffff5de5070 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff5b580ed in clone () from /lib64/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fffe77cf950 (LWP 15317)):
#0 0x00007ffff0364ed2 in snd_pcm_ioplug_poll_revents (pcm=0x6527f0,
pfds=0x69d710, nfds=2, revents=0x7fffe77cf006) at pcm_ioplug.c:689
#1 0x00007ffff030d55c in snd_pcm_poll_descriptors_revents (pcm=0x69bcb0,
pfds=0x69d710, nfds=2, revents=0x7fffe77cf006) at pcm.c:1448
#2 0x00007ffff07c3d85 in thread_func (userdata=0x667930) at
modules/module-alsa-sink.c:1154
#3 0x00007ffff7bb457a in internal_thread_func (userdata=0x641810) at
pulsecore/thread-posix.c:72
#4 0x00007ffff5de5070 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff5b580ed in clone () from /lib64/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7fffef8ae950 (LWP 15294)):
#0 0x00007ffff5b4f5b5 in ppoll () from /lib64/libc.so.6
#1 0x00007ffff7baaeac in pa_rtpoll_run (p=0x65f790, wait=true) at
pulsecore/rtpoll.c:390
#2 0x00007fffef8b6206 in thread_func (userdata=0x664b60) at
modules/module-alsa-source.c:974
#3 0x00007ffff7bb457a in internal_thread_func (userdata=0x66f200) at
pulsecore/thread-posix.c:72
#4 0x00007ffff5de5070 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff5b580ed in clone () from /lib64/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7ffff02bb950 (LWP 15293)):
#0 0x00007ffff5b4f5b5 in ppoll () from /lib64/libc.so.6
#1 0x00007ffff7baaeac in pa_rtpoll_run (p=0x626f80, wait=true) at
pulsecore/rtpoll.c:390
#2 0x00007ffff07c3d1d in thread_func (userdata=0x626d60) at
modules/module-alsa-sink.c:1139
#3 0x00007ffff7bb457a in internal_thread_func (userdata=0x661df0) at
pulsecore/thread-posix.c:72
#4 0x00007ffff5de5070 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff5b580ed in clone () from /lib64/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fda790 (LWP 15292)):
#0 0x00007ffff5deac71 in sem_wait () from /lib64/libpthread.so.0
#1 0x00007ffff7bb51a6 in pa_semaphore_wait (s=0x657e90) at
pulsecore/semaphore-posix.c:63
#2 0x00007ffff7ba578b in pa_asyncmsgq_send (a=0x657cd0, object=0x635b40,
code=8, userdata=0x3, offset=0, chunk=0x0) at pulsecore/asyncmsgq.c:167
#3 0x00007ffff7b9af23 in source_set_state (s=0x635b40, state=PA_SOURCE_IDLE)
at pulsecore/source.c:245
#4 0x00007ffff7b9bd3a in pa_source_suspend (s=0x635b40, suspend=false) at
pulsecore/source.c:400
#5 0x00007fffec21d678 in resume (d=0x628f70) at
modules/module-suspend-on-idle.c:124
#6 0x00007fffec21d98b in source_output_fixate_hook_cb (c=0x61b810,
data=0x7fffffffd6d0, u=0x695950) at modules/module-suspend-on-idle.c:151
#7 0x00007ffff7ba344f in pa_hook_fire (hook=0x61bbb8, data=0x7fffffffd6d0) at
pulsecore/hook-list.c:104
#8 0x00007ffff7b9efe1 in pa_source_output_new (core=0x61b810,
data=0x7fffffffd6d0, flags=PA_SOURCE_OUTPUT_DONT_MOVE) at
pulsecore/source-output.c:155
#9 0x00007fffeda5e339 in record_stream_new (c=0x642a60, source=0x635b40,
ss=0x7fffffffd8e0, map=0x7fffffffd850, peak_detect=true,
maxlength=0x7fffffffd914, fragsize=0x7fffffffd910,
flags=PA_SOURCE_OUTPUT_DONT_MOVE, p=0x6aa6c0,
adjust_latency=true, direct_on_input=0x0, early_requests=false) at
pulsecore/protocol-native.c:619
#10 0x00007fffeda631ac in command_create_record_stream (pd=0x6a6d50, command=5,
tag=13, t=0x6aac90, userdata=0x642a60) at pulsecore/protocol-native.c:2040
#11 0x00007fffed244877 in pa_pdispatch_run (pd=0x6a6d50, packet=0x650500,
creds=0x642c90, userdata=0x642a60) at pulsecore/pdispatch.c:239
#12 0x00007fffeda6a9c1 in pstream_packet_callback (p=0x642b40, packet=0x650500,
creds=0x642c90, userdata=0x642a60) at pulsecore/protocol-native.c:4039
#13 0x00007fffed64f7ad in do_read (p=0x642b40) at pulsecore/pstream.c:816
#14 0x00007fffed64cdfd in do_something (p=0x642b40) at pulsecore/pstream.c:184
#15 0x00007fffed64d005 in io_callback (io=0x642980, userdata=0x642b40) at
pulsecore/pstream.c:213
#16 0x00007fffee287926 in callback (m=0x619628, e=0x6428a0, fd=38, f=3,
userdata=0x642980) at pulsecore/iochannel.c:119
#17 0x00007ffff7b4e1f8 in dispatch_pollfds (m=0x6195d0) at pulse/mainloop.c:683
#18 0x00007ffff7b4eeab in pa_mainloop_dispatch (m=0x6195d0) at
pulse/mainloop.c:896
---Type <return> to continue, or q <return> to quit---
#19 0x00007ffff7b4f029 in pa_mainloop_iterate (m=0x6195d0, block=1,
retval=0x7fffffffde04) at pulse/mainloop.c:926
#20 0x00007ffff7b4f085 in pa_mainloop_run (m=0x6195d0, retval=0x7fffffffde04)
at pulse/mainloop.c:941
#21 0x000000000040bd67 in main (argc=1, argv=0x7fffffffdf68) at
daemon/main.c:945
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.