On Tue, Sep 19, 2006 at 10:37:44PM +0300, Marko Mäkelä wrote:
> After the hang, I attached gdb to the process and captured full stack trace
> of all threads (gzipped output attached). I hope that this helps.
There was also another vdr process that had consumed virtually no CPU,
consisting of a single thread:
#0 0xa7dd4e19 in poll () from /lib/tls/libc.so.6
#1 0xa77ae441 in snd_pcm_direct_check_interleave ()
from /usr/lib/libasound.so.2
#2 0xa77ae95c in snd_pcm_direct_server_create () from /usr/lib/libasound.so.2
#3 0xa77a7b8c in snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#4 0xa77a7fd2 in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#5 0xa776d824 in snd_pcm_free () from /usr/lib/libasound.so.2
#6 0xa776dea8 in snd_pcm_free () from /usr/lib/libasound.so.2
#7 0xa776e143 in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#8 0xa77928f4 in _snd_pcm_plug_open () from /usr/lib/libasound.so.2
#9 0xa776d824 in snd_pcm_free () from /usr/lib/libasound.so.2
#10 0xa776e172 in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#11 0xa77aeb92 in _snd_pcm_asym_open () from /usr/lib/libasound.so.2
#12 0xa776d824 in snd_pcm_free () from /usr/lib/libasound.so.2
#13 0xa776dea8 in snd_pcm_free () from /usr/lib/libasound.so.2
#14 0xa78715e4 in cAlsaAudioOut (this=0xa77aea60, setupStore=0xa7b4eb00)
at audio-alsa.c:44
#15 0xa785b382 in cSoftDevice (this=0x8286d88, method=3, audioMethod=1,
pluginPath=0x81cf0a0 "./PLUGINS/lib/") at softdevice.c:299
#16 0xa785b468 in cPluginSoftDevice::Initialize (this=0x81cf080)
at softdevice.c:1039
#17 0x080cd2e8 in cPluginManager::InitializePlugins (this=0xafba7bc4)
at plugin.c:340
#18 0x080fc8f3 in main (argc=9, argv=0xafba7d14) at vdr.c:567
According to the pid, this process is slightly newer than the multi-threaded
vdr process:
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
0 T 1001 637 620 14 76 0 - 37515 ptrace ? 17:16 ./vdr -l1 -Psoft
1 T 1001 699 1 0 75 0 - 22133 ptrace ? 0:00 ./vdr -l1 -Psoft
I don't think that it was launched by my runvdr script (PID 620).
Besides, there is only one line "[softdevice] processing args"
in my /tmp/vdr.log. Could vdr fork processes for plugin initialization?
This is on NPTL.
Marko
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel