[mythtv] mythfrontend crashing when I switch inputs (with 'y')

Dave Alden alden at math.ohio-state.edu
Wed Jun 30 19:46:13 EDT 2004


Hi,

  When I hit "y" while watching livetv, mythfrontend crashes.  This is with the
latest CVS (as of 7:15pm EST on 6/30/04).  I haven't tried to watch livetv in
many months, so I'm afraid I don't know when it broke.  I'm afraid I'm using
FC1, so my gdb is broken -- but I'll go ahead and include the output from it
just in case it contains enough info.  Anyone know of anyway to get a working
gdb under FC1?  Maybe it's time I switch distro's to something else...:-(

...dave
-------------- next part --------------
Script started on Wed 30 Jun 2004 07:34:22 PM EDT
[mythtv at alden mythfrontend]$ gdb mythfrontend
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) handle SIGPIPE nostop
Signal        Stop	Print	Pass to program	Description
SIGPIPE       No	Yes	Yes		Broken pipe
(gdb) run
Starting program: /home/src/mythtv/mythtv/programs/mythfrontend/mythfrontend 
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 7488)]
2004-06-30 19:34:39 mythfrontend version: 0.15.20040528-1 www.mythtv.org
2004-06-30 19:34:39 Enabled verbose msgs : important general
2004-06-30 19:34:40 Key G is already bound in context TV Playback.
2004-06-30 19:34:40 Registering Internal as a media playback plugin.
Unable to initialize plugin 'mythbookmarkmanager'.
2004-06-30 19:34:40 Registering MythDVD DVD Media Handler as a media handler
2004-06-30 19:34:40 Registering MythMusic Media Handler as a media handler
[New Thread 32769 (LWP 7499)]
[New Thread 16386 (LWP 7500)]
2004-06-30 19:34:45 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2004-06-30 19:34:45 Using protocol version 9
2004-06-30 19:34:45 Using protocol version 9
2004-06-30 19:34:45 Using protocol version 9
[New Thread 32773 (LWP 7503)]
[New Thread 49158 (LWP 7504)]
2004-06-30 19:34:47 Opening OSS audio device '/dev/dsp'.
2004-06-30 19:34:47 Audio fragment size: 4096
[New Thread 65546 (LWP 7505)]
2004-06-30 19:34:47 Using XV port 105
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  142
  Minor opcode:  14
  Resource id:  0x16a
Couldn't get the color key color, and we need it.
You likely won't get any video.
[New Thread 81938 (LWP 7506)]
2004-06-30 19:34:48 Changing from None to WatchingLiveTV
2004-06-30 19:34:51 Changing from WatchingLiveTV to None
2004-06-30 19:34:51 Using protocol version 9

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 7488)]
0x00ec9717 in WriteStringList(QSocketDevice*, QStringList&) (socket=0x790079, 
    list=@0xbfecf790) at util.cpp:111
111	        int temp = socket->writeBlock(payload.data() + written, size);
(gdb) thread apply all bt full

Thread 3 (Thread 16386 (LWP 7500)):
#0  0x00cd1311 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x0329dc5c in ?? () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#2  0x00000005 in ?? ()
No symbol table info available.
#3  0x08f6e2c8 in ?? ()
No symbol table info available.
#4  0x00000001 in ?? ()
No symbol table info available.
#5  0x0306fe7a in QSocketDevice::waitForMore(int, bool*) const ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x00ec9a2e in ReadStringList(QSocketDevice*, QStringList&, bool) (
    socket=0x8f6e2c8, list=@0xbf7ff864, quickTimeout=true) at util.cpp:147
	timer = {ds = 70491923}
	elapsed = 40
	sizestr = <incomplete type>
	size = 12386867
	utf8 = <incomplete type>
	read = -1082132548
	zerocnt = 150487488
	str = {static null = {
---Type <return> to continue, or q <return> to quit---
    static null = <same as static member of an already seen type>, d = 0x8ec9808, 
    static shared_null = 0x8ec9808}, d = 0xc68b86, static shared_null = 0x8ec9808}
#7  0x0077e236 in RemoteEncoder::openControlSocket(QString const&, short) (
    this=0x8f54078, host=@0x8f54098, port=6543) at remoteencoder.cpp:81
	hostname = {static null = {
    static null = <same as static member of an already seen type>, d = 0x8ec9808, 
    static shared_null = 0x8ec9808}, d = 0x8f018a8, static shared_null = 0x8ec9808}
	strlist = {<QValueList<QString>> = {sh = 0x8f83540}, <No data fields>}
	sock = (struct QSocketDevice *) 0x8f6e2c8
#8  0x0077df77 in RemoteEncoder::Setup() (this=0x8f54078) at remoteencoder.cpp:35
No locals.
#9  0x007abf2f in TV::HandleStateChange() (this=0x8f841c0) at tv_play.cpp:633
	filesize = 0
	smudge = 0
	name = {static null = {
    static null = <same as static member of an already seen type>, d = 0x8ec9808, 
    static shared_null = 0x8ec9808}, d = 0x8f0f558, static shared_null = 0x8ec9808}
	changed = false
	tmpInternalState = kState_None
	statename = {static null = {
    static null = <same as static member of an already seen type>, d = 0x8ec9808, 
    static shared_null = 0x8ec9808}, d = 0x8f51c50, static shared_null = 0x8ec9808}
	origname = {static null = {
    static null = <same as static member of an already seen type>, d = 0x8ec9808, 
    static shared_null = 0x8ec9808}, d = 0x8f4ea78, static shared_null = 0x8ec9808}
---Type <return> to continue, or q <return> to quit---
#10 0x007aef65 in TV::RunTV() (this=0x8f841c0) at tv_play.cpp:1034
	keypressed = (QKeyEvent *) 0x8f5f2a8
	updatecheck = 4
#11 0x007aecea in TV::EventThread(void*) (param=0x8f841c0) at tv_play.cpp:1002
	thetv = (class TV *) 0x8f841c0
#12 0x00af3f11 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#13 0x00cd836a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread 32769 (LWP 7499)):
#0  0x00ccedaa in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00af30d0 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00af32c7 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00ffffff in L1519 () from /usr/X11R6/lib/tls/libGL.so.1
No symbol table info available.
#4  0x00ffffff in L1519 () from /usr/X11R6/lib/tls/libGL.so.1
No symbol table info available.
#5  0x00ffffff in L1519 () from /usr/X11R6/lib/tls/libGL.so.1
No symbol table info available.
#6  0x00af3290 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
---Type <return> to continue, or q <return> to quit---
0x00ec9717	111	        int temp = socket->writeBlock(payload.data() + written, size);
(gdb) quit
The program is running.  Exit anyway? (y or n) y
[mythtv at alden mythfrontend]$ exit
exit

Script done on Wed 30 Jun 2004 07:35:06 PM EDT


More information about the mythtv-dev mailing list