[mythtv-commits] Ticket #1871: FE crash w/ XvMC on 720x480p mpg

MythTV mythtv at cvs.mythtv.org
Tue Jun 13 23:38:12 UTC 2006

#1871: FE crash w/ XvMC on 720x480p mpg
 Reporter:  gary at garyndenise.org  |        Owner:  danielk
     Type:  defect                |       Status:  new    
 Priority:  minor                 |    Milestone:  0.20   
Component:  mythtv                |      Version:  head   
 Severity:  medium                |   Resolution:         
Comment (by matt-bulk-mythtv at holgate.org.uk):

 I reported a similar problem to Gary, and danielk suggested it was a
 duplicate of this one, so I tried the patch, but am still getting crashes
 (quite regularly). I've included my backtrace below, although I'm not sure
 how to embed it into a textarea - sorry :(

 Note that the video I was playing was heavily corrupted (lots of MPEG-2
 errors due to a very bad DVB signal). I can supply the video file if
 necessary (although it's large). Also, if you need any more info from the
 core, please let me know.

 This was a version compiled from 0.19-fixes (SVN 10146) with the patch on
 this ticket applied.

 Core was generated by `mythfrontend -l /home/mythtv/mythfrontend.log'.
 Program terminated with signal 11, Segmentation fault.
 warning: current_sos: Can't read pathname for load map: Input/output error

 (gdb) bt
 #0  0xb62610ce in mallopt () from /lib/tls/libc.so.6
 #1  0xb62608fb in mallopt () from /lib/tls/libc.so.6
 #2  0xb625fc43 in malloc () from /lib/tls/libc.so.6
 #3  0xb63e12fe in operator new () from /usr/lib/libstdc++.so.5
 #4  0xb63cd609 in std::__default_alloc_template<true, 0>::allocate () from
 #5  0xb7ae6a11 in std::__simple_alloc<VideoFrame_*,
 std::__default_alloc_template<true, 0> >::allocate (__n=128)
     at stl_alloc.h:232
 #6  0xb7ae69de in std::_Deque_alloc_base<VideoFrame_*,
 std::allocator<VideoFrame_*>, true>::_M_allocate_node (
     this=0xb219ec60) at stl_deque.h:409
 #7  0xb7adf7a2 in std::_Deque_base<VideoFrame_*,
 std::allocator<VideoFrame_*> >::_M_create_nodes (this=0xb219ec60,
     __nstart=0x81ec6bc, __nfinish=0x81ec6c0) at stl_deque.h:534
 #8  0xb7add8b5 in std::_Deque_base<VideoFrame_*,
 std::allocator<VideoFrame_*> >::_M_initialize_map (this=0xb219ec60,
     __num_elements=0) at stl_deque.h:511
 #9  0xb7add774 in _Deque_base (this=0xb219ec60, __a=@0xb219ea70,
 __num_elements=0) at stl_deque.h:457
 #10 0xb7add71c in deque (this=0xb219ec60, __a=@0xb219ea70) at
 #11 0xb7add408 in MythDeque (this=0xb219ec60) at videoout_xv.cpp:1972
 #12 0xb7ad72da in VideoBuffers::AddInheritence (this=0x9026a2c,
 frame=0x8e34ca4) at videobuffers.cpp:874
 #13 0xb7b10046 in VideoOutputXv::DrawSlice (this=0x9026958,
 frame=0x8e34ca4, x=0, y=0, w=704, h=0) at videoout_xv.cpp:2545
 #14 0xb7a38c97 in NuppelVideoPlayer::DrawSlice (this=0x81fa9c8,
 frame=0x8e34ca4, x=0, y=0, w=704, h=0)
     at NuppelVideoPlayer.cpp:924
 #15 0xb7a6ef51 in render_slice_xvmc (s=0x81e0af0, src=0x91d8380,
 offset=0xb219f060, y=0, type=3, height=0)
     at avformatdecoder.cpp:1314
 #16 0xb71e10f9 in ff_draw_horiz_band (s=0x1010100, y=0, h=0) at
 #17 0xb7412df9 in XVMC_VLD_decode_slice (s=0x9024c20, mb_y=0,
 buf_size=17812) at xvmcvldvideo.c:192
 #18 0xb73325ad in mpeg_decode_slice (s1=0x9024c20, mb_y=0, buf=0xb219f188,
 buf_size=16843008) at mpeg12.c:2551
 #19 0xb7333cea in mpeg_decode_frame (avctx=0x81e0af0, data=0xb219f450,
 data_size=0xb219f3ac, buf=0x94488b0 "",
     buf_size=17834) at mpeg12.c:3227
 #20 0xb71d74e4 in avcodec_decode_video (avctx=0x81e0af0,
 picture=0x1010100, got_picture_ptr=0xb219f3ac,
     buf=0x1010100 <Address 0x1010100 out of bounds>, buf_size=17834) at
 #21 0xb7a767c9 in AvFormatDecoder::GetFrame (this=0x8db8748, onlyvideo=0)
 at avformatdecoder.cpp:2518
 #22 0xb7a39114 in NuppelVideoPlayer::GetFrameNormal (this=0x81fa9c8,
 onlyvideo=0) at NuppelVideoPlayer.cpp:979
 #23 0xb7a39d9c in NuppelVideoPlayer::GetFrame (this=0x81fa9c8,
 onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:1057
 #24 0xb7a43e99 in NuppelVideoPlayer::StartPlaying (this=0x81fa9c8) at
 #25 0xb79f10c9 in SpawnDecode (param=0x81fa9c8) at tv_play.cpp:190
 ---Type <return> to continue, or q <return> to quit---
 #26 0xb640db63 in start_thread () from /lib/tls/libpthread.so.0
 #27 0xb62c618a in clone () from /lib/tls/libc.so.6


Ticket URL: <http://svn.mythtv.org/trac/ticket/1871>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list