[mythtv] MythFrontend crash watching live TV

Christian Hack christianh at edmi.com.au
Sun Oct 24 08:10:33 UTC 2004


Got the attached crash while watching live TV. A scheduled recording was due
to start at 18:00. The "Do you wish to record .. etc" OSD came up. I simply
ignored it and let it count down. When it came to start the recording you
can see at the beginning where it's trying to open the file which it claims
doesn't exist (yet). Sometimes this works and the number of retries doesn't
reach zero. I don't know why there is such a delay. The system is XP2400
using DVB cards.

If the retries gets to zero it ends up in a seeming infinite loop of:

Attempting to setup a player, but it already exists.
[New Thread 229391 (LWP 13261)]
File not found: /mnt/store/recorded/1010_20041024180000_20041024183000.nuv
2004-10-24 18:00:11 Changing from None to WatchingLiveTV
2004-10-24 18:00:11 Decoder not alive, and trying to play..
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:16 Using protocol version 14
2004-10-24 18:00:16 Using protocol version 14
2004-10-24 18:00:16 Using protocol version 14

Pressing escape while in this "loop" results in the SIGSEGV. This is
reasonably repeatable as long as the count down reaches zero.

Also why doesn't the backend merely use the second card to do the recording
letting the Live TV card to continue on the first card?

CH

-------------- next part --------------
2004-10-24 18:00:03 Changing from WatchingLiveTV to None
2004-10-24 18:00:04 Using protocol version 14
2004-10-24 18:00:05 Invalid file handle when opening /mnt/store/recorded/1010_20041024180000_20041024183000.nuv.  4 retries remaining.
2004-10-24 18:00:05 Invalid file handle when opening /mnt/store/recorded/1010_20041024180000_20041024183000.nuv.  3 retries remaining.
2004-10-24 18:00:06 Invalid file handle when opening /mnt/store/recorded/1010_20041024180000_20041024183000.nuv.  2 retries remaining.
2004-10-24 18:00:06 Invalid file handle when opening /mnt/store/recorded/1010_20041024180000_20041024183000.nuv.  1 retries remaining.
2004-10-24 18:00:07 Invalid file handle when opening /mnt/store/recorded/1010_20041024180000_20041024183000.nuv.  0 retries remaining.
2004-10-24 18:00:07 Using protocol version 14
[New Thread 213006 (LWP 13258)]
File not found: /mnt/store/recorded/1010_20041024180000_20041024183000.nuv
2004-10-24 18:00:07 Changing from None to WatchingRecording
2004-10-24 18:00:07 Decoder not alive, and trying to play..
PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!PlayFromRecorder (1) : recorder already exists!2004-10-24 18:00:10 Using protocol version 14
Attempting to setup a player, but it already exists.
[New Thread 229391 (LWP 13261)]
File not found: /mnt/store/recorded/1010_20041024180000_20041024183000.nuv
2004-10-24 18:00:11 Changing from None to WatchingLiveTV
2004-10-24 18:00:11 Decoder not alive, and trying to play..
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:14 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:15 Using protocol version 14
2004-10-24 18:00:16 Using protocol version 14
2004-10-24 18:00:16 Using protocol version 14
2004-10-24 18:00:16 Using protocol version 14
Attempting to setup a player, but it already exists.
[New Thread 245776 (LWP 13264)]
File not found: /mnt/store/recorded/1010_20041024180000_20041024183000.nuv
2004-10-24 18:00:17 Changing from None to WatchingLiveTV
2004-10-24 18:00:17 Decoder not alive, and trying to play..
2004-10-24 18:00:19 Using protocol version 14
2004-10-24 18:00:19 Using protocol version 14
2004-10-24 18:00:20 Using protocol version 14
2004-10-24 18:00:20 Using protocol version 14
2004-10-24 18:00:20 Using protocol version 14
2004-10-24 18:00:20 Using protocol version 14
2004-10-24 18:00:20 Using protocol version 14
2004-10-24 18:00:20 Using protocol version 14
2004-10-24 18:00:21 Using protocol version 14
2004-10-24 18:00:21 Using protocol version 14
2004-10-24 18:00:21 Using protocol version 14
2004-10-24 18:00:21 Using protocol version 14
2004-10-24 18:00:21 Using protocol version 14
2004-10-24 18:00:21 Using protocol version 14
2004-10-24 18:00:21 Using protocol version 14
Attempting to setup a player, but it already exists.
[New Thread 262161 (LWP 13267)]
File not found: /mnt/store/recorded/1010_20041024180000_20041024183000.nuv
2004-10-24 18:00:23 Changing from None to WatchingLiveTV
2004-10-24 18:00:23 Decoder not alive, and trying to play..
2004-10-24 18:00:24 Using protocol version 14
2004-10-24 18:00:24 Using protocol version 14
2004-10-24 18:00:25 Using protocol version 14
2004-10-24 18:00:25 Using protocol version 14
2004-10-24 18:00:25 Using protocol version 14
2004-10-24 18:00:25 Using protocol version 14
2004-10-24 18:00:25 Using protocol version 14
2004-10-24 18:00:25 Using protocol version 14
2004-10-24 18:00:25 Using protocol version 14
2004-10-24 18:00:26 Using protocol version 14
2004-10-24 18:00:26 Using protocol version 14
2004-10-24 18:00:26 Using protocol version 14
2004-10-24 18:00:26 Using protocol version 14
2004-10-24 18:00:26 Using protocol version 14
2004-10-24 18:00:26 Using protocol version 14
Attempting to setup a player, but it already exists.
[New Thread 278546 (LWP 13270)]
File not found: /mnt/store/recorded/1010_20041024180000_20041024183000.nuv
2004-10-24 18:00:28 Changing from None to WatchingLiveTV
2004-10-24 18:00:28 Decoder not alive, and trying to play..
2004-10-24 18:00:31 Using protocol version 14
2004-10-24 18:00:31 Using protocol version 14
2004-10-24 18:00:32 Using protocol version 14
2004-10-24 18:00:32 Using protocol version 14
2004-10-24 18:00:32 Using protocol version 14
2004-10-24 18:00:32 Using protocol version 14
2004-10-24 18:00:32 Using protocol version 14
2004-10-24 18:00:32 Using protocol version 14
2004-10-24 18:00:33 Using protocol version 14
2004-10-24 18:00:33 Using protocol version 14
2004-10-24 18:00:33 Using protocol version 14
2004-10-24 18:00:33 Using protocol version 14
2004-10-24 18:00:33 Using protocol version 14
2004-10-24 18:00:33 Using protocol version 14
2004-10-24 18:00:33 Using protocol version 14
Attempting to setup a player, but it already exists.
[New Thread 294931 (LWP 13273)]
File not found: /mnt/store/recorded/1010_20041024180000_20041024183000.nuv
2004-10-24 18:00:35 Changing from None to WatchingLiveTV
2004-10-24 18:00:35 Decoder not alive, and trying to play..
2004-10-24 18:00:39 Using protocol version 14
2004-10-24 18:00:39 Using protocol version 14
2004-10-24 18:00:39 Using protocol version 14
2004-10-24 18:00:39 Using protocol version 14
2004-10-24 18:00:39 Using protocol version 14
2004-10-24 18:00:40 Using protocol version 14

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 131081 (LWP 13115)]
0x410c4c3a in QMutex::lock() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 10 (Thread 131081 (LWP 13115)):
#0  0x410c4c3a in QMutex::lock() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#1  0x40211d3e in OSD::DialogShowing(QString const&) (this=0x0, name=@0x81d832c) at osd.cpp:1697
        ret = 64
#2  0x402a0b90 in TV::RunTV() (this=0x81d8270) at tv_play.cpp:1137
        progress = 1
        keypressed = (QKeyEvent *) 0x818de48
        updatecheck = 18
#3  0x402a0102 in TV::EventThread(void*) (param=0x81d8270) at tv_play.cpp:1027
        thetv = (TV *) 0x81d8270
#4  0x4125d881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#5  0x4125d985 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 3 (Thread 16386 (LWP 13032)):
#0  0x4125fa35 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4125edb8 in __pthread_wait_for_restart_signal () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4125bc8b in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x410c5499 in QWaitCondition::wait(unsigned long) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x40975bf6 in MythContext::waitPrivRequest() const (this=0x8171778) at mythcontext.cpp:1663
No locals.
#5  0x0806b0e1 in run_priv_thread (data=0x0) at main.cpp:639
No locals.
#6  0x4125d881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x4125d985 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 13031)):
#0  0x420db1a7 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4125c9de in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4125d62b in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 13030)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x4029cd6c in TV::PlayFromRecorder(int) (this=0x81d8270, recordernum=2) at tv_play.cpp:552
        retval = 0
#3  0x08067cbc in startTV() () at main.cpp:253
        tv = (class TV *) 0x81d8270
        timer = {ds = 64839251}
        tryTV = false
        tryRecorder = true
        quitAll = false
        showDialogs = true
#4  0x08067f97 in TVMenuCallback(void*, QString&) (data=0x8171778, selection=@0x81ac864) at main.cpp:331
        sel = {static null = Cannot access memory at address 0x0
#0  0x410c4c3a in QMutex::lock() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
(gdb) 


More information about the mythtv-dev mailing list