[mythtv] mythfrontend segfault - press a number watching arecording

Christian Hack christianh at edmi.com.au
Sun Apr 4 04:01:03 EDT 2004


----- Original Message ----- 
From: "Isaac Richards" <ijr at po.cwru.edu>
To: "Development of mythtv" <mythtv-dev at mythtv.org>
Sent: Sunday, April 04, 2004 4:03 PM
Subject: Re: [mythtv] mythfrontend segfault - press a number watching
arecording


> On Saturday 03 April 2004 09:09 pm, Christian Hack wrote:
> > Easy to reproduce for me:
> >
> > Watch a recording from the watch recordings page. Press a number key 0
to
> > 9. Bang - segfault. Not sure what the numbers should do exactly while
> > playing a recording but they should crash it of course.
> >
> > This is watching an original DVB recording which has been transcoded to
> > MPEG4. Running CVS from about March 28.
>
> This backtrace is from a version of CVS from between February 12 and 17th.
If
> you had _actually_ been running CVS from March 28th, you would not have
> gotten this segfault at all.
>
> Isaac

Can't explain that. I just did a CVS update and it was still happening. Did
a clean checkout and _now_ the problem is gone. Something must have gone a
bit screwy in my CVS since it would seem like a bit has changed to what I
had originally (protocol 4 instead of 3, new messages in the logs etc)

Is all good now it would seem. Thanks Isaac.

Here's another one though, (99% sure this is CVS from the last hour or so).

To reproduce: Watch a recording via the delete recordings screen (press 'i'
then 'Play'). When exiting I have it set up to ask if I want to save,
delete, keep etc. When I select delete, I get this segfault.

[mythtv at mythtv cvs]$ gdb /usr/local/bin/mythfrontend
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 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"...
(gdb) run
Starting program: /usr/local/bin/mythfrontend
[New Thread 16384 (LWP 31481)]
2004-04-04 17:56:22 mythfrontend version: 0.15.20040324-1 www.mythtv.org
2004-04-04 17:56:22 Enabled verbose msgs : important general
2004-04-04 17:56:25 Registering Internal as a media playback plugin.
Unable to initialize plugin 'mythgallery'.
Unable to initialize plugin 'mythgame'.
Unable to initialize plugin 'mythmusic'.
Unable to initialize plugin 'mythnews'.
Unable to initialize plugin 'mythvideo'.
Unable to initialize plugin 'mythweather'.
2004-04-04 17:56:49 Connecting to backend server: 10.1.1.11:6543 (try 1 of
5)
2004-04-04 17:56:49 Using protocol version 4
2004-04-04 17:56:52 Using protocol version 4
[New Thread 32769 (LWP 31506)]
[New Thread 16386 (LWP 31507)]
[New Thread 32771 (LWP 31508)]
[New Thread 49156 (LWP 31509)]
[New Thread 65541 (LWP 31510)]
[New Thread 81926 (LWP 31511)]
Input #0, mpeg, from
'/mnt/store/recorded/2007_20031122190000_20031122213000.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
[New Thread 98311 (LWP 31512)]
[New Thread 114696 (LWP 31513)]
[New Thread 131081 (LWP 31514)]
[New Thread 147466 (LWP 31516)]
[New Thread 163851 (LWP 31517)]
[New Thread 180236 (LWP 31518)]
2004-04-04 17:57:14 Opening OSS audio device '/dev/dsp'.
2004-04-04 17:57:14 Audio fragment size: 4096
[New Thread 196621 (LWP 31519)]
2004-04-04 17:57:15 Using XV port 103
[New Thread 213006 (LWP 31520)]
2004-04-04 17:57:15 Changing from None to WatchingPreRecorded
2004-04-04 17:57:28 Changing from WatchingPreRecorded to None
2004-04-04 17:57:28 Changing from None to None

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 31481)]
0x40f07f9d in operator==(QString const&, char const*) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
(gdb) thread apply all bt full

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

Thread 1 (Thread 16384 (LWP 31481)):
#0  0x40f07f9d in operator==(QString const&, char const*) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#1  0x40f08020 in operator!=(QString const&, char const*) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#2  0x401f9b4a in ProgramInfo::ToStringList(QStringList&) (this=0x0,
list=@0xbfffe158) at programinfo.cpp:174
No locals.
#3  0x40237bfb in RemoteDeleteRecording(ProgramInfo*, bool) (pginfo=0x0,
forgetHistory=false) at remoteutil.cpp:97
        strlist = {<QValueList<QString>> = {sh = 0x82d03e0}, <No data
fields>}
#4  0x08085819 in PlaybackBox::doRemove(ProgramInfo*, bool)
(this=0xbfffe888, rec=0x0, forgetHistory=false) at playbackbox.cpp:1427
No locals.
#5  0x08087ecb in PlaybackBox::doDelete() (this=0xbfffe888) at
playbackbox.cpp:1816
No locals.
#6  0x08102afb in PlaybackBox::qt_invoke(int, QUObject*) (this=0xbfffe888,
_id=76, _o=0xbfffe228) at moc_playbackbox.cpp:206
No locals.
#7  0x40d0573c in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#8  0x40d0561d in QObject::activate_signal(int) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x40f532ef in QButton::pressed() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#10 0x407ad4cd in MythPushButton::keyPressEvent(QKeyEvent*) (this=0x82e6918,
e=0xbfffe508) at mythwidgets.cpp:875
        action = {static null = Cannot access memory at address 0x0
(gdb)



More information about the mythtv-dev mailing list