Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] AW: Re: exit does sometimes not properly exit
> The next time it happens, check the main process id (e.g. with
> 'ps fax'). Attach to the process with gdb, 'gdb /path/to/vdr vdrpid'.
> Get a backtrace of all the threads from gdb with the command
> 'thread apply all bt'. This might help the vdr code gurus to figure out
> what is happening.
Thanks Björn,
it happened again, although I have now a derivative of the new version 1.2.6
with the new thread.[ch].
So I did as you told me and here is the result:
(gdb) thread apply all bt
[New Thread 4101 (LWP 2279)]
[New Thread 5126 (LWP 2280)]
Thread 7 (Thread 5126 (LWP 2280)):
#0 0x4019dd6e in select () from /lib/libc.so.6
#1 0xffffffff in ?? ()
#2 0x080810fc in Action__11cLircRemote (this=0x8162d90) at lirc.c:65
#3 0x080ae4ea in StartThread__7cThreadP7cThread (Thread=0x8162da0)
at thread.c:156
#4 0x40047e67 in pthread_start_thread () from /lib/libpthread.so.0
Thread 6 (Thread 4101 (LWP 2279)):
#0 0x40174411 in nanosleep () from /lib/libc.so.6
#1 0x4004a802 in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#2 0x400470e6 in pthread_cond_timedwait_relative () from
/lib/libpthread.so.0
#3 0x4004726e in pthread_cond_timedwait () from /lib/libpthread.so.0
#4 0x080ae247 in TimedWait__8cCondVarR6cMutexi (this=0x816050c,
Mutex=@0x81604f0, TimeoutMs=1000) at thread.c:63
#5 0x08074644 in Action__9cDvbTuner (this=0x8160408) at dvbdevice.c:319
#6 0x080ae4ea in StartThread__7cThreadP7cThread (Thread=0x8160408)
at thread.c:156
#7 0x40047e67 in pthread_start_thread () from /lib/libpthread.so.0
Couldn't get registers: No such process.
#0 0x400fab55 in sigsuspend () from /lib/libc.so.6
I didn't try to get into details yet. I am not yet very good in debuging
with gdb until now.
Hope somebody finds where it hangs to exit.
Thanks
Werner
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index