I've had this problem with CVS before 0.17 was released and still have
it in 0.17-release and recent CVS. I can view 1080i LiveTV, but not
after viewing any other resolution. So if a 1080i station is the
starting channel when LiveTV opens then I can view it, but if I am
viewing a station that is 720p and then change to the 1080i channel
then mythfrontend does a Segmentation Fault.

Hardware is a ASUS Pundit with a 3.06Ghz HT P4 and 256MB of RAM (64
dedicated to on-board video). I'm using the s-video out of the
on-board video. Tuner card is a HD-3000 and I'm using the DVB drivers.

As additional notes, I have to use lib2mpeg decoding otherwise
mythfrontend segfaults whenever I try to view 1080i. And with lib2mpeg
1080i still stutters even with de-interlacing off, but I'll try to
resolve that later.

Any help is much appreciated!
-Jason

Backtrace (0.17-release) when switching from 720p to 1088i is as follows:

Starting program: /usr/local/bin/mythfrontend
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xffffe000
[Thread debugging using libthread_db enabled]
[New Thread -1220859680 (LWP 17561)]
[New Thread -1223152720 (LWP 17562)]

Program received signal SIG33, Real-time event 33.
2005-02-25 10:50:46.118 mythfrontend version: 0.17.20050130-1 www.mythtv.org
2005-02-25 10:50:46.118 Enabled verbose msgs : important general
2005-02-25 10:50:47.363 Switching to square mode (G.A.N.T.)
[New Thread -1233351760 (LWP 17565)]
2005-02-25 10:50:49.888 Joystick disabled.
[Thread -1233351760 (LWP 17565) exited]
2005-02-25 10:50:50.351 Registering Internal as a media playback plugin.
[New Thread -1233351760 (LWP 17567)]
2005-02-25 10:51:16.329 Connecting to backend server: 127.0.0.1:6543
(try 1 of 5)
2005-02-25 10:51:16.516 Using protocol version 14
2005-02-25 10:51:16.741 Using protocol version 14
[New Thread -1268171856 (LWP 17570)]
[New Thread -1276564560 (LWP 17571)]
2005-02-25 10:51:19.349 Opening audio device '/dev/dsp'.
2005-02-25 10:51:19.350 Opening OSS audio device '/dev/dsp'.
[New Thread -1345344592 (LWP 17572)]
2005-02-25 10:51:19.544 Using XV port 56
[New Thread -1472021584 (LWP 17573)]
2005-02-25 10:51:20.772 Realtime priority would require SUID as root.
2005-02-25 10:51:20.787 Changing from None to WatchingLiveTV
2005-02-25 10:51:20.910 Video timing method: USleep with busy wait
2005-02-25 10:51:25.676 prebuffering pause
2005-02-25 10:51:29.279 prebuffering pause
2005-02-25 10:51:30.217 prebuffering pause
2005-02-25 10:51:30.928 prebuffering pause
2005-02-25 10:51:31.826 prebuffering pause
2005-02-25 10:51:32.543 prebuffering pause
2005-02-25 10:51:33.507 prebuffering pause
2005-02-25 10:51:34.230 prebuffering pause
2005-02-25 10:51:35.450 prebuffering pause
2005-02-25 10:51:36.235 prebuffering pause
2005-02-25 10:51:36.889 prebuffering pause
2005-02-25 10:51:37.622 prebuffering pause
av_remove_stream 0x80
2005-02-25 10:51:40.944 streams_changed() -- stream count 2
QDateTime::fromString: Parameter out of range
QDateTime::fromString: Parameter out of range
QDateTime::fromString: Parameter out of range
2005-02-25 10:51:41.283 AvFormatDecoder: Video has changed from
1920x1088 to 704x480.
QDateTime::fromString: Parameter out of range
av_remove_stream 0x80
2005-02-25 10:51:51.314 streams_changed() -- stream count 2
2005-02-25 10:51:51.425 AvFormatDecoder: Video has changed from
704x480 to 1920x1088.
2005-02-25 10:51:53.717 prebuffering pause
2005-02-25 10:51:54.661 prebuffering pause
2005-02-25 10:51:55.313 GetNextFreeFrame() served a busy frame.
Dropping. #Frames=31/31.
2005-02-25 10:51:55.550 prebuffering pause
2005-02-25 10:51:56.265 prebuffering pause
2005-02-25 10:51:56.286 GetNextFreeFrame() served a busy frame.
Dropping. #Frames=30/31.
2005-02-25 10:51:56.347 GetNextFreeFrame() served a busy frame.
Dropping. #Frames=29/31.
2005-02-25 10:51:57.150 prebuffering pause
2005-02-25 10:51:58.489 prebuffering pause
2005-02-25 10:51:58.734 GetNextFreeFrame() served a busy frame.
Dropping. #Frames=31/31.
2005-02-25 10:51:58.762 GetNextFreeFrame() served a busy frame.
Dropping. #Frames=30/31.
2005-02-25 10:51:58.890 GetNextFreeFrame() served a busy frame.
Dropping. #Frames=30/31.
2005-02-25 10:51:59.667 prebuffering pause

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1472021584 (LWP 17573)]
0x02f846d9 in QString::multiArg () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 8 (Thread -1472021584 (LWP 17573)):
#0  0x02f846d9 in QString::multiArg () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#1  0x02f855d5 in QString::contains () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#2  0x02f8562a in QString::contains () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#3  0xb7b66be2 in OSDTypeText::Draw (this=0x8e18708,
surface=0xae15bbc8, fade=99118,
    maxfade=1000000, xoff=0, yoff=0) at osdtypes.cpp:517
        textlength = 0
        maxlength = -1472023992
#4  0xb7b65c88 in OSDSet::Draw (this=0x8e18538, surface=0xae15bbc8,
actuallydraw=true)
    at osdtypes.cpp:368
        type = (class OSDType *) 0x8e18708
        i = {_M_current = 0x8e186e0}
#5  0xb7b5d53a in OSD::Display (this=0x8281f58) at osd.cpp:1993
        timedisp = (class OSDTypeText *) 0x0
        container = (class OSDSet *) 0x8e18538
        anytodisplay = false
        actuallydraw = true
        removeList = {<std::_Vector_base<OSDSet*,std::allocator<OSDSet*> >> = {
    _M_impl = {<std::allocator<OSDSet*>> =
{<__gnu_cxx::new_allocator<OSDSet*>> = {<No data fields>}, <No data
fields>}, _M_start = 0x0, _M_finish = 0x0,
      _M_end_of_storage = 0x0}}, <No data fields>}
        i = {_M_current = 0x8e1d4a8}
#6  0xb7c7f9f7 in VideoOutput::DisplayOSD (this=0x8b094a0,
frame=0x8b35cf0, osd=0x8281f58,
---Type <return> to continue, or q <return> to quit---
    stride=-1) at videooutbase.cpp:1097
        surface = (OSDSurface *) 0xb7c807b2
        retval = -1
#7  0xb7d61e24 in VideoOutputXv::ProcessFrame (this=0x8b094a0,
frame=0x8b35cf0, osd=0x8281f58,
    filterList=0x0, pipPlayer=0x0) at videoout_xv.cpp:1141
        pauseframe = true
#8  0xb7b3dc32 in NuppelVideoPlayer::OutputVideoLoop (this=0x8b14e00)
    at NuppelVideoPlayer.cpp:1573
        frame = (VideoFrame *) 0x8b35af8
        temp_speed = 1
        fr_int = 33366
#9  0xb7b3e482 in NuppelVideoPlayer::kickoffOutputVideoLoop (player=0x8b14e00)
    at NuppelVideoPlayer.cpp:1688
        nvp = (NuppelVideoPlayer *) 0x8b14e00
#10 0x007e13ae in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#11 0x00655b6e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 7 (Thread -1345344592 (LWP 17572)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00618d86 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x0064ee8a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0xb757d08f in AudioOutputBase::OutputAudioLoop (this=0xafcfb008)
at audiooutputbase.cpp:709
---Type <return> to continue, or q <return> to quit---
        space_on_soundcard = 60232
        last_space_on_soundcard = 60232
        zeros = "\000"
        fragment = "2"
        e = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0},
error_msg = 0x0,
  elasped_seconds = 0, written_bytes = 0, brate = 0, freq = 0, prec =
0, chan = 0}
#4  0xb757e254 in AudioOutputBase::kickoffOutputAudioLoop (player=0xafcfb008)
    at audiooutputbase.cpp:870
No locals.
#5  0x007e13ae in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x00655b6e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 6 (Thread -1276564560 (LWP 17571)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00618d86 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x0064ee8a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0xb7bc601a in RingBuffer::ReadAheadThread (this=0x82a8870) at
RingBuffer.cpp:789
        totfree = 2559999
        ret = 256000
        used = 258049
#4  0xb7bc5f40 in RingBuffer::startReader (type=0x82a8870) at RingBuffer.cpp:765
        rbuffer = (RingBuffer *) 0x82a8870
---Type <return> to continue, or q <return> to quit---
#5  0x007e13ae in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x00655b6e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 5 (Thread -1268171856 (LWP 17570)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x007e624e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x007e2e4f in _L_mutex_lock_32 () from /lib/tls/libpthread.so.0
No symbol table info available.
#3  0xb4693260 in ?? ()
No symbol table info available.
#4  0xb4693278 in ?? ()
No symbol table info available.
#5  0xb7f1717c in ?? () from /usr/local/lib/libmythtv-0.17.so.0
No symbol table info available.
#6  0xb46932c0 in ?? ()
No symbol table info available.
#7  0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread -1233351760 (LWP 17567)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0064e5c1 in ___newselect_nocancel () from /lib/tls/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#2  0x02eb1ed4 in QSocketDevice::waitForMore () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#3  0xb74e34c9 in ReadStringList (socket=0x8280d40, [EMAIL PROTECTED],
quickTimeout=true)
    at util.cpp:194
        timer = {ds = 39119703}
        read = 12
        str = {static null = {static null = <same as static member of
an already seen type>,
    d = 0x8156070, static shared_null = 0x8156070}, d = 0xb67c80b0,
  static shared_null = 0x8156070}
        elapsed = 377
        sizestr = <incomplete type>
        btr = 0
        utf8 = <incomplete type>
        errmsgtime = 9265824
#4  0xb7bbb828 in RemoteEncoder::SendReceiveStringList
(this=0x82981e0, [EMAIL PROTECTED])
    at remoteencoder.cpp:60
No locals.
#5  0xb7bbdafd in RemoteEncoder::SetChannel (this=0x82981e0, channel=
      {static null = {static null = <same as static member of an
already seen type>, d = 0x8156070, static shared_null = 0x8156070}, d
= 0xa9181ca0, static shared_null = 0x8156070})
    at remoteencoder.cpp:313
        strlist = {<QValueList<QString>> = {sh = 0xa9101ec0}, <No data fields>}
#6  0xb7bf9918 in TV::ChangeChannelByString (this=0x8279fc8,
[EMAIL PROTECTED], force=false)
    at tv_play.cpp:2721
        muted = true
        aud = (class AudioOutput *) 0xafcfb008
---Type <return> to continue, or q <return> to quit---
        filters = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0xa9181ca0, static
shared_null = 0x8156070}
#7  0xb7c014e6 in TV::BrowseEnd (this=0x8279fc8, change=true) at
tv_play.cpp:3536
No locals.
#8  0xb7bf2ea8 in TV::ProcessKeypress (this=0x8279fc8, e=0xa9198ee8)
at tv_play.cpp:1338
        i = 0
        passThru = 0
        redisplayBrowseInfo = false
        actions = {<QValueList<QString>> = {sh = 0xa9196608}, <No data fields>}
        action = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0x8239ca8, static shared_null
= 0x8156070}
        was_doing_ff_rew = false
        handled = true
#9  0xb7bf2092 in TV::RunTV (this=0x8279fc8) at tv_play.cpp:1137
        keypressed = (QKeyEvent *) 0xa9198ee8
        updatecheck = 6
#10 0xb7bf1836 in TV::EventThread (param=0x8279fc8) at tv_play.cpp:1046
        thetv = (class TV *) 0x8279fc8
#11 0x007e13ae in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#12 0x00655b6e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 2 (Thread -1223152720 (LWP 17562)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#1  0x007e3b46 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#2  0x02f4e5f1 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#3  0xb749c8bd in MythContext::waitPrivRequest (this=0x822afa0) at
mythcontext.cpp:2138
No locals.
#4  0x0806d184 in run_priv_thread (data=0x0) at main.cpp:663
No locals.
#5  0x007e13ae in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x00655b6e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread -1220859680 (LWP 17561)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00618d86 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x0064ee8a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x0806a4f6 in startTV () at main.cpp:316
        tv = (class TV *) 0x8279fc8
        timer = {ds = 39076731}
        tryTV = false
        tryRecorder = false
        quitAll = false
---Type <return> to continue, or q <return> to quit---
        showDialogs = true
#4  0x0806a673 in TVMenuCallback (data=0x822afa0,
[EMAIL PROTECTED]) at main.cpp:354
        sel = {static null = {static null = <same as static member of
an already seen type>,
    d = 0x8156070, static shared_null = 0x8156070}, d = 0x8b36100,
  static shared_null = 0x8156070}
#5  0xb74d82b0 in ThemedMenuPrivate::handleAction (this=0x82450d0,
[EMAIL PROTECTED])
    at themedmenu.cpp:2439
No locals.
#6  0xb74d673f in ThemedMenuPrivate::keyPressHandler (this=0x82450d0,
e=0xbfffe340)
    at themedmenu.cpp:2268
        it = {node = 0x8267828}
        action = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0x8239ca8, static shared_null
= 0x8156070}
        i = 0
        lastbutton = (ThemedButton *) 0x8287bc8
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x8263f80}, <No data fields>}
#7  0xb74d98c5 in ThemedMenu::keyPressEvent (this=0x8244da0, e=0xbfffe340)
    at themedmenu.cpp:2634
No locals.
#8  0x02cf02ab in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#9  0x02c5b4da in QApplication::internalNotify () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#10 0x02c5baec in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#11 0x02beeadf in QETWidget::translateKeyEvent () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#12 0x02bf5ca9 in QApplication::x11ProcessEvent () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#13 0x02c08e16 in QEventLoop::processEvents () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#14 0x02c70a95 in QEventLoop::enterLoop () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#15 0x02c5a839 in QApplication::enter_loop () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#16 0xb7543521 in MythDialog::exec (this=0x8244da0) at mythdialogs.cpp:954
        res = -1219218266
#17 0x0806b8f4 in RunMenu (themedir=
      {static null = {static null = <same as static member of an
already seen type>, d = 0x8156070, static shared_null = 0x8156070}, d
= 0x8241820, static shared_null = 0x8156070})
    at main.cpp:510
        exitstatus = 0
#18 0x080704b5 in main (argc=1, argv=0xbfffeb34) at main.cpp:1036
        a = <incomplete type>
        logfile = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0x822aac8, static shared_null
= 0x8156070}
        finfo = {fn = {static null = {
      static null = <same as static member of an already seen type>, d
= 0x8156070,
      static shared_null = 0x8156070}, d = 0x822ad78, static
shared_null = 0x8156070},
  fic = 0x0, cache = true, symLink = false}
---Type <return> to continue, or q <return> to quit---
        logfd = -1
        fileprefix = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0x822ae60, static shared_null
= 0x8156070}
        db = (struct QSqlDatabase *) 0x822f470
        themename = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0x82af0e8, static shared_null
= 0x8156070}
        randomtheme = false
        verboseString = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0x822ad08, static shared_null
= 0x8156070}
        status = 0
        mainWindow = (class MythMainWindow *) 0x8243528
        pmanager = (MythPluginManager *) 0x8244c90
        lcd_host = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0x8232ad0, static shared_null
= 0x8156070}
        pluginname = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0x822ad20, static shared_null
= 0x8156070}
        binname = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
    static shared_null = 0x8156070}, d = 0x822ad90, static shared_null
= 0x8156070}
        priv_thread = 3071814576
        themedir = {static null = {
    static null = <same as static member of an already seen type>, d =
0x8156070,
---Type <return> to continue, or q <return> to quit---
    static shared_null = 0x8156070}, d = 0x8241820, static shared_null
= 0x8156070}
        exitstatus = 7038976
        mon = (class MediaMonitor *) 0x0
        lcd_port = 13666
        dir = <incomplete type>
#0  0x02f846d9 in QString::multiArg () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to