Isaac,

On Tuesday, 19 July 2005, Isaac Richards wrote:
> On Tuesday 19 July 2005 05:28 pm, Niels den Otter wrote:
> > Mythtv-Dev,
> >
> > I observe frequent crashes of mythfrontend. My current Mythtv version is
> > SVN Revision: 6857 (Last Changed Date: 2005-07-18 22:07:44 +0200). I
> > believe I can reproduce at least one of the type of crashes and that is
> > when Commercial Flagging starts. Here is some output during one of these
> > crashes:
> 
> > After this if I try to use Live-TV on the frontend all inputs are reported
> > busy. So no live-TV. Restarting the backend helps in these cases.
> >
> > Please let me know if more information or debugging is needed.
> 
> http://www.mythtv.org/docs/mythtv-HOWTO-21.html#ss21.2

Thanks for that pointer. I compiled a debug version of mythtv (still on
6857) and recreated the problem. Output of 'thread apply all bt full' is at
the end of this e-mail. I again noticed the frontend crashed at the moment
the backend starts a "Starting Commercial Flagging".

Not sure if is related, but when I stopped recording the program the
following was logged also by mythfrontend:

 2005-07-21 13:22:24.705 Error: File 
'/content/television_recording/1_20050721132200_20050721134500.nuv' missing.

I hope this provides enough information.

-----------------------------------------------------------------
2005-07-21 13:22:32.002 Changing from None to WatchingLiveTV
2005-07-21 13:22:32.004 Realtime priority would require SUID as root.
2005-07-21 13:22:32.202 Video timing method: USleep with busy wait
2005-07-21 13:22:40.993 taking too long to be allowed to read..
2005-07-21 13:22:41.814 Prebuffer wait timed out 10 times.
2005-07-21 13:22:41.995 taking too long to be allowed to read..
2005-07-21 13:22:44.909 prebuffering pause
2005-07-21 13:22:57.683 prebuffering pause

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1237692288 (LWP 17567)]
0xb6e37034 in operator== () from /usr/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 40 (Thread -1391273040 (LWP 17715)):
#0  0xb665f99c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb668828a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7d00203 in BusyWaitVideoSync::WaitForFrame (this=0x82d9b50, 
sync_delay=0) at vsync.cpp:731
        cnt = 0
#3  0xb7c78dfb in NuppelVideoPlayer::AVSync (this=0x82d8b58) at 
NuppelVideoPlayer.cpp:1371
        diverge = -1.28292501
        buffer = (VideoFrame *) 0x84ed6b8
#4  0xb7c89a0a in NuppelVideoPlayer::DisplayNormalFrame (this=0x82d8b58) at 
NuppelVideoPlayer.cpp:1598
        frame = (VideoFrame *) 0x84ed6b8
#5  0xb7c89f50 in NuppelVideoPlayer::OutputVideoLoop (this=0x82d8b58) at 
NuppelVideoPlayer.cpp:1678
        temp_speed = 1
        fr_int = 40000
#6  0xb7c8a004 in NuppelVideoPlayer::kickoffOutputVideoLoop (player=0x82d8b58) 
at NuppelVideoPlayer.cpp:1743
        nvp = (NuppelVideoPlayer *) 0x82d8b58
#7  0xb6803b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8  0xb668e18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 39 (Thread -1369764944 (LWP 17714)):
#0  0xb665f99c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb668828a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7506d7d in AudioOutputBase::OutputAudioLoop (this=0xae5b1008) at 
audiooutputbase.cpp:772
        space_on_soundcard = 1608
        last_space_on_soundcard = 1608
        zeros = 0xae5af6f0 ""
        fragment = 0xae5ae6e0 
"CF\221C\vG\017EfG®E\017H\232EÓHµEŽH¿EÿGjE^GôD/F3DPDÞBíB'AÝA6?»?#=\r=\016;&;Å8\0359[6ò5%4\0203\2321ñ08.Í-\003+¹)\214(m&\206%c#\204!\210\037Ü\035µ\033¹\032\003\030%\027æ\023x\023\227\020R\020)\0164\rœ\nû\tû\006\036\a\225\004F\004F\002*\001\"ÿ^þ?üÓû)ùêø³õóõ\224óaóâñõð\205îºîcëŒìÌéEêBçvçáãkå.âáãßà\224á\rÞ²ÞgÛ\033Ü\205ÙÎÙ¹Ö§×"...
        e = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0}, error_msg = 
0x0, elasped_seconds = 0, 
  written_bytes = 0, brate = 0, freq = 0, prec = 0, chan = 0}
#3  0xb7507462 in AudioOutputBase::kickoffOutputAudioLoop (player=0xae5b1008) 
at audiooutputbase.cpp:872
No locals.
#4  0xb6803b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb668e18a in clone () from /lib/tls/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Thread 38 (Thread -1346597968 (LWP 17713)):
#0  0xb6687a27 in select () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb6d59883 in QSocketDevice::waitForMore () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb741c15a in RemoteFile::Read (this=0x8251128, data=0xae8c3008, 
size=128000) at remotefile.cpp:263
        recv = 0
        sent = 128000
        zerocnt = 2
        strlist = {<QValueList<QString>> = {sh = 0x8515158}, <No data fields>}
        error = false
        response = false
#3  0xb7b54134 in RingBuffer::safe_read (this=0x824c0c0, rf=0x8251128, 
data=0xae8c3008, sz=128000)
    at RingBuffer.cpp:1103
        ret = 0
#4  0xb7b54e5d in RingBuffer::ReadAheadThread (this=0x824c0c0) at 
RingBuffer.cpp:1341
        totfree = 128000
        ret = 128000
        used = 589825
        loops = 0
#5  0xb7b55735 in RingBuffer::startReader (type=0x824c0c0) at 
RingBuffer.cpp:1261
        rbuffer = (RingBuffer *) 0x824c0c0
#6  0xb6803b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#7  0xb668e18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 37 (Thread -1338205264 (LWP 17712)):
#0  0xb6806440 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb6df74e0 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb7c8a304 in VideoBuffers::WaitForAvailable (this=0x82c459c, w=10) at 
videobuffers.h:93
No locals.
#3  0xb7c8a496 in VideoOutput::WaitForAvailable (this=0x82c4500, w=10) at 
videooutbase.h:211
No locals.
#4  0xb7c76937 in NuppelVideoPlayer::GetFrame (this=0x82d8b58, onlyvideo=0, 
unsafe=false)
    at NuppelVideoPlayer.cpp:830
No locals.
#5  0xb7c8611c in NuppelVideoPlayer::StartPlaying (this=0x82d8b58) at 
NuppelVideoPlayer.cpp:2071
        output_video = 2903694256
        decoder_thread = 2956762032
        pausecheck = 0
---Type <return> to continue, or q <return> to quit---
#6  0xb7c43083 in SpawnDecode (param=0x82d8b58) at tv_play.cpp:150
        nvp = (NuppelVideoPlayer *) 0x82d8b58
#7  0xb6803b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8  0xb668e18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 36 (Thread -1357386832 (LWP 17709)):
#0  0xb665f99c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb668828a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7c691db in TV::RunTV (this=0xb43f0748) at tv_play.cpp:1235
        doHandle = false
        keypressed = (QKeyEvent *) 0xb4302aa0
        updatecheck = 4
#3  0xb7c69d45 in TV::EventThread (param=0xb43f0748) at tv_play.cpp:1178
        thetv = (class TV *) 0xb43f0748
#4  0xb6803b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb668e18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 5 (Thread -1262474320 (LWP 17645)):
#0  0xb6806440 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb6af1867 in QThread::exit () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb6af1972 in QThread::msleep () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#3  0xb752ffaa in MonitorThread::run (this=0xb43215c8) at 
mythmediamonitor.cpp:77
No locals.
#4  0xb6af14ea in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0xb6803b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0xb668e18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 3 (Thread -1254085712 (LWP 17572)):
#0  0xb68086a1 in __read_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb658c5a1 in lirc_nextcode () from /usr/lib/liblirc_client.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#2  0xb753e4a8 in LircClient::Process (this=0x8263b80) at lirc.cpp:67
        code = 0x0
        ir = 0x0
        ret = 0
#3  0xb74b5443 in SpawnLirc (param=0x8280848) at mythdialogs.cpp:53
        main_window = (MythMainWindow *) 0x8280848
        config_file = {static null = {static null = <same as static member of 
an already seen type>, 
    d = 0x8170070, static shared_null = 0x8170070}, d = 0x82cdb08, static 
shared_null = 0x8170070}
        program = {static null = {static null = <same as static member of an 
already seen type>, d = 0x8170070, 
    static shared_null = 0x8170070}, d = 0x8274cf8, static shared_null = 
0x8170070}
        cl = (class LircClient *) 0x8263b80
#4  0xb6803b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb668e18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 2 (Thread -1239221328 (LWP 17571)):
#0  0xb6806295 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb6df7539 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb73fceb5 in MythContext::waitPrivRequest (this=0x81a2870) at 
mythcontext.cpp:2396
No locals.
#3  0x0806eb93 in run_priv_thread (data=0x0) at main.cpp:691
No locals.
#4  0xb6803b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb668e18a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread -1237692288 (LWP 17567)):
#0  0xb6e37034 in operator== () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#1  0xb7c6476a in TV::customEvent (this=0xb43f0748, e=0xb0431f98) at 
tv_play.cpp:3843
        tokens = {<QValueList<QString>> = {sh = 0xb08f5a20}, <No data fields>}
        evchanid = {static null = {static null = <same as static member of an 
already seen type>, 
    d = 0x8170070, static shared_null = 0x8170070}, d = 0xb0402068, static 
shared_null = 0x8170070}
        evstartts = {d = {jd = 2453573}, t = {ds = 48120000}}
        me = (MythEvent *) 0xb0431f98
        message = {static null = {static null = <same as static member of an 
already seen type>, d = 0x8170070, 
    static shared_null = 0x8170070}, d = 0xb4322b00, static shared_null = 
0x8170070}
#2  0xb6b57f2c in QObject::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#3  0xb6afde1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#4  0xb6afd41e in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0xb6afec16 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0xb6afea96 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7  0xb6aa71cd in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#8  0xb6b1027f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#9  0xb6afdf8e in QApplication::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0xb6afdf58 in QApplication::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0x0806d628 in startTV () at main.cpp:312
        tv = (class TV *) 0xb43f0748
        timer = {ds = 48147822}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#12 0xb74bd622 in MythMainWindow::ExitToMainMenu (this=0x8280848) at 
mythdialogs.cpp:395
        callback = (void (*)(void)) 0x806d1f6 <startTV()>
        current = (struct QWidget *) 0xb4305190
#13 0xb74c563f in MythMainWindow::customEvent (this=0x8280848, ce=0xb43ef498) 
at mythdialogs.cpp:732
No locals.
#14 0xb6b57f2c in QObject::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0xb6b90aaf in QWidget::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0xb6afde1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#17 0xb6afd41e in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0xb6afec16 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0xb6afea96 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#20 0xb6aa71cd in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0xb6b101d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0xb6afe0d1 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#23 0xb74b5d82 in MythDialog::exec (this=0xb4305190) at mythdialogs.cpp:1015
        res = -1219797750
#24 0x0806ffa5 in RunMenu ([EMAIL PROTECTED]) at main.cpp:532
        exitstatus = 0
#25 0x080732c4 in main (argc=1, argv=0xbffffd84) at main.cpp:1102
        geometry = {static null = {static null = <same as static member of an 
already seen type>, 
    d = 0x8170070, static shared_null = 0x8170070}, d = 0x817ff08, static 
shared_null = 0x8170070}
        a = <incomplete type>
        logfile = {static null = {static null = <same as static member of an 
already seen type>, d = 0x8170070, 
    static shared_null = 0x8170070}, d = 0x8197aa8, static shared_null = 
0x8170070}
        verboseString = {static null = {static null = <same as static member of 
an already seen type>, 
    d = 0x8170070, static shared_null = 0x8170070}, d = 0x819a110, static 
shared_null = 0x8170070}
        pluginname = {static null = {static null = <same as static member of an 
already seen type>, 
    d = 0x8170070, static shared_null = 0x8170070}, d = 0x81a2638, static 
shared_null = 0x8170070}
        finfo = {fn = {static null = {static null = <same as static member of 
an already seen type>, 
      d = 0x8170070, static shared_null = 0x8170070}, d = 0x81a2690, static 
shared_null = 0x8170070}, 
  fic = 0x0, cache = true, symLink = false}
        binname = {static null = {static null = <same as static member of an 
already seen type>, d = 0x8170070, 
    static shared_null = 0x8170070}, d = 0x81a26a8, static shared_null = 
0x8170070}
        logfd = -1
        fileprefix = {static null = {static null = <same as static member of an 
already seen type>, 
    d = 0x8170070, static shared_null = 0x8170070}, d = 0x81a2750, static 
shared_null = 0x8170070}
        dir = <incomplete type>
        priv_thread = 3055745968
        status = 0
        themename = {static null = {static null = <same as static member of an 
already seen type>, 
    d = 0x8170070, static shared_null = 0x8170070}, d = 0x827ee40, static 
shared_null = 0x8170070}
        randomtheme = false
        themedir = {static null = {static null = <same as static member of an 
already seen type>, 
    d = 0x8170070, static shared_null = 0x8170070}, d = 0x8262930, static 
shared_null = 0x8170070}
        mainWindow = (class MythMainWindow *) 0x8280848
        pmanager = (MythPluginManager *) 0xb4304a88
        mon = (class MediaMonitor *) 0xb4321598
        exitstatus = -1073742600
(gdb) 
(gdb) quit
The program is running.  Exit anyway? (y or n) y
-----------------------------------------------------------------



-- Niels

Attachment: signature.asc
Description: Digital signature

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to