[mythtv] Unable to hit segfault within GDB, but no problem outside of GDB

danielk danielk at cuymedia.net
Tue May 22 22:29:48 UTC 2012


On 05/22/2012 06:20 PM, A McDermott wrote:
> Have a backend segfault which happens every couple of days.  I cannot
> provide a backtrace as I only hit the segfault when running outside of
> GDB.  Is there anything in the available information which can assist
> in debug?

put "ulimit -c unlimited" in your backend startup script and the
backend will generate a core. Then you can load that into gdb
with "gdb `which mythbackend` name-of-core-file" and produce
a backtrace using the normal procedure.

-- Daniel


More information about the mythtv-dev mailing list