[mythtv] Need help catching a segfault in mythbackend?

Michael Rice mikerice1969 at gmail.com
Thu May 24 22:47:02 UTC 2007


On 5/22/07, Mark Paulus <mark.paulus at verizonbusiness.com> wrote:
>
> You could change /etc/init.d/mythbackend  to start gdb also and attach it to
> the running mythtv-backend process.  Or, you could run mythtv-backend
> under strace.  Just prepare for large amounts of logging output
> if you use strace.

Does anyone run gdb in their mythbackend startup script?  I tried both
running mythbackend directly from gdb and attaching to the mythbackend
process but since gdb doesn't run as a daemon the script will wait for
gdb to end.  I tried running "daemon gdb ..." and "gdb &" but neither
seems to allow the script to finish.  Anyone help me get this working?
 I am running of FC5.

Using 0.20-fixes on FC5 with three ivtv tuners... The backend crashes
2-3 times per week.  I have run the debug build directly from a
console but I've not seen it crash that way after a week+.  Ands
having to restart this manually is a bit of a hassle.  So I'd like to
run from gdb as a permanent thing in case it takes awhile to find.


More information about the mythtv-dev mailing list