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

MythTV mythtv at cvs.mythtv.org
Mon May 29 14:53:41 UTC 2006


#1871: FE crash w/ XvMC on 720x480p mpg
----------------------------------+-----------------------------------------
 Reporter:  gary at garyndenise.org  |        Owner:  ijr     
     Type:  defect                |       Status:  reopened
 Priority:  minor                 |    Milestone:          
Component:  mythtv                |      Version:  0.19    
 Severity:  medium                |   Resolution:          
----------------------------------+-----------------------------------------
Changes (by gary at garyndenise.org):

  * resolution:  invalid =>
  * status:  closed => reopened

Comment:

 Finally!  I didn't think it was going to crash at all with a debug
 compile... but it's finally repeated.  Attached is mythfrontend.log.2.gz
 (If its useful)

 '''Version:'''

 server mythtv # DISPLAY=:0 /usr/bin/mythfrontend --version
 Library API version: 0.19.20060121-2
 Source code version: 10051
 Options compiled in:
  linux debug using_v4l using_alsa using_ivtv using_lirc using_dvb
 using_dvb_eit using_x11 using_xv using_dvdnav using_xrandr using_xvmc
 using_opengl_vsync using_frontend using_backend

 '''Core BT:'''

 (gdb) bt
 #0  0x00002aaaab31c58c in MythDeque<VideoFrame_*>::find
 (this=0x2aaab5008c00,
     item=0x2aaab7b94170) at mythdeque.h:47
 #1  0x00002aaaab31a0c5 in MythDeque<VideoFrame_*>::contains (
     this=0x2aaab5008c00, item=0x2aaab7b94170) at mythdeque.h:62
 #2  0x00002aaaab315a5f in VideoBuffers::AddInheritence
 (this=0x2aaab5008ba8,
     frame=0x2aaab7b94310) at videobuffers.cpp:875
 #3  0x00002aaaab34cb4a in VideoOutputXv::DrawSlice (this=0x2aaab5008ab0,
     frame=0x2aaab7b94310, x=0, y=0, w=720, h=16) at videoout_xv.cpp:2554
 #4  0x00002aaaab281ed8 in NuppelVideoPlayer::DrawSlice (this=0x1243680,
     frame=0x2aaab7b94310, x=0, y=0, w=720, h=16) at
 NuppelVideoPlayer.cpp:924
 #5  0x00002aaaab2b2b76 in render_slice_xvmc (s=0x23c8d60,
 src=0x2aaac0dc3e90,
     offset=0x42805420, y=0, type=3, height=16) at avformatdecoder.cpp:1314
 #6  0x00002aaaabc9dcde in ff_draw_horiz_band (s=0x42804ae0, y=1115704000,
     h=-1188050864) at mpegvideo.c:4111
 #7  0x00002aaaabd5ddd2 in mpeg_decode_slice (s1=0x42804ae0, mb_y=16,
     buf=0x42805520, buf_size=1115704000) at mpeg12.c:2665
 #8  0x00002aaaabd5efb7 in mpeg_decode_frame (avctx=0x23c8d60,
 data=0x42804ac0,
     data_size=0x428057dc, buf=0x2aaabe26f110 "", buf_size=4363)
     at mpeg12.c:3227
 #9  0x00002aaaabc8becf in avcodec_decode_video (avctx=0x23c8d60,
     picture=0x42805880, got_picture_ptr=0x428057dc, buf=0x2aaabe26f110 "",
     buf_size=4363) at utils.c:947
 #10 0x00002aaaab2b98b8 in AvFormatDecoder::GetFrame (this=0x1611860,
     onlyvideo=0) at avformatdecoder.cpp:2518
 #11 0x00002aaaab28235c in NuppelVideoPlayer::GetFrameNormal
 (this=0x1243680,
     onlyvideo=0) at NuppelVideoPlayer.cpp:979
 #12 0x00002aaaab282de7 in NuppelVideoPlayer::GetFrame (this=0x1243680,
     onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:1057
 #13 0x00002aaaab28c104 in NuppelVideoPlayer::StartPlaying (this=0x1243680)
     at NuppelVideoPlayer.cpp:2642
 #14 0x00002aaaab240349 in SpawnDecode (param=0x1243680) at tv_play.cpp:190
 #15 0x00002aaaadfc414a in start_thread () from /lib/tls/libpthread.so.0
 #16 0x00002aaaae5e0943 in clone () from /lib/tls/libc.so.6
 #17 0x0000000000000000 in ?? ()

 '''Some info in frame0'''

 (gdb) frame 0
 #0  0x00002aaaab31c58c in MythDeque<VideoFrame_*>::find
 (this=0x2aaab5008c00,
     item=0x2aaab7b94170) at mythdeque.h:47
 47                  if (*it == item)
 (gdb) print it
 $11 = {_M_cur = 0x50, _M_first = 0x50, _M_last = 0x250,
   _M_node = 0x2aaabbf8e950}
 (gdb) print item
 $12 = (VideoFrame * const) 0x2aaab7b94170
 (gdb) print *item
 $13 = {codec = FMT_XVMC_IDCT_MPEG2, buf = 0x2aaab920bbb0 "�\021�\035",
   height = 480, width = 720, bpp = -1, size = 32, frameNumber = 14084,
   timecode = 469936, priv = {0x2aaab6778dd0 "�\037", 0x2aaab6778df0
 "F\005",
     0x0, 0x0}, qscale_table = 0x0, qstride = 0, interlaced_frame = 0,
   top_field_first = 0, forcekey = 0}
 (gdb)

 '''Some info in frame1'''

 (gdb) frame 1
 #1  0x00002aaaab31a0c5 in MythDeque<VideoFrame_*>::contains (
     this=0x2aaab5008c00, item=0x2aaab7b94170) at mythdeque.h:62
 62              { return find(item) != deque<T>::end(); }
 (gdb) print item
 $6 = (VideoFrame * const) 0x2aaab7b94170
 (gdb) print *item
 $7 = {codec = FMT_XVMC_IDCT_MPEG2, buf = 0x2aaab920bbb0 "�\021�\035",
   height = 480, width = 720, bpp = -1, size = 32, frameNumber = 14084,
   timecode = 469936, priv = {0x2aaab6778dd0 "�\037", 0x2aaab6778df0
 "F\005",
     0x0, 0x0}, qscale_table = 0x0, qstride = 0, interlaced_frame = 0,
   top_field_first = 0, forcekey = 0}
 (gdb)

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


More information about the mythtv-commits mailing list