[mythtv] Segfault when aspect ratio changes while editing

Edward Wildgoose edward.wildgoose at frmhedge.com
Sat Oct 4 18:18:16 EDT 2003


Hitting "e" to go into edit mode and then scrolling around the file with arrow keys causes a seg fault when the aspect ratio changes (for some reason the adverts can be in 16:9 and the main feature in 4:3 over here... wierd).  Backtrace attached

[New Thread 213006 (LWP 8996)]
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 111
[New Thread 229391 (LWP 8997)]
Changing from None to WatchingPreRecorded

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 229391 (LWP 8997)]
0x40ba247c in memcpy () from /lib/libc.so.6
(gdb) thread apply all bt full

Thread 16 (Thread 229391 (LWP 8997)):
#0  0x40ba247c in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x081a0b7b in VideoOutputXv::ProcessFrame(VideoFrame_*, OSD*, std::vector<VideoFilter_*, std::allocator<VideoFilter_*> >&, NuppelVideoPlayer*) (this=0x8937770, frame=0x8937770, osd=0x4a2b7b94, filterList=@0x409e9af9, pipPlayer=0x8937770)
    at videoout_xv.cpp:747
No locals.
#2  0x080f9eaa in NuppelVideoPlayer::OutputVideoLoop() (this=0x8937770) at NuppelVideoPlayer.cpp:1217
        frame = (VideoFrame *) 0x42c03d28
#3  0x080fa4f0 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*) (player=0x8937770) at NuppelVideoPlayer.cpp:1338
        nvp = (NuppelVideoPlayer *) 0x8937770
#4  0x409e9af9 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x409e9bf4 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 15 (Thread 213006 (LWP 8996)):
#0  0x40bd2566 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 14 (Thread 196621 (LWP 8995)):
#0  0x40bd2566 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 13 (Thread 180236 (LWP 8994)):
#0  0x40bf8941 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x40272ea4 in __JCR_LIST__ () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#2  0x401c5ce7 in _XRead () from /usr/X11R6/lib/libX11.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#3  0x401c65ad in _XReply () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#4  0x401900a3 in XvCreateImage () from /usr/X11R6/lib/libXv.so.1
No symbol table info available.
#5  0x40190232 in XvShmCreateImage () from /usr/X11R6/lib/libXv.so.1
No symbol table info available.
#6  0x0819f5d7 in VideoOutputXv::CreateXvBuffers() (this=0x42c038c8) at videoout_xv.cpp:374
        image = (XvImage *) 0x47e715cc
        i = 0
#7  0x0819ebbf in VideoOutputXv::InputChanged(int, int, float) (this=0x42c038c8, width=704, height=576,
    aspect=1.77777779) at videoout_xv.cpp:115
No locals.
#8  0x080f71ac in NuppelVideoPlayer::ReinitVideo() (this=0x8937770) at NuppelVideoPlayer.cpp:344
        dispx = 1077477376
        dispy = 0
        dispw = 58658687
        disph = 0
#9  0x08193fc1 in AvFormatDecoder::MpegPreProcessPkt(AVCodecContext*, AVPacket*) (this=0x85c3838, context=0x8937aa8,
    pkt=0x499b5c20) at avformatdecoder.cpp:727
        test = (
    unsigned char *) 0x42cc6c64 ",\002 at 3$\237#Y\020\021\021\022\022\022\023\023\023\023\024\024\024\024\024\025\025\025\025\025\025\026\026\026\026\026\026\026\027\027\027\027\027\027\027\027\030\030\030\031\030\030\030\031\032\032\032\032\031\e\e\e\e\e\034\034\034\034\036\036\036\037\037!"
        aspectratioinfo = 3
        aspect = 1.77777779
        width = 704
        height = 576
        bufptr = (
    unsigned char *) 0x42cc6c64 ",\002 at 3$\237#Y\020\021\021\022\022\022\023\023\023\023\024\024\024\024\024\025\025\025\025\025\025\026\026\026\026\026\026\026\027\027\027\027\027\027\027\027\030\030\030\031\030\030\030\031\032\032\032\032\031\e\e\e\e\e\034\034\034\034\036\036\036\037\037!"
        state = 435
        v = 179
        prvcount = 6
---Type <return> to continue, or q <return> to quit---
#10 0x08194524 in AvFormatDecoder::GetFrame(int) (this=0x85c3838, onlyvideo=0) at avformatdecoder.cpp:910
        context = (AVCodecContext *) 0x8937aa8
        curstream = (AVStream *) 0x8937aa0
        pkt = (AVPacket *) 0x499b5c20
        len = 2029
        ret = 0
        ptr = (unsigned char *) 0x42cc6c60 ""
        samples = {-5, 0, -5, 10, -5, 12, -5, -4, -5, -4, -5, 16, -5, 14, -5, -5, -5, -1, -5, 12, -5, 7, -5, 1, -5, 5,
  -5, 2, -5, -2, -4, 8, -4, 12, -5, 6, -4, 3, -5, 0, -5, -8, -5, -3, -5, 13, -5, 13, -5, 3, -5, 2, -5, 4, -5, -1, -5, 3,
  -5, 14, -5, 11, -5, -2, -5, -3, -5, 9, -4, 16, -4, 9, -5, 0, -5, -1, -4, 6, -4, 10, -4, 10, -4, 9, -5, 10, -4, 5, -4,
  -4, -4, -2, -5, 9, -5, 13, -5, 13, -5, 12, -4, 1, -4, -2, -5, 12, -5, 11, -4, -7, -4, -7, -5, 9, -5, 15, -5, 12, -5,
  8, -5, 1, -5, -3, -5, 2, -5, 8, -5, 9, -5, 11, -5, 10, -5, 3, -5, -4, -5, -4, -5, 2, -5, 13, -5, 15, -5, 0, -5, -3,
  -5, 7, -5, 7, -5, 7, -5, 12, -5, 0, -5, -6, -5, 10, -5, 16, -5, 12, -5, 18, -5, 14, -5, 6, -5, 12, -5, 8, -5, -2, -5,
  11, -5, 16, -5, 7, -5, 12, -5, 11, -5, 2, -5, 10, -5, 13, -5, 1, -5, 5...}
        data_size = 0
        temppts = 7661910
        allowedquit = false
        storevideoframes = false
#11 0x081965e9 in AvFormatDecoder::DoFastForward(long long) (this=0x85c3838, desiredFrame=18646)
    at avformatdecoder.cpp:1278
        number = 24
        desiredKey = 18636
        normalframes = 1
        keyPos = 373387828
        tmpKey = 18636
        tmpIndex = 1553
        needflush = true
#12 0x080fbc5f in NuppelVideoPlayer::DoFastForward() (this=0x8937770) at NuppelVideoPlayer.cpp:1725
        number = 24
        desiredFrame = 18646
#13 0x080fade4 in NuppelVideoPlayer::StartPlaying() (this=0x8937770) at NuppelVideoPlayer.cpp:1490
        output_video = 229391
        pausecheck = 13
#14 0x0817107f in SpawnDecode(void*) (param=0x8937770) at tv_play.cpp:67
        nvp = (NuppelVideoPlayer *) 0x8937770
---Type <return> to continue, or q <return> to quit---
#15 0x409e9af9 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#16 0x409e9bf4 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 12 (Thread 163851 (LWP 8993)):
#0  0x40bd2566 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x080fcc48 in NuppelVideoPlayer::DoKeypress(int) (this=0x8937770, keypress=4116) at NuppelVideoPlayer.cpp:1992
        exactstore = true
#3  0x081751da in TV::ProcessKeypress(int) (this=0x85c4ea0, keypressed=4116) at tv_play.cpp:845
        was_doing_ff_rew = false
#4  0x08174da1 in TV::RunTV() (this=0x85c4ea0) at tv_play.cpp:755
        keypressed = 4116
        updatecheck = 11
#5  0x08174abb in TV::EventThread(void*) (param=0x85c4ea0) at tv_play.cpp:691
        thetv = (class TV *) 0x85c4ea0
#6  0x409e9af9 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x409e9bf4 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 8983)):
#0  0x40bf71b3 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x409e971f in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x409e9960 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 8980)):
#0  0x40bd2566 in nanosleep () from /lib/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0x00000000 in ?? ()
No symbol table info available.
#0  0x40ba247c in memcpy () from /lib/libc.so.6

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20031004/9ca97259/attachment.html


More information about the mythtv-dev mailing list