[mythtv] XvMC Support broken in Latest SVN

Rob R rob.r at plutohome.com
Wed Jan 25 19:01:40 UTC 2006


Yes, I'm having the exact same problem.   It's something very new, as the
Sunday night (1/22) SVN (just after Chris Pinkham's network control update)
was working just fine, and it died just following a svn update last night
(1/25).  I'm currently rebuilding everything in debug mode so I can get a
good backtrace.

I see the " VideoOuputXv Error: Could no open XvMC port..." as well as some
mpeg errors sometimes.      

2006-01-25 10:52:35.046 NVP: Disabling Audio, params(-1,-1,-1)
2006-01-25 10:52:35.046 NVP: Disabling Audio, params(0,-1,-1)
2006-01-25 10:52:36.627 TV: Changing from None to WatchingLiveTV
[New Thread -1422828624 (LWP 13576)]
2006-01-25 10:52:36.700 Using realtime priority.
2006-01-25 10:52:36.920 Video timing method: RTC
0: start_time: 5218.784 duration: 0.188
1: start_time: 5218.748 duration: 0.187
stream: start_time: 57986.086 duration: 2.490 bitrate=11983 kb/s
2006-01-25 10:52:37.037 VideoOutputXv Error: Could not open XvMC port...

                        You may wish to verify that your DISPLAY
                        environment variable does not use an external
                        network connection.

2006-01-25 10:52:37.038 AFD: Opened codec 0x84af4a0, id(MPEG2VIDEO)
type(Video)
2006-01-25 10:52:37.039 AFD: Opened codec 0x84ab220, id(AC3) type(Audio)
2006-01-25 10:52:37.040 Opening audio device '/dev/dsp'.
2006-01-25 10:52:37.040 Opening OSS audio device '/dev/dsp'.
[New Thread -1432642640 (LWP 13582)]
2006-01-25 10:52:37.077 NVP: Enabling Audio

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1343538256 (LWP 15483)]
MPV_decode_mb (s=0x40000000, block=0x68) at mpegvideo.c:3821
3821                    (*mbskip_ptr) ++; /* indicate that this time we
skipped it */
Current language:  auto; currently c

(Note, above errors are sometimes different)

And the almighty backtrace:


Thread 11 (Thread -1435878480 (LWP 15525)):
#0  0xb61eb99c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb621428a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb702a325 in AudioOutputBase::OutputAudioLoop (this=0xaa6a4008) at
audiooutputbase.cpp:749
        space_on_soundcard = 65536
        last_space_on_soundcard = 0
        zeros = "\000"
        fragment = "\000"
        e = {<MythEvent> = {<QCustomEvent> = {<> = {<No data fields>}, d =
0x0}, message = {static null = {
        static null = <same as static member of an already seen type>, d =
0x8185390, static shared_null = 0x8185390}, d = 0x8185390,
      static shared_null = 0x8185390}, extradata = {<QValueList<QString>> =
{sh = 0x83c1bc8}, <No data fields>}}, error_msg = 0x0, elasped_seconds = 0,
  written_bytes = 0, brate = 0, freq = 0, prec = 0, chan = 0}
#3  0xb702b332 in AudioOutputBase::kickoffOutputAudioLoop
(player=0xaa6a4008) at audiooutputbase.cpp:865
No locals.
#4  0xb6361b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb621a18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 10 (Thread -1422406736 (LWP 15514)):
---Type <return> to continue, or q <return> to quit---
#0  0xb6364440 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb6954607 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb79a2f4e in NuppelVideoPlayer::DisplayNormalFrame (this=0x82263b0) at
NuppelVideoPlayer.cpp:1718
        frame = (VideoFrame *) 0x0
#3  0xb79a4114 in NuppelVideoPlayer::OutputVideoLoop (this=0x82263b0) at
NuppelVideoPlayer.cpp:1876
        temp_speed = 1
        fr_int = 33366
        rf_int = 16665

#4  0xb79a43ec in NuppelVideoPlayer::kickoffOutputVideoLoop
(player=0x82263b0) at NuppelVideoPlayer.cpp:1952
        nvp = (NuppelVideoPlayer *) 0x82263b0
#5  0xb6361b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0xb621a18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 9 (Thread -1351926864 (LWP 15484)):
#0  0xb61eb99c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb621428a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7821d76 in RingBuffer::ReadAheadThread (this=0x827b148) at
RingBuffer.cpp:642
---Type <return> to continue, or q <return> to quit---
        totfree = 255999
        ret = 256000
        used = 2304001
        loops = 8
#3  0xb7821c27 in RingBuffer::StartReader (type=0x827b148) at
RingBuffer.cpp:601
        rbuffer = (RingBuffer *) 0x827b148
#4  0xb6361b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb621a18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 8 (Thread -1343538256 (LWP 15483)):
#0  MPV_decode_mb (s=0x40000000, block=0x68) at mpegvideo.c:3821
No locals.
#1  0xb72c709b in mpeg_decode_slice (s1=0x828b0c0, mb_y=1, buf=0xafeb3168,
buf_size=104) at mpeg12.c:2660
        code = 104
        s = (MpegEncContext *) 0x828b0c0
        avctx = (AVCodecContext *) 0x84a8ed0
        ret = 104
        field_pic = 0
        lowres = 0
#2  0xb72c8298 in mpeg_decode_frame (avctx=0x84a8ed0, data=0xafeb3430,
data_size=0xafeb338c, buf=0x85b0538 "", buf_size=66604) at mpeg12.c:3227
        mb_y = 1
---Type <return> to continue, or q <return> to quit---
        s = (Mpeg1Context *) 0x828b0c0
        buf_end = (const uint8_t *) 0x85c0964 ""
        buf_ptr = (
    const uint8_t *) 0x85b10b6
"+þ\037´hÑ\206\033\215\0324a\206ãF\215\030a¸Ñ£F\030n4hÑ\206\033\215\0324a\20
6ãF\215\030a¸Ñ£F\030n4hÑ\206\033\215\0324a\206û\235ÔÚÚ\033?sóhÀ\222SnÚaö\204
\001mѵ¾\235õ7Z\230ZÛnÁÌÏz\025=[Ð÷ÜÈ<-\032²+zZöñ\213\027\035\226\226ß`ûüË\n­
Æ÷ù´£¤\030ßgû\211§\034\001³xüpÞ¶ëT{28ºYÁ-ö\201}Ñíå½öÚyMõNõk|ÖF÷ß­MêE¼\aíîû}µ
¼øº£\233Öò\212Syò7¿µ©{Oyg7Oj"...
        ret = 104
        start_code = 1
        input_size = 63662
        picture = (AVFrame *) 0xafeb3430
        s2 = (MpegEncContext *) 0x828b0c0
#3  0xb716bb14 in avcodec_decode_video (avctx=0x84a8ed0, picture=0x40000000,
got_picture_ptr=0xafeb338c, buf=0x40000000 <Address 0x40000000 out of
bounds>,
    buf_size=66604) at utils.c:947
        ret = 104
#4  0xb79d8d09 in AvFormatDecoder::GetFrame (this=0x81fa3a0, onlyvideo=0) at
avformatdecoder.cpp:2499
        context = (AVCodecContext *) 0x84a8ed0
        mpa_pic = {data = {0x0, 0x0, 0x0, 0x0}, linesize = {0, 0, 0, 0},
base = {0x0, 0x0, 0x0, 0x0}, key_frame = 0, pict_type = 0, pts = 0,
  coded_picture_number = 0, display_picture_number = 0, quality = 0, age =
0, reference = 0, qscale_table = 0x0, qstride = 0, mbskip_table = 0x0,
  motion_val = {0x0, 0x0}, mb_type = 0x0, motion_subsample_log2 = 0 '\0',
opaque = 0x0, error = {0, 0, 0, 0}, type = 0, repeat_pict = 0, qscale_type =
0,
  interlaced_frame = 0, top_field_first = 0, pan_scan = 0x0,
palette_has_changed = 0, buffer_hints = 0, dct_coeff = 0x0, ref_index =
{0x0, 0x0}}
        gotpicture = 0
        temppts = 17318316248
        picframe = (VideoFrame *) 0xb6355e64
---Type <return> to continue, or q <return> to quit---
        curstream = (AVStream *) 0x8214c80
        ctype = 0
        audIdx = 1
        subIdx = -1
        pkt = (AVPacket *) 0x83c17c0
        len = 66604
        ret = 0
        ptr = (unsigned char *) 0x85b0538 ""
        data_size = 0
        pts = 473
        firstloop = true
        have_err = false
        allowedquit = false
        storevideoframes = false
        skipaudio = true
#5  0xb799dbfa in NuppelVideoPlayer::GetFrameNormal (this=0x82263b0,
onlyvideo=0) at NuppelVideoPlayer.cpp:949
No locals.
#6  0xb799e882 in NuppelVideoPlayer::GetFrame (this=0x82263b0, onlyvideo=0,
unsafe=false) at NuppelVideoPlayer.cpp:1027
        ret = false
#7  0xb79a7080 in NuppelVideoPlayer::StartPlaying (this=0x82263b0) at
NuppelVideoPlayer.cpp:2476
        output_video = 2872560560
        decoder_thread = 2951429040
#8  0xb795744d in SpawnDecode (param=0x82263b0) at tv_play.cpp:190
---Type <return> to continue, or q <return> to quit---
        nvp = (NuppelVideoPlayer *) 0x82263b0
#9  0xb6361b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#10 0xb621a18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 7 (Thread -1335075920 (LWP 15473)):
#0  0xb61eb99c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb621428a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb79667f9 in TV::RunTV (this=0x8252908) at tv_play.cpp:1440
        doHandle = false
        keypressed = (QKeyEvent *) 0xb06c5ae4
        netCmd = {static null = {static null = <same as static member of an
already seen type>, d = 0x8185390, static shared_null = 0x8185390},
  d = 0xaaa021b0, static shared_null = 0x8185390}
        updatecheck = 25
#3  0xb7966635 in TV::EventThread (param=0x8252908) at tv_play.cpp:1392
        thetv = (class TV *) 0x8252908
#4  0xb6361b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb621a18a in clone () from /lib/tls/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Thread 6 (Thread -1260377168 (LWP 15462)):
#0  0xb61eb99c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb621428a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x0812af0d in NetworkControl::RunSocketThread (this=0x81f6e98) at
networkcontrol.cpp:150
        lineIn = {static null = {static null = <same as static member of an
already seen type>, d = 0x8185390, static shared_null = 0x8185390},
  d = 0x8185390, static shared_null = 0x8185390}
        reply = {static null = {static null = <same as static member of an
already seen type>, d = 0x8185390, static shared_null = 0x8185390}, d =
0x8185390,
  static shared_null = 0x8185390}
        replies = 0
        crlfRegEx = {eng = 0x0, priv = 0x822a788}
        crlfcrlfRegEx = {eng = 0x0, priv = 0x81e8f50}
        locker = {mtx = 0x81f3070}
#3  0x0812aa6d in NetworkControl::SocketThread (param=0x81f6e98) at
networkcontrol.cpp:103
        networkControl = (class NetworkControl *) 0x81f6e98
#4  0xb6361b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb621a18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 5 (Thread -1268765776 (LWP 15461)):
---Type <return> to continue, or q <return> to quit---
#0  0xb61eb99c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb621428a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x0812b11c in NetworkControl::RunCommandThread (this=0x81f6e98) at
networkcontrol.cpp:182
        commands = 0
        locker = {mtx = 0x81f3468}
#3  0x0812b0ab in NetworkControl::CommandThread (param=0x81f6e98) at
networkcontrol.cpp:163
        networkControl = (class NetworkControl *) 0x81f6e98
#4  0xb6361b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb621a18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 2 (Thread -1251157072 (LWP 15455)):
#0  0xb6364295 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb6954539 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb6f20bca in MythContext::waitPrivRequest (this=0x81d0ee8) at
mythcontext.cpp:2711
No locals.
#3  0x0807418f in run_priv_thread (data=0x0) at main.cpp:679
No locals.
---Type <return> to continue, or q <return> to quit---
#4  0xb6361b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb621a18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread -1249708672 (LWP 15428)):
#0  0xb61eb99c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb621428a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x08070afb in startTV (startInGuide=false) at main.cpp:270
        tv = (class TV *) 0x8252908
        quitAll = false
        showDialogs = true
#3  0x08070bb4 in startTVNormal () at main.cpp:296
No locals.
#4  0x08070e6e in TVMenuCallback (data=0x81d0ee8, selection=@0x81f6d28) at
main.cpp:330
        sel = {static null = {static null = <same as static member of an
already seen type>, d = 0x8185390, static shared_null = 0x8185390}, d =
0x81e8ef8,
  static shared_null = 0x8185390}
#5  0xb6f645b8 in ThemedMenuPrivate::handleAction (this=0x81f6c30,
action=@0x8221538) at themedmenu.cpp:2508
        ok = true
#6  0xb6f629fb in ThemedMenuPrivate::keyPressHandler (this=0x81f6c30,
e=0xbfb3ffc0) at themedmenu.cpp:2336
        it = {node = 0x8221530}
---Type <return> to continue, or q <return> to quit---
        action = {static null = {static null = <same as static member of an
already seen type>, d = 0x8185390, static shared_null = 0x8185390},
  d = 0x8229a30, static shared_null = 0x8185390}
        i = 0
        lastbutton = (ThemedButton *) 0x8277ce0
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x81f9cd8}, <No data
fields>}
#7  0xb6f65e61 in ThemedMenu::keyPressEvent (this=0x81f7f80, e=0xbfb3ffc0)
at themedmenu.cpp:2714
No locals.
#8  0xb66edb85 in QWidget::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#9  0xb665ae1f in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0xb665a914 in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0xb65f1620 in QETWidget::translateKeyEvent () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0xb65ed302 in QApplication::x11ProcessEvent () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0xb6604254 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0xb666d1d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#15 0xb665b0d1 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0xb6fe6bc9 in MythDialog::exec (this=0x81f7f80) at mythdialogs.cpp:1047
        res = -1224840366
#17 0x08071db4 in RunMenu (themedir=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x8185390, static shared_null = 0x8185390}, d = 0x81f28e0,
static shared_null = 0x8185390}) at main.cpp:498
        exitstatus = 0
#18 0x080782f8 in main (argc=1, argv=0xbfb40924) at main.cpp:1062
        geometry = {static null = {static null = <same as static member of
an already seen type>, d = 0x8185390, static shared_null = 0x8185390},
  d = 0x819ec98, static shared_null = 0x8185390}
        a = <incomplete type>
        logfile = {static null = {static null = <same as static member of an
already seen type>, d = 0x8185390, static shared_null = 0x8185390},
  d = 0x81d0d28, static shared_null = 0x8185390}
        pluginname = {static null = {static null = <same as static member of
an already seen type>, d = 0x8185390, static shared_null = 0x8185390},
  d = 0x81d0d40, static shared_null = 0x8185390}
        finfo = {fn = {static null = {static null = <same as static member
of an already seen type>, d = 0x8185390, static shared_null = 0x8185390},
    d = 0x81d0d98, static shared_null = 0x8185390}, fic = 0x0, cache = true,
symLink = false}
        binname = {static null = {static null = <same as static member of an
already seen type>, d = 0x8185390, static shared_null = 0x8185390},
  d = 0x81d0db0, static shared_null = 0x8185390}
        ResetSettings = false
        logfd = -1
        fileprefix = {static null = {static null = <same as static member of
an already seen type>, d = 0x8185390, static shared_null = 0x8185390},
---Type <return> to continue, or q <return> to quit---
  d = 0x81d0e30, static shared_null = 0x8185390}
        dir = <incomplete type>
        priv_thread = 3043810224
        status = 0
        themename = {static null = {static null = <same as static member of
an already seen type>, d = 0x8185390, static shared_null = 0x8185390},
  d = 0x82698f8, static shared_null = 0x8185390}
        randomtheme = false
        themedir = {static null = {static null = <same as static member of
an already seen type>, d = 0x8185390, static shared_null = 0x8185390},
  d = 0x81f28e0, static shared_null = 0x8185390}
        mainWindow = (class MythMainWindow *) 0x81e3b40
        pmanager = (MythPluginManager *) 0x82082f0
        mon = (class MediaMonitor *) 0x0
        networkControl = (class NetworkControl *) 0x81f6e98
        exitstatus = 10001
3821                    (*mbskip_ptr) ++; /* indicate that this time we
skipped it */





-----Original Message-----
From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org]
On Behalf Of Tim Jordan
Sent: Tuesday, January 24, 2006 12:39 PM
To: Development of mythtv
Subject: [mythtv] XvMC Support broken in Latest SVN

I have pulled tonight SVN and the XvMC support seems to be broken
As soon as you go to watch live tv it kills the frontend
In the log from the console it shows
VideoOuputXv Error: Could no open XvMC port...

I did have a big gentoo emerge today as well so it could be something  
else that is broken.
Anyone else having any problems

Regards

Tim
_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev





More information about the mythtv-dev mailing list