[Bug 407677] New: program crash requires pulseaudio restart
https://bugzilla.novell.com/show_bug.cgi?id=407677 User rkvinge@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407677#c407674 Summary: program crash requires pulseaudio restart Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: rkvinge@novell.com QAContact: qa@suse.de Found By: --- Repro: Use repro in bug #407674. Kill the program while it's printing output (ctrl-c). Run the program again, now it hangs during initialization. Gdb reports: (...) Started loop [New Thread 0x4091cb90 (LWP 7559)] ^C Program received signal SIGINT, Interrupt. [Switching to Thread 0x4035d8d0 (LWP 7555)] 0xffffe430 in __kernel_vsyscall () (gdb) t a a bt Thread 3 (Thread 0x4091cb90 (LWP 7559)): #0 0xffffe430 in __kernel_vsyscall () #1 0x402681c7 in *__GI___poll (fds=0x8055c08, nfds=2, timeout=29999) at ./sysdeps/unix/sysv/linux/poll.c:87 #2 0x40598b82 in poll_func (ufds=0x8055c08, nfds=2, timeout=29999, userdata=0x804c4a8) at pulse/thread-mainloop.c:72 #3 0x4058aae9 in pa_mainloop_poll (m=0x8055a80) at pulse/mainloop.c:853 #4 0x4058c2d3 in pa_mainloop_iterate (m=0x8055a80, block=1, retval=0x0) at pulse/mainloop.c:919 #5 0x4058c3a4 in pa_mainloop_run (m=0x8055a80, retval=0x0) at pulse/mainloop.c:937 #6 0x40598933 in thread (userdata=0x8050ef8) at pulse/thread-mainloop.c:91 #7 0x405b9f42 in internal_thread_func (userdata=0x8050f18) at pulsecore/thread-posix.c:73 #8 0x402ed175 in start_thread (arg=0x4091cb90) at pthread_create.c:297 #9 0x40271dce in clone () from /lib/libc.so.6 Thread 2 (Thread 0x4055eb90 (LWP 7558)): #0 0xffffe430 in __kernel_vsyscall () #1 0x402f0c15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x4027e2ed in __pthread_cond_wait (cond=0x804c4c8, mutex=0x804c4a8) at forward.c:139 #3 0x405b8e4c in pa_cond_wait (c=0x1, m=0xfffffe00) at pulsecore/mutex-posix.c:129 #4 0x4059825f in pa_threaded_mainloop_wait (m=0x8050ef8) at pulse/thread-mainloop.c:200 #5 0x40022a99 in pulse_connect () from /usr/lib/alsa-lib/libasound_module_pcm_pulse.so #6 0x400223a6 in _snd_pcm_pulse_open () from /usr/lib/alsa-lib/libasound_module_pcm_pulse.so #7 0x40080cd2 in ?? () from /usr/lib/libasound.so.2 #8 0x4008142d in ?? () from /usr/lib/libasound.so.2 #9 0x08048c75 in init_audio_bug () at pulse-audio-alsa-threaded.c:35 #10 0x080490be in loop (context=0x0) at pulse-audio-alsa-threaded.c:137 #11 0x402ed175 in start_thread (arg=0x4055eb90) at pthread_create.c:297 #12 0x40271dce in clone () from /lib/libc.so.6 Thread 1 (Thread 0x4035d8d0 (LWP 7555)): #0 0xffffe430 in __kernel_vsyscall () #1 0x402ed707 in pthread_join (threadid=1079372688, thread_return=0x0) at pthread_join.c:89 #2 0x080491db in main () at pulse-audio-alsa-threaded.c:170 "pkill -KILL pulseaudio" will cause the program to continue executing, but with this result: *** PULSEAUDIO: Unable to connect: Connection terminated [Thread 0x4091cb90 (LWP 7662) exited] AudioNode::Initialize (): cannot open audio device: Connection refused [Thread 0x4055eb90 (LWP 7661) exited] Joined Program exited normally. (there is no pulseaudio process in the system now). Rerunning the test program now will not hang, it will just print the error message (*** PULSEAUDIO...) again and quit. If I make pulseaudio start again (for instance by starting banshee, however I suppose there are other, and probably better ways), everything works again. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=407677
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=407677#c1
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=407677
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=407677
User rodrigo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=407677#c2
Rodrigo Moya
https://bugzilla.novell.com/show_bug.cgi?id=407677
User rkvinge@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=407677#c3
Rolf Bjarne Kvinge
participants (1)
-
bugzilla_noreply@novell.com