[mythtv] 0.17 - mythfrontend freezing at end of recordings

Risto Treksler risto at elkhornbanff.ca
Mon Feb 14 09:26:15 UTC 2005


HI,

here are the two backtraces for the above video freezing problem


in the first one mythfrontend hangs and needs to be killed
upon pressing a key ("esc") while the video is frozen for a few seconds at the 
end of a recording


in the second one the frontend segfaults upon pressing a different key ("9")
while the video is frozen


of course, am i correct in assuming the video shouldn't freeze long enough to 
allow keypresses in the first place?
usually it freezes for about 1-6 seconds , sometimes longer (10-30sec) and it 
does eventually exit to the menu, 
but it's tempting to hit a key and end up awith a hanged frontend

I hope this helps, 

please let me know if there is anything else that i can do
to help figure this out

Risto

----------
bt #1
----------


[stephy at toshiba ~]$ gdb mythfrontend
GNU gdb 6.3-3mdk (Mandrakelinux)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

(gdb) handle SIG33 nostop
Signal        Stop      Print   Pass to program Description
SIG33         No        Yes     Yes             Real-time event 33
(gdb) run
Starting program: /usr/local/bin/mythfrontend
[Thread debugging using libthread_db enabled]
[New Thread 1099038848 (LWP 22661)]
[New Thread 1110526896 (LWP 22668)]

Program received signal SIG33, Real-time event 33.
2005-02-14 01:34:59.849 mythfrontend version: 0.17.20050130-1 www.mythtv.org
2005-02-14 01:34:59.850 Enabled verbose msgs : important general
2005-02-14 01:35:01.048 Switching to square mode (G.A.N.T.)
[New Thread 1124158384 (LWP 22670)]
2005-02-14 01:35:02.645 Joystick disabled.
[Thread 1124158384 (LWP 22670) exited]
2005-02-14 01:35:02.852 Registering Internal as a media playback plugin.
Couldn't save cache cache 
image: /home/stephy/.mythtv/themecache/G.A.N.T..1600.1200/status-bar.png
2005-02-14 01:35:03.218 Starting media monitor.
[New Thread 1124158384 (LWP 22671)]
2005-02-14 01:35:10.897 All Programs
2005-02-14 01:35:13.763 Connecting to backend server: 192.168.2.10:6543 (try 1 
of 5)
2005-02-14 01:35:13.777 Using protocol version 14
[New Thread 1270823856 (LWP 22685)]
[New Thread 1292278704 (LWP 22686)]
[New Thread 1300671408 (LWP 22687)]
[Thread 1292278704 (LWP 22686) exited]
[Thread 1270823856 (LWP 22685) exited]
[New Thread 1292278704 (LWP 22688)]
[New Thread 1309064112 (LWP 22689)]
2005-02-14 01:35:19.026 Opening audio device '/dev/dsp'.
2005-02-14 01:35:19.027 Opening OSS audio device '/dev/dsp'.
[New Thread 1270823856 (LWP 22693)]
2005-02-14 01:35:19.109 Using XV port 105
[New Thread 1323822000 (LWP 22694)]
2005-02-14 01:35:19.483 Changing from None to WatchingPreRecorded
2005-02-14 01:35:19.485 Realtime priority would require SUID as root.
2005-02-14 01:35:21.842 Video timing method: USleep with busy wait
2005-02-14 01:35:31.768 prebuffering pause
2005-02-14 01:35:33.548 Waited 2 seconds for data to become available, waiting 
again...
2005-02-14 01:35:33.970 Waited too long for decoder to pause
[Thread 1323822000 (LWP 22694) exited]
[Thread 1270823856 (LWP 22693) exited]
[Thread 1292278704 (LWP 22688) exited]

Program received signal SIGINT, Interrupt.
[Switching to Thread 1099038848 (LWP 22661)]
0xffffe410 in ?? ()
Current language:  auto; currently c
(gdb) thread apply all bt full

Thread 9 (Thread 1309064112 (LWP 22689)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x4e06b358 in ?? ()
No symbol table info available.
#2  0x404e9ca4 in ?? () from /usr/local/lib/libmythtv-0.17.so.0
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x41593266 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#5  0x415c912a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#6  0x4026c873 in RingBuffer::ReadAheadThread (this=0x824f428) at 
RingBuffer.cpp:907
        totfree = 0
        ret = 0
        used = 1
#7  0x4026bf18 in RingBuffer::startReader (type=0x824f428) at 
RingBuffer.cpp:765
        rbuffer = (RingBuffer *) 0x824f428
#8  0x413ff3dd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9  0x415cfd9e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 7 (Thread 1300671408 (LWP 22687)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x4d86a218 in ?? ()
No symbol table info available.
#2  0x404e9ca4 in ?? () from /usr/local/lib/libmythtv-0.17.so.0
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x41593266 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#5  0x415c912a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#6  0x40299c0c in TV::ProcessKeypress (this=0x81c3ca0, e=0x85239e8) at 
tv_play.cpp:1513
        i = 0
        redisplayBrowseInfo = false
        actions = {<QValueList<QString>> = {sh = 0x83b0958}, <No data fields>}
        action = {static null = {static null = <same as static member of an 
already seen type>, d = 0x8155fc0, static shared_null = 0x8155fc0}, d = 
0x8202e90, static shared_null = 0x8155fc0}
        was_doing_ff_rew = false
        handled = true
#7  0x402982b6 in TV::RunTV (this=0x81c3ca0) at tv_play.cpp:1137
        keypressed = (QKeyEvent *) 0x85239e8
        updatecheck = 1
#8  0x40297a5a in TV::EventThread (param=0x81c3ca0) at tv_play.cpp:1046
        thetv = (class TV *) 0x81c3ca0
#9  0x413ff3dd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#10 0x415cfd9e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 4 (Thread 1124158384 (LWP 22671)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x430143f0 in ?? ()
No symbol table info available.
#2  0x00000001 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x41401d7c in pthread_cond_timedwait@@GLIBC_2.3.2 () 
from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0x40e3a4cc in QThread::exit () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x430143a0 in ?? ()
No symbol table info available.
#7  0x430143f0 in ?? ()
No symbol table info available.
#8  0x00000001 in ?? ()
No symbol table info available.
#9  0x00000000 in ?? ()
No symbol table info available.
#10 0x00000001 in ?? ()
No symbol table info available.
#11 0x00000001 in ?? ()
No symbol table info available.
#12 0x00000000 in ?? ()
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.
#14 0x00000000 in ?? ()
No symbol table info available.
#15 0x00000000 in ?? ()
No symbol table info available.
#16 0x00000000 in ?? ()
No symbol table info available.
#17 0x430143a0 in ?? ()
No symbol table info available.
#18 0x00000002 in ?? ()
No symbol table info available.
#19 0x00000000 in ?? ()
No symbol table info available.
#20 0x40a3f504 in QValueList<MythMediaDevice*>::end (this=0x69287) at 
qvaluelist.h:477
No locals.
#21 0x3779c458 in ?? ()
No symbol table info available.
#22 0x421062e8 in ?? ()
No symbol table info available.
#23 0x00069287 in ?? ()
No symbol table info available.
#24 0x0824f578 in ?? ()
No symbol table info available.
#25 0x40ae2290 in ?? () from /usr/local/lib/libmyth-0.17.so.0
No symbol table info available.
#26 0x0823b76c in ?? ()
No symbol table info available.
#27 0x40a3db59 in MonitorThread::run (this=0x0) at mythmediamonitor.cpp:77
No locals.
Previous frame inner to this frame (corrupt stack?)
#0  0xffffe410 in ?? ()


---------
bt #2
---------


[stephy at toshiba ~]$ gdb mythfrontend
GNU gdb 6.3-3mdk (Mandrakelinux)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

(gdb) handle SIG33 nostop
Signal        Stop      Print   Pass to program Description
SIG33         No        Yes     Yes             Real-time event 33
(gdb) run
Starting program: /usr/local/bin/mythfrontend
[Thread debugging using libthread_db enabled]
[New Thread 1099038848 (LWP 23574)]
[New Thread 1110526896 (LWP 23580)]

Program received signal SIG33, Real-time event 33.
2005-02-14 01:48:50.340 mythfrontend version: 0.17.20050130-1 www.mythtv.org
2005-02-14 01:48:50.341 Enabled verbose msgs : important general
2005-02-14 01:48:51.619 Switching to square mode (G.A.N.T.)
[New Thread 1124158384 (LWP 23582)]
2005-02-14 01:48:52.922 Joystick disabled.
[Thread 1124158384 (LWP 23582) exited]
2005-02-14 01:48:53.065 Registering Internal as a media playback plugin.
Couldn't save cache cache 
image: /home/stephy/.mythtv/themecache/G.A.N.T..1600.1200/status-bar.png
2005-02-14 01:48:53.528 Starting media monitor.
[New Thread 1124158384 (LWP 23583)]
2005-02-14 01:49:02.923 All Programs
2005-02-14 01:49:06.379 Connecting to backend server: 192.168.2.10:6543 (try 1 
of 5)
2005-02-14 01:49:06.385 Using protocol version 14
[New Thread 1270823856 (LWP 23601)]
[New Thread 1293339568 (LWP 23603)]
[Thread 1293339568 (LWP 23603) exited]
[Thread 1270823856 (LWP 23601) exited]
[New Thread 1270823856 (LWP 23604)]
[New Thread 1293339568 (LWP 23608)]
[New Thread 1301732272 (LWP 23609)]
[Thread 1293339568 (LWP 23608) exited]
[Thread 1270823856 (LWP 23604) exited]
[New Thread 1293339568 (LWP 23610)]
[New Thread 1310124976 (LWP 23611)]
2005-02-14 01:49:16.134 Opening audio device '/dev/dsp'.
2005-02-14 01:49:16.135 Opening OSS audio device '/dev/dsp'.
[New Thread 1270823856 (LWP 23613)]
2005-02-14 01:49:16.409 Using XV port 105
[New Thread 1324628912 (LWP 23614)]
2005-02-14 01:49:17.165 Changing from None to WatchingPreRecorded
2005-02-14 01:49:17.167 Realtime priority would require SUID as root.
2005-02-14 01:49:18.049 Video timing method: USleep with busy wait
2005-02-14 01:49:39.178 prebuffering pause
2005-02-14 01:49:41.640 Waited 2 seconds for data to become available, waiting 
again...
[Thread 1324628912 (LWP 23614) exited]
[Thread 1270823856 (LWP 23613) exited]
[Thread 1293339568 (LWP 23610) exited]
[Thread 1310124976 (LWP 23611) exited]
2005-02-14 01:49:42.759 Changing from WatchingPreRecorded to None

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1301732272 (LWP 23609)]
0x402b256e in NuppelVideoPlayer::GetOSD (this=0x0) at NuppelVideoPlayer.h:102
102         OSD *GetOSD(void) { return osd; }
(gdb) thread apply all bt full

Thread 9 (Thread 1301732272 (LWP 23609)):
#0  0x402b256e in NuppelVideoPlayer::GetOSD (this=0x0) at 
NuppelVideoPlayer.h:102
No locals.
#1  0x40298823 in TV::RunTV (this=0x4c6036f8) at tv_play.cpp:1198
        keypressed = (QKeyEvent *) 0x4c600a90
        updatecheck = 19
#2  0x40297a5a in TV::EventThread (param=0x4c6036f8) at tv_play.cpp:1046
        thetv = (class TV *) 0x4c6036f8
#3  0x413ff3dd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#4  0x415cfd9e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 4 (Thread 1124158384 (LWP 23583)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x430143f0 in ?? ()
No symbol table info available.
#2  0x00000001 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x41401d7c in pthread_cond_timedwait@@GLIBC_2.3.2 () 
from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0x40e3a4cc in QThread::exit () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x430143a0 in ?? ()
No symbol table info available.
#7  0x430143f0 in ?? ()
No symbol table info available.
#8  0x00000001 in ?? ()
No symbol table info available.
#9  0x00000000 in ?? ()
No symbol table info available.
#10 0x00000001 in ?? ()
No symbol table info available.
#11 0x00000001 in ?? ()
No symbol table info available.
#12 0x00000000 in ?? ()
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.
#14 0x00000000 in ?? ()
No symbol table info available.
#15 0x00000000 in ?? ()
No symbol table info available.
#16 0x00000000 in ?? ()
No symbol table info available.
#17 0x430143a0 in ?? ()
No symbol table info available.
#18 0x00000002 in ?? ()
No symbol table info available.
#19 0x00000000 in ?? ()
No symbol table info available.
#20 0x40a3f504 in QValueList<MythMediaDevice*>::end (this=0x443fb) at 
qvaluelist.h:477
No locals.
#21 0x2e76f178 in ?? ()
No symbol table info available.
#22 0x42106626 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#23 0x000443fb in ?? ()
No symbol table info available.
#24 0x08214a18 in ?? ()
No symbol table info available.
#25 0x40ae2290 in ?? () from /usr/local/lib/libmyth-0.17.so.0
No symbol table info available.
#26 0x081e78ac in ?? ()
No symbol table info available.
#27 0x40a3db59 in MonitorThread::run (this=0x0) at mythmediamonitor.cpp:77
No locals.
Previous frame inner to this frame (corrupt stack?)
0x402b256e      102         OSD *GetOSD(void) { return osd; }
(gdb)      


---------------------
ps 
a four second freeze at the end without me pressing anything yelds something 
like this
--------------------

No symbol table info available.
#6  0x4030bd9d in USleepVideoSync::WaitForFrame (this=0x823ec08, sync_delay=0) 
at vsync.cpp:686
No locals.
#7  0x401e2faf in NuppelVideoPlayer::AVSync (this=0x82f0430) at 
NuppelVideoPlayer.cpp:1380
        diverge = 0
        buffer = (VideoFrame *) 0x8204b40
#8  0x401e40ac in NuppelVideoPlayer::OutputVideoLoop (this=0x82f0430) at 
NuppelVideoPlayer.cpp:1619
        frame = (VideoFrame *) 0x8204b40
        temp_speed = 1
        fr_int = 33366
#9  0x401e438e in NuppelVideoPlayer::kickoffOutputVideoLoop (player=0x82f0430) 
at NuppelVideoPlayer.cpp:1688
        nvp = (NuppelVideoPlayer *) 0x82f0430
#10 0x413ff3dd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#11 0x415cfd9e in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 14 (Thread 1270823856 (LWP 25329)):
#0  0xffffe410 in ?? ()
No symbol table info available.






On Monday 14 February 2005 12:02 am, Isaac Richards wrote:
> On Monday 14 February 2005 12:27 am, Blammo [doh] wrote:
> > I was just about Lynched tonight because that's happening on mine as
> > well.
> >
> > latest CVS.
> >
> > I'll try to get some more verbose info to post.
>
> Please don't clutter the dev list with useless me-too posts.  I expect that
> kind of behavior on the users list, but not here.
>
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

-- 
Risto Treksler
Elkhorn Lodge
Banff, Alberta, Canada


More information about the mythtv-dev mailing list