[mythtv] Automatic backtrace on crash (crashhandler)?

Isaac Richards ijr at case.edu
Fri Feb 25 17:18:51 UTC 2005


On Friday 25 February 2005 08:05 am, Thomas Börkel wrote:
> HI!
>
> When mythbackend or mythfrontend crashes, one has to get the source,
> compile with debug option, let it run in gdb and hope to be able to
> reproduce the crash.
>
> When aMule crashes, it automatically spits out a backtrace into the
> console.
>
> I wonder, if this could be implemented in myth, too? I guess, this will
> cost some performance, but if it would be only a few percent, maybe it
> would be worth it.

The main issue is that for normal operation, you really don't want to be 
running in debug mode (all opts off, etc), but you really need to be in debug 
mode to get a proper backtrace.  There's also the issue of if this would work 
for all threads, etc..

Isaac


More information about the mythtv-dev mailing list