[mythtv-users] Mytharchive problems

Paul Harrison mythtv at dsl.pipex.com
Mon Jul 3 19:31:57 UTC 2006


SpEnT wrote:
> Paul,
>
> I'm running it as the same user (for me everything runs as root ...
> local machine, local network). I do still get a seg fault running from
> command line albeit with output even if I run it with no options I get
> a segfault (just tested).
>
> Here's a couple things I've run to test:
> # mytharchivehelper -p out
> Segmentation fault (core dumped)
> # cat out
> localhost
> mythtv
> mythtv
> mythconverg
> myth.bangtherockstogether.prv
> /usr/local
>
> # mytharchivehelper -i /mnt/store/1155_20060423220000.nuv test.xml 0
> 2006-07-03 12:02:31.997 Opening /mnt/store/1155_20060423220000.nuv
> [nuv @ 0x41e012e0]Could not find codec parameters (Video: mpeg4, 720x480)
> [nuv @ 0x41e012e0]Could not find codec parameters (Video: mpeg4, 720x480)
> 0: start_time: 0.000 duration: 3.368
> 1: start_time: 0.000 duration: 3.368
> stream: start_time: 0.000 duration: 3368.220 bitrate=1411 kb/s
> Input #0, nuv, from '/mnt/store/1155_20060423220000.nuv':
>   Duration: 00:56:08.2, start: 0.000000, bitrate: 1411 kb/s
>   Stream #0.0, 29.97 fps(r): Video: mpeg4, yuv420p, 720x480
>   Stream #0.1: Audio: mp3, 48000 Hz, stereo, 1411 kb/s
> 2006-07-03 12:02:32.046 duration = 3368
> Segmentation fault (core dumped)
>
> So it would seem you nailed the real problem ... now I need to figure
> out why it's segfaulting :/
> This is probably beyond a mytharchive issue but any help you could
> toss out for troubleshooting is appreciated :-)  Either way I'll keep
> digging, thanks !!
>
> Lonny
>   
OK, that makes more sense. You need to recompile mytharchive with 
debugging information then run mytharchivehelper under gdb to get a back 
trace. Basically do a make distclean then re-run ./configure adding the 
--compile-type=debug option then compile and install mytharchive as 
normal. Then  run
mytharchivehelper under gdb like this:

$ gdb mytharchivehelper
{gdb) run -p out

at this point it should segfault as before. So to get the backtrace enter:

(gdb) thread apply all bt full

Post the resulting bt

There's a more detailed description of how to get a bt here 
http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2

Paul H.

 



More information about the mythtv-users mailing list