[mythtv-users] Frontend hangs on show delete or exit Watch Recordings screen

Wendy Seltzer wendy at seltzer.com
Sun Jun 26 17:05:15 UTC 2005


At 01:38 PM 6/23/2005 -0400, Robert Tsai wrote:

>So if you change this screen to just show a "still" preview instead of
>a "live" preview, does the problem go away?

Unfortunately, no.  And despite its cpu hoggishness, I find the live 
preview useful to see whether a HDTV recording worked reasonably or has too 
many reception errors.

Here's a frontend crash from exiting a recording (pressed ESC while a 
recorded program was playing).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1304314960 (LWP 18605)]
0xb649eeba in mallopt () from /lib/tls/libc.so.6
(gdb) thread apply all bt full

Thread 59 (Thread -1317012560 (LWP 18622)):
#0  0xb64d599c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb64fe28a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7a3b677 in RingBuffer::ReadAheadThread (this=0x81d1988)
     at RingBuffer.cpp:1266
         totfree = 2464767
         ret = 128000
         used = 128001
         loops = 0
#3  0xb7a3b599 in RingBuffer::startReader (type=0x81d1988)
     at RingBuffer.cpp:1241
         rbuffer = (RingBuffer *) 0x81d1988
#4  0xb664bb63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb650418a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 53 (Thread -1304314960 (LWP 18605)):
#0  0xb649eeba in mallopt () from /lib/tls/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0xb649ddcb in free () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb661dd23 in operator delete () from /usr/lib/libstdc++.so.5
No symbol table info available.
#3  0xb661dd7f in operator delete[] () from /usr/lib/libstdc++.so.5
No symbol table info available.
#4  0xb7b899c1 in ~OSDSurface (this=0x83f5910) at osdsurface.cpp:214
No locals.
#5  0xb7b66fcb in ~OSD (this=0x871cff8) at osd.cpp:104
         fonts = {node = 0x81db668}
         sets = {node = 0x871bfa0}
  #6  0xb7b31f6d in ~NuppelVideoPlayer (this=0x84ae078)
     at NuppelVideoPlayer.cpp:222
No locals.
#7  0xb7b123da in TV::TeardownPlayer (this=0x8245490) at tv_play.cpp:1008
         vs = (class VideoSync *) 0xb1a491f0
#8  0xb7b114d1 in TV::StopPlayerAndRecorder (this=0x8245490, closePlayer=true,
     closeRecorder=true) at tv_play.cpp:893
No locals.
#9  0xb7b0ff09 in TV::HandleStateChange (this=0x8245490) at tv_play.cpp:693
         changed = true
         tmpInternalState = kState_None
         statename = {static null = {
---Type <return> to continue, or q <return> to quit---
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0xb3f1b438,
   static shared_null = 0x816c388}
         origname = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0xb3f377f8,
   static shared_null = 0x816c388}
#10 0xb7b13166 in TV::RunTV (this=0x8245490) at tv_play.cpp:1123
         keypressed = (QKeyEvent *) 0x81c80c0
         updatecheck = 14
#11 0xb7b12649 in TV::EventThread (param=0x8245490) at tv_play.cpp:1058
         thetv = (class TV *) 0x8245490
#12 0xb664bb63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#13 0xb650418a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 6 (Thread -1286947920 (LWP 14769)):
#0  0xb664e295 in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb6c3e1e9 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#2  0xb35f37f8 in vxmlParser::vxmlThreadWorker ()
    from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#3  0xb35f3794 in vxmlParser::vxmlThread ()
    from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#4  0xb664bb63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb650418a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 5 (Thread -1266451536 (LWP 14768)):
#0  0xb64fda27 in select () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb6ba0743 in QSocketDevice::waitForMore () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb35c5eb4 in SipFsm::CheckRxEvent ()
    from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#3  0xb35bff52 in SipThread::CheckNetworkEvents ()
    from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#4  0xb35beb74 in SipThread::SipThreadWorker ()
---Type <return> to continue, or q <return> to quit---
    from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#5  0xb35be940 in SipThread::run ()
    from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#6  0xb69392aa in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7  0xb664bb63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8  0xb650418a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 3 (Thread -1258062928 (LWP 14703)):
#0  0xb66506a1 in __read_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb6413ef9 in lirc_nextcode (code=0xb5037a38) at lirc_client.c:1498
         packet_size = 100
         end_len = 0
         len = -512
         end = 0x0
         c = 8 '\b'
#2  0xb7342312 in LircClient::Process (this=0x81db550) at lirc.cpp:67
         code = 0x0
---Type <return> to continue, or q <return> to quit---
         ir = 0x0
         ret = 0
#3  0xb72bd572 in SpawnLirc (param=0x81d9d20) at mythdialogs.cpp:53
         main_window = (MythMainWindow *) 0x81d9d20
         config_file = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x81e5dc0,
   static shared_null = 0x816c388}
         program = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x81dc9b8,
   static shared_null = 0x816c388}
         cl = (class LircClient *) 0x81db550
#4  0xb664bb63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb650418a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 2 (Thread -1248703568 (LWP 14702)):
#0  0xb664e295 in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb6c3e1e9 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#2  0xb7215e28 in MythContext::waitPrivRequest (this=0x81aa438)
     at mythcontext.cpp:2397
No locals.
#3  0x08070118 in run_priv_thread (data=0x0) at main.cpp:690
No locals.
#4  0xb664bb63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb650418a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread -1246318432 (LWP 14698)):
#0  0xb64d599c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb64fe28a in usleep () from /lib/tls/libc.so.6
No symbol table info available.

#2  0x0806d56a in startTV () at main.cpp:312
         tv = (class TV *) 0x8245490
         timer = {ds = 35164513}
         tryTV = false
         tryRecorder = false
         quitAll = false
         showDialogs = true
---Type <return> to continue, or q <return> to quit---
#3  0x0806d823 in TVMenuCallback (data=0x81aa438, selection=@0xb3f14f80)
     at main.cpp:369
         sel = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x823ea40,
   static shared_null = 0x816c388}
#4  0xb7257bee in ThemedMenuPrivate::handleAction (this=0xb3f14e88,
     action=@0xb3f156e0) at themedmenu.cpp:2497
         ok = true
#5  0xb725603f in ThemedMenuPrivate::keyPressHandler (this=0xb3f14e88,
     e=0xbfba5b80) at themedmenu.cpp:2325
         it = {node = 0xb3f156d8}
         action = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x82391f0,
   static shared_null = 0x816c388}
         i = 0
         lastbutton = (ThemedButton *) 0xb3f21120
         oldrow = 0
         handled = true
         actions = {<QValueList<QString>> = {sh = 0x83c5da0}, <No data fields>}

#6  0xb7259378 in ThemedMenu::keyPressEvent (this=0xb3f17920, e=0xbfba5b80)
     at themedmenu.cpp:2695
---Type <return> to continue, or q <return> to quit---
No locals.
#7  0xb69d86e5 in QWidget::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#8  0xb6945bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#9  0xb69456c4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0xb68dc640 in QETWidget::translateKeyEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0xb68d8392 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0xb68ef1a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0xb6957f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0xb6945e81 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0xb72c7889 in MythDialog::exec (this=0xb3f17920) at mythdialogs.cpp:1015
         res = -1221822446
#16 0x0806e6b2 in RunMenu (themedir=
       {static null = {static null = <same as static member of an already 
seen type>, d = 0x816c388, static sha
red_null = 0x816c388}, d = 0x81cef80, static shared_null = 0x816c388}) at 
main.cpp:531
---Type <return> to continue, or q <return> to quit---
         exitstatus = 0
#17 0x08073d5e in main (argc=1, argv=0xbfba6394) at main.cpp:1097
         geometry = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x817e770,
   static shared_null = 0x816c388}
         a = <incomplete type>
         logfile = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x81a9d10,
   static shared_null = 0x816c388}
         verboseString = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x81aa1e8,
   static shared_null = 0x816c388}
         pluginname = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x81aa200,
   static shared_null = 0x816c388}
         finfo = {fn = {static null = {
       static null = <same as static member of an already seen type>,
       d = 0x816c388, static shared_null = 0x816c388}, d = 0x81aa248,
     static shared_null = 0x816c388}, fic = 0x0, cache = true, symLink = false}
---Type <return> to continue, or q <return> to quit---
         binname = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x81aa260,
   static shared_null = 0x816c388}
         logfd = -1
         fileprefix = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x81aa318,
   static shared_null = 0x816c388}
         dir = <incomplete type>
         priv_thread = 3046263728
         status = 0
         themename = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x81b73f0,
   static shared_null = 0x816c388}
         randomtheme = false
         themedir = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x816c388, static shared_null = 0x816c388}, d = 0x81cef80,
   static shared_null = 0x816c388}
         mainWindow = (class MythMainWindow *) 0x81d9d20
         pmanager = (MythPluginManager *) 0xb3f05f70
---Type <return> to continue, or q <return> to quit---
         mon = (class MediaMonitor *) 0x0
         exitstatus = -1215620004
#0  0xb649eeba in mallopt () from /lib/tls/libc.so.6
(gdb)
(gdb)




--
Wendy Seltzer -- wendy at seltzer.com
Electronic Frontier Foundation
Berkman Center for Internet & Society at Harvard Law School
http://cyber.law.harvard.edu/seltzer.html
Chilling Effects: http://www.chillingeffects.org/



More information about the mythtv-users mailing list