[mythtv] general thread debugging question

Jack Perveiler perveilerj at yahoo.com
Fri Mar 17 16:50:09 UTC 2006


I'm a moron, please disregard.

--Jack

--- Jack Perveiler <perveilerj at yahoo.com> wrote:

> So I'm trying to track down what I think is a race in opening/closing
> avcodecs.
>  Visual inspection of the code looks pretty good to me so now I need to start
> some heavier debugging.
> 
> Ordinarily I'd use gdb but I'm afraid the debugger's intrusion would cause
> the
> timing to change and the race to behave differently.  What I'd like to do is
> dump a backtrace inside avcodec_open() and avcodec_close() so I can at least
> see which threads are competing and take it from there.
> 
> I know glibc has bactrace() functions, but myth doesn't link in glibc.  Is
> there a way to do print a backtrace without gdb and without glibc's
> backtrace()
> functions?  If not I can just hack up my area to use glibc but I thought I'd
> check for a less intrusive possibility first.
> 
> --Jack
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the mythtv-dev mailing list