Hi Ralphy,

i try to run squeezeslave (latest version) on my eee pc 901 (intel atom
32bit) on ubuntu 11.04. Unfortunately squeezeslave freezes from time to
time, escpecially when changing tracks, reaching the end of a playlist
etc.
I tried several versions of squeezebox server and also a switched from
pulseaudio to pure ALSA without success...
I started to investigate a little bit; i compiled squeezeslave with
full debug symbols and made some debugging. When squeezeslave freezes i
get following information from a backtrace of all running threads of
squeezeslave:

Thread 6 (Thread 0xb7796b70 (LWP 9292)):
#0  0x00733416 in __kernel_vsyscall ()
#1  0x004e748c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i386-linux-gnu/libpthread.so.0
#2  0x08052c84 in slimaudio_output_disconnect (audio=0xbfb68ca0) at
src/slimaudio/slimaudio_output.c:672
#3  0x08053b43 in audio_stop (audio=0xbfb68ca0) at
src/slimaudio/slimaudio.c:258
#4  0x080541cf in strm_callback (proto=0xbfb69100, buf=0xb779532c "",
buf_len=30, user_data=0xbfb68ca0)
at src/slimaudio/slimaudio.c:202
#5  0x080546d1 in proto_recv (p=0xbfb69100) at
src/slimproto/slimproto.c:408
#6  0x08055b57 in proto_thread (ptr=0xbfb69100) at
src/slimproto/slimproto.c:142
#7  0x004e2e99 in start_thread () from
/lib/i386-linux-gnu/libpthread.so.0
#8  0x0020673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb2ae1b70 (LWP 9297)):
#0  0x00733416 in __kernel_vsyscall ()
#1  0x004e748c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i386-linux-gnu/libpthread.so.0
#2  0x0804f367 in http_thread (ptr=0xbfb68ca0) at
src/slimaudio/slimaudio_http.c:142
#3  0x004e2e99 in start_thread () from
/lib/i386-linux-gnu/libpthread.so.0
#4  0x0020673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb6ae2b70 (LWP 9298)):
#0  0x00733416 in __kernel_vsyscall ()
#1  0x004e748c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i386-linux-gnu/libpthread.so.0
#2  0x0804fbe5 in decoder_thread (ptr=0xbfb68ca0) at
src/slimaudio/slimaudio_decoder.c:193
#3  0x004e2e99 in start_thread () from
/lib/i386-linux-gnu/libpthread.so.0
#4  0x0020673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb62e1b70 (LWP 9299)):
#0  0x00733416 in __kernel_vsyscall ()
#1  0x004e3f76 in pthread_join () from
/lib/i386-linux-gnu/libpthread.so.0
#2  0x08057444 in PaUnixThread_Terminate (self=0x866387c, wait=0,
exitResult=0xb62e12ec) at src/os/unix/pa_unix_util.c:441
#3  0x08059839 in RealStop (stream=0x8663778, abort=<value optimized
out>) at src/hostapi/alsa/pa_linux_alsa.c:3014
#4  0x080519b5 in output_thread (ptr=0xbfb68ca0) at
src/slimaudio/slimaudio_output.c:522
#5  0x004e2e99 in start_thread () from
/lib/i386-linux-gnu/libpthread.so.0
#6  0x0020673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb55ffb70 (LWP 9304)):
#0  0x00733416 in __kernel_vsyscall ()
#1  0x004e4f5b in __pthread_mutex_lock_full () from
/lib/i386-linux-gnu/libpthread.so.0
#2  0x006567b1 in pa_mutex_lock () from
/usr/lib/libpulsecommon-0.9.22.so
#3  0x00f564ac in ?? () from /usr/lib/libpulse.so.0
#4  0x00f453a9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#5  0x00f45b84 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#6  0x00f45c64 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#7  0x00f56443 in ?? () from /usr/lib/libpulse.so.0
#8  0x00657a75 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#9  0x004e2e99 in start_thread () from
/lib/i386-linux-gnu/libpthread.so.0
#10 0x0020673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb77978d0 (LWP 9291)):
#0  0x00733416 in __kernel_vsyscall ()
#1  0x004eaf01 in pause () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0804d38d in wait_for_restart_signal (argc=10, argv=0xbfb69464) at
src/squeezeslave/squeezeslave.c:93
#3  main (argc=10, argv=0xbfb69464) at
src/squeezeslave/squeezeslave.c:682

Looks like a *nice* deadlock to me. Debug output is quite useless,
because the printfs are not flushed and when everything freezes it
lacks entries.
Some more information: Kernel 2.6.38-8-generic, *multicore* as
hyperthreaded, i686/x86 not 64bit. Audio "HDA Intel"/"Realtek ALC269".

I hope we could figure out whats wrong....
With best regard, Robinson.


-- 
gonzo255
------------------------------------------------------------------------
gonzo255's Profile: http://forums.slimdevices.com/member.php?userid=48250
View this thread: http://forums.slimdevices.com/showthread.php?t=83362

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to