[mythtv-users] gdb use?

manu eallaud at yahoo.fr
Sun Nov 2 17:38:09 EST 2003


	Hi all,
I want to debug mythbackend because I have regular hangs (even when  
only mythbackend is running alone for recording). Those hangs are so  
unpredictable that I want ot be sure that they are really related to  
mythtv.
But this is what I get when trying to run mythbackend under gdb :
#0  0x40ab7714 in pthread_getconcurrency () from /lib/i686/libpthread. 
so.0
#1  0x40ab72b8 in pthread_getconcurrency () from /lib/i686/libpthread. 
so.0
#2  0x40ab6a61 in pthread_create () from /lib/i686/libpthread.so.0
#3  0x080caf4d in TVRec::Init() (this=0x842e628) at tv_rec.cpp:113
#4  0x0806e3db in setupTVs(bool) (ismaster=true) at main.cpp:73
#5  0x080707c0 in main (argc=2, argv=0xbffff7d4) at main.cpp:418
#6  0x40bfac57 in __libc_start_main () from /lib/i686/libc.so.6

It stops right after I type run with this staktrace.
Is that normal (I am debugging another threaded app and it does work)?
Is there a way to work around this?
Thanks
Bye
Manu


More information about the mythtv-users mailing list