Here's mine

LOG=/wherever/file.out
gdb /usr/bin/mythfrontend <<EOF > $LOG 2>&1
handle SIGPIPE nostop
handle SIG33 nostop
run
thread apply all bt full
EOF

On Tue, 14 Dec 2004 13:54:57 +1100, Hamish Moffatt <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 13, 2004 at 06:24:36PM -0600, [EMAIL PROTECTED] wrote:
> > Tap me if you need, as I at least have detection for this in my
> > scripts and can do some collection of data automatically, but I don't
> > know how to get a backtrace of a running backend without making it
> > crash.
> 
> I'm running the frontend in a loop from a shell script due to occasional
> segfaults. Do you have a way to run it so that when a crash occurs, a
> backtrace can be obtained automatically and the frontend restarted?
> 
> Hamish
> --
> Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> [EMAIL PROTECTED]
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 
>
_______________________________________________
mythtv-dev mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to