[mythtv-users] mythfrontend freeze when trying to enter Edit mode

Danny Robinson Danny.Robinson at chordiant.com
Sun Sep 12 08:37:32 EDT 2004


I'm also experiencing a mythfrontend freeze when watching a pre-recorded
show.  If I hit "Seek to next commercial cut point" (bound to blue
button on hauppauge grey remote) then I'm also seeing the same message
in the log without any other messages.  It's not a total freeze as I can
hit exit and see "Saved Position" flash up, but the picture never
disappears and I have to restart the frontend.

2004-09-12 13:10:18 Changing from None to WatchingPreRecorded
pthread_setschedparam: Operation not permitted
2004-09-12 13:10:18 Running as SUID root would allow some threads to run
with realtime priority, improving video smoothness.

Danny
-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Michelle Moss
Sent: 12 September 2004 11:42
To: Discussion about mythtv
Subject: [mythtv-users] mythfrontend freeze when trying to enter Edit
mode

Hello all,

Since upgrading yesterday, I'm having a problem when I try to enter edit
mode on a recording. The frontend seems to freeze and the edit dialog
never comes up. If I kill mythfrontend and start it again, everything
works OK until I try pressing E (or pressing M then selecting the Edit
recording option) again. I searched the archives and came up with some
posts, and I've run mysqlcheck on the database (which is OK) as well as
checked that the editing flag is set to 0. I've tried several different
recordings. Different theme or OSD choices also don't make a difference
(I thought maybe there was something missing for the edit screen)

I also tried making a new recording to try in case there was a problem
with the 0.15.1 recordings but the same thing happens.

I'm using a PVR-350 tvout, though it was working perfectly for this
stuff when I was using 0.15.1. No other OSD stuff seems to be a problem.

If anyone has any ideas, please let me know. I tried running withing gdb
(I'm a linux noob but found some commands in man and the archives) and
the output is below. I pressed CTRL-C after the freeze happened. Please
let me know if there is a better way - I haven't had much success
searching the archives for debug output. The frontend and backend logs
don't show anything other than this message when I start playing the
recording "pthread_setschedparam: Operation not permitted". Could this
be the problem? How do I change the permission? I tried running as suid
root but then I got an X error on mythfrontend.

Sorry for the long post - I wanted to detail what I have tried..

Cheers,
Michelle


mythtv at linux:~> gdb mythfrontend
GNU gdb 5.3.92
Copyright 2003 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-suse-linux"...
(gdb)
(gdb)
(gdb) run
Starting program: /usr/local/bin/mythfrontend [New Thread 16384 (LWP
6123)] [New Thread 32769 (LWP 6125)] [New Thread 16386 (LWP 6126)]
2004-09-12 11:50:42 mythfrontend version: 0.16.20040906-1 www.mythtv.org
2004-09-12 11:50:42 Enabled verbose msgs : important general [New Thread
32771 (LWP 6129)]
2004-09-12 11:50:44 Registering Internal as a media playback plugin.
2004-09-12 11:50:44 Registering MythDVD DVD Media Handler as a media
handler
2004-09-12 11:50:46 Registering MythMusic Media Handler as a media
handler
2004-09-12 11:50:47 Starting media monitor.
[New Thread 49156 (LWP 6135)]
Error loading image file:
/usr/local/share/mythtv/themes/default/NOTHING.png
[New Thread 65541 (LWP 6137)]
2004-09-12 11:50:57 Connecting to backend server: 127.0.0.1:6543 (try 1
of 5)
2004-09-12 11:50:57 Using protocol version 13
2004-09-12 11:50:57 Using protocol version 13
2004-09-12 11:50:57 Using protocol version 13 [New Thread 81926 (LWP
6140)] [New Thread 98311 (LWP 6141)] Using the PVR-350 decoder/TV-out
[New Thread 114696 (LWP 6142)]
2004-09-12 11:51:02 Changing from None to WatchingLiveTV
pthread_setschedparam: Operation not permitted
2004-09-12 11:51:03 Running as SUID root would allow some threads to run
with realtime priority, improving video smoothness.
2004-09-12 11:51:16 Changing from WatchingLiveTV to None
2004-09-12 11:51:16 Changing from None to None
2004-09-12 11:51:20 All Programs
[New Thread 131081 (LWP 6144)]
[New Thread 147466 (LWP 6145)]
[New Thread 163851 (LWP 6146)]
Using the PVR-350 decoder/TV-out
[New Thread 180236 (LWP 6147)]
2004-09-12 11:51:25 Changing from None to WatchingPreRecorded
pthread_setschedparam: Operation not permitted
2004-09-12 11:51:26 Running as SUID root would allow some threads to run
with realtime priority, improving video smoothness.





Program received signal SIGINT, Interrupt.
[Switching to Thread 180236 (LWP 6147)]
0x41671fa6 in nanosleep () from /lib/i686/libc.so.6
(gdb)
(gdb) thread apply all bt full

Thread 13 (Thread 180236 (LWP 6147)):
#0  0x41671fa6 in nanosleep () from /lib/i686/libc.so.6 No symbol table
info available.

Thread 12 (Thread 163851 (LWP 6146)):
#0  0x41671fa6 in nanosleep () from /lib/i686/libc.so.6 No symbol table
info available.

Thread 11 (Thread 147466 (LWP 6145)):
#0  0x41671fa6 in nanosleep () from /lib/i686/libc.so.6 No symbol table
info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x4169c12c in usleep () from /lib/i686/libc.so.6 No symbol table
info available.
#3  0x401a3929 in NuppelVideoPlayer::StartPlaying() () from
/usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#4  0x40258292 in SpawnDecode(void*) () from
/usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#5  0x4148ef60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#6  0x4148f0fe in pthread_start_thread_event () from
/lib/i686/libpthread.so.0 No symbol table info available.
#7  0x416a2327 in clone () from /lib/i686/libc.so.6 No symbol table info
available.

Thread 10 (Thread 131081 (LWP 6144)):
#0  0x41671fa6 in nanosleep () from /lib/i686/libc.so.6 ---Type <return>
to continue, or q <return> to quit--- No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x4169c12c in usleep () from /lib/i686/libc.so.6 No symbol table
info available.
#3  0x401a553c in NuppelVideoPlayer::EnableEdit() () from
/usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#4  0x40274132 in TV::DoEditMode() () from
/usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#5  0x40263317 in TV::ProcessKeypress(QKeyEvent*) () from
/usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#6  0x4026043c in TV::RunTV() () from /usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#7  0x402600bb in TV::EventThread(void*) () from
/usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#8  0x4148ef60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#9  0x4148f0fe in pthread_start_thread_event () from
/lib/i686/libpthread.so.0 No symbol table info available.
#10 0x416a2327 in clone () from /lib/i686/libc.so.6 No symbol table info
available.

Thread 5 (Thread 49156 (LWP 6135)):
#0  0x414952e6 in nanosleep () from /lib/i686/libpthread.so.0 No symbol
table info available.

Thread 4 (Thread 32771 (LWP 6129)):
#0  0x41494b6b in read () from /lib/i686/libpthread.so.0 No symbol table
info available.
---Type <return> to continue, or q <return> to quit---
#1  0x416fd500 in __JCR_LIST__ () from
/usr/local/lib/liblirc_client.so.0
No symbol table info available.

Thread 3 (Thread 16386 (LWP 6126)):
#0  0x41671fa6 in nanosleep () from /lib/i686/libc.so.6 No symbol table
info available.

Thread 2 (Thread 32769 (LWP 6125)):
#0  0x41699b66 in poll () from /lib/i686/libc.so.6 No symbol table info
available.
#1  0x4148ea8e in __pthread_manager () from /lib/i686/libpthread.so.0 No
symbol table info available.
#2  0x4148ed63 in __pthread_manager_event () from
/lib/i686/libpthread.so.0 No symbol table info available.
#3  0x416a2327 in clone () from /lib/i686/libc.so.6 No symbol table info
available.

Thread 1 (Thread 16384 (LWP 6123)):
#0  0x41671fa6 in nanosleep () from /lib/i686/libc.so.6 No symbol table
info available.
#0  0x41671fa6 in nanosleep () from /lib/i686/libc.so.6
	



More information about the mythtv-users mailing list