[mythtv] mythfrontend segfault - press a number watching a recording

Christian Hack christianh at edmi.com.au
Sat Apr 3 21:09:48 EST 2004


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.

Backtrace follows:

[mythtv at mythtv mythtv]$ gdb 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 15963)]
2004-04-04 12:00:18 mythfrontend version: 0.15.20040206-1 www.mythtv.org
2004-04-04 12:00:18 Enabled verbose msgs : important general
2004-04-04 12:00:20 Registering Internal as a media playback plugin.
Unable to initialize plugin 'mythgame'.
2004-04-04 12:00:24 Registering MythMusic Media Handler as a media handler
2004-04-04 12:00:41 Connecting to backend server: 10.1.1.11:6543 (try 1 of
5)
2004-04-04 12:00:41 Using protocol version 3
2004-04-04 12:00:41 Using protocol version 3
[New Thread 32769 (LWP 15967)]
[New Thread 16386 (LWP 15968)]
[New Thread 32771 (LWP 15969)]
[New Thread 49156 (LWP 15970)]
[New Thread 65541 (LWP 15971)]
[New Thread 81926 (LWP 15972)]
[New Thread 98311 (LWP 15973)]
[New Thread 114696 (LWP 15974)]
2004-04-04 12:00:56 Opening OSS audio device '/dev/dsp'.
[New Thread 131081 (LWP 15975)]
2004-04-04 12:00:57 Using XV port 103
[New Thread 147466 (LWP 15976)]
2004-04-04 12:00:57 Changing from None to WatchingPreRecorded

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 81926 (LWP 15972)]
0x402271c6 in RemoteEncoder::CheckChannelPrefix(QString, bool&) (this=0x0,
channel=Cannot access memory at address 0x0
) at remoteencoder.cpp:380
380         QStringList strlist = QString("QUERY_RECORDER
%1").arg(recordernum);
(gdb) thread apply all bt full

Thread 11 (Thread 147466 (LWP 15976)):
#0  0x420db1a7 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x40319a01 in vsync_wait_for_retrace () at vsync.c:223
        polldata = {fd = 21, events = 255, revents = 0}
#2  0x401b9cae in NuppelVideoPlayer::ExAVSync() (this=0x46902f88) at
NuppelVideoPlayer.cpp:1275
        buffer = (VideoFrame_ *) 0x828af58
#3  0x401bb09c in NuppelVideoPlayer::OutputVideoLoop() (this=0x46902f88) at
NuppelVideoPlayer.cpp:1595
        frame = (VideoFrame_ *) 0x828af58
#4  0x401bb1a0 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*)
(player=0x46902f88) at NuppelVideoPlayer.cpp:1667
        nvp = (NuppelVideoPlayer *) 0x46902f88
#5  0x4100f881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#6  0x4100f985 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 10 (Thread 131081 (LWP 15975)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 9 (Thread 114696 (LWP 15974)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 8 (Thread 98311 (LWP 15973)):
#0  0x41015156 in nanosleep () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x4100e0e9 in pthread_cond_timedwait_relative () from
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40e7744b in QWaitCondition::wait(unsigned long) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x401b7bb6 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x46902f88,
onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:646
No locals.
#5  0x401bbd9b in NuppelVideoPlayer::StartPlaying() (this=0x46902f88) at
NuppelVideoPlayer.cpp:1901
        output_video = 147466
        pausecheck = 0
#6  0x4024d3e2 in SpawnDecode(void*) (param=0x46902f88) at tv_play.cpp:141
        nvp = (NuppelVideoPlayer *) 0x46902f88
#7  0x4100f881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#8  0x4100f985 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 7 (Thread 81926 (LWP 15972)):
#0  0x402271c6 in RemoteEncoder::CheckChannelPrefix(QString, bool&)
(this=0x0, channel=Cannot access memory at address 0x0
) at remoteencoder.cpp:380
        strlist = {<QValueList<QString>> = {sh = 0x471ff7f4}, <No data
fields>}
        retval = 70
#1  0x40258964 in TV::ChannelKey(int) (this=0x46900af8, key=3) at
tv_play.cpp:2128
        chan = {static null = Cannot access memory at address 0x0



More information about the mythtv-dev mailing list