[mythtv] PIP Segfault with BT

Christian Hack christianh at edmi.com.au
Sat Jul 3 03:58:08 EDT 2004


I get the attached segfault when using picture in picture. Pressing V brings
up the second channel no problem. However when I press B to swap to the PiP
channel so I can change it, it segfaults.

I also notice that once Picture-in-Picture mode is turned on via the OSD
menu, the Picture-in-Picture option disappears from the menu so it's
impossible to turn back off if you don't have V mapped on your remote. Why
does it get removed from the menu?

Isaac, would you like segfaults sent to the bugzilla and then just
referenced on the mailing list? What about patches?

CH
-------------- next part --------------
[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) handle SIGPIPE nostop
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) run
Starting program: /usr/local/bin/mythfrontend 
[New Thread 16384 (LWP 11210)]
2004-07-03 17:52:55 mythfrontend version: 0.15.20040528-1 www.mythtv.org
2004-07-03 17:52:55 Enabled verbose msgs : important general
2004-07-03 17:53:05 Registering Internal as a media playback plugin.
2004-07-03 17:53:10 Registering MythMusic Media Handler as a media handler
[New Thread 32769 (LWP 11237)]
[New Thread 16386 (LWP 11238)]
2004-07-03 17:53:33 Connecting to backend server: 10.1.2.11:6543 (try 1 of 5)
2004-07-03 17:53:33 Using protocol version 10
2004-07-03 17:53:33 Using protocol version 10
2004-07-03 17:53:33 Using protocol version 10
[New Thread 32771 (LWP 11241)]
[New Thread 49156 (LWP 11242)]
2004-07-03 17:53:43 Opening OSS audio device '/dev/dsp'.
2004-07-03 17:53:43 Audio fragment size: 4096
[New Thread 65541 (LWP 11243)]
2004-07-03 17:53:43 Using XV port 143
[New Thread 81926 (LWP 11244)]
2004-07-03 17:53:44 Changing from None to WatchingLiveTV
vblank nvidia retrace timeout
2004-07-03 17:53:50 Using protocol version 10
[New Thread 98311 (LWP 11247)]
[New Thread 114696 (LWP 11248)]
[New Thread 131081 (LWP 11249)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 11210)]
0x401fcd90 in OSD::getTimeType() (this=0x0) at osd.h:106
106         int getTimeType(void) { return timeType; }
(gdb) thread apply all bt full

Thread 10 (Thread 131081 (LWP 11249)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x401efdf7 in NuppelVideoPlayer::ExAVSync() (this=0x82cad00) at NuppelVideoPlayer.cpp:1448
        buffer = (VideoFrame_ *) 0x85c1118
#3  0x401f1318 in NuppelVideoPlayer::OutputVideoLoop() (this=0x82cad00) at NuppelVideoPlayer.cpp:1793
        frame = (VideoFrame_ *) 0x85c1118
#4  0x401f1652 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*) (player=0x82cad00) at NuppelVideoPlayer.cpp:1869
        nvp = (NuppelVideoPlayer *) 0x82cad00
#5  0x411b4881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#6  0x411b4985 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 9 (Thread 114696 (LWP 11248)):
#0  0x420dcc31 in select () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4119dd0c in __JCR_LIST__ () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#2  0x408f6a7a in RemoteFile::Read(void*, int) (this=0x825f3e0, data=0x4843f008, size=256000) at remotefile.cpp:240
        recv = 0
        sent = 256000
        zerocnt = 1
        error = false
        response = false
        strlist = {<QValueList<QString>> = {sh = 0x82c8be0}, <No data fields>}
#3  0x4026639c in RingBuffer::safe_read(RemoteFile*, void*, unsigned) (this=0x82cbde8, rf=0x825f3e0, data=0x4843f008, sz=256000)
    at RingBuffer.cpp:530
        ret = 0
#4  0x40266e21 in RingBuffer::ReadAheadThread() (this=0x82cbde8) at RingBuffer.cpp:749
        totfree = 256000
        ret = 256000
        used = 372737
#5  0x40266b6c in RingBuffer::startReader(void*) (type=0x82cbde8) at RingBuffer.cpp:688
        rbuffer = (RingBuffer *) 0x82cbde8
#6  0x411b4881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x411b4985 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 8 (Thread 98311 (LWP 11247)):
#0  0x411ba156 in nanosleep () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x411b30e9 in pthread_cond_timedwait_relative () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4101c44b in QWaitCondition::wait(unsigned long) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x401ecda6 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x82cad00, onlyvideo=1, unsafe=false) at NuppelVideoPlayer.cpp:702
No locals.
#5  0x401f26bf in NuppelVideoPlayer::StartPlaying() (this=0x82cad00) at NuppelVideoPlayer.cpp:2137
        output_video = 131081
        pausecheck = 0
#6  0x402885de in SpawnDecode(void*) (param=0x82cad00) at tv_play.cpp:170
        nvp = (NuppelVideoPlayer *) 0x82cad00
#7  0x411b4881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#8  0x411b4985 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

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

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

Thread 5 (Thread 49156 (LWP 11242)):
#0  0x420dcc31 in select () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4119dd0c in __JCR_LIST__ () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#2  0x408f6a7a in RemoteFile::Read(void*, int) (this=0x8261228, data=0x447fe008, size=256000) at remotefile.cpp:240
        recv = 0
        sent = 256000
        zerocnt = 1
        error = false
        response = false
        strlist = {<QValueList<QString>> = {sh = 0x82edac0}, <No data fields>}
#3  0x4026639c in RingBuffer::safe_read(RemoteFile*, void*, unsigned) (this=0x82cb808, rf=0x8261228, data=0x447fe008, sz=256000)
    at RingBuffer.cpp:530
        ret = 0
#4  0x40266e21 in RingBuffer::ReadAheadThread() (this=0x82cb808) at RingBuffer.cpp:749
        totfree = 256000
        ret = 256000
        used = 2277377
#5  0x40266b6c in RingBuffer::startReader(void*) (type=0x82cb808) at RingBuffer.cpp:688
        rbuffer = (RingBuffer *) 0x82cb808
#6  0x411b4881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x411b4985 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 4 (Thread 32771 (LWP 11241)):
#0  0x411ba156 in nanosleep () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x411b30e9 in pthread_cond_timedwait_relative () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4101c44b in QWaitCondition::wait(unsigned long) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x401ecda6 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x82cb9d0, onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:702
No locals.
#5  0x401f26bf in NuppelVideoPlayer::StartPlaying() (this=0x82cb9d0) at NuppelVideoPlayer.cpp:2137
        output_video = 81926
        pausecheck = 0
#6  0x402885de in SpawnDecode(void*) (param=0x82cb9d0) at tv_play.cpp:170
        nvp = (NuppelVideoPlayer *) 0x82cb9d0
#7  0x411b4881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#8  0x411b4985 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 3 (Thread 16386 (LWP 11238)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x40290945 in TV::RunTV() (this=0x825f500) at tv_play.cpp:1047
        keypressed = (QKeyEvent *) 0x8264040
        updatecheck = 2
#3  0x402906a2 in TV::EventThread(void*) (param=0x825f500) at tv_play.cpp:1013
        thetv = (TV *) 0x825f500
#4  0x411b4881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#5  0x411b4985 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

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

Thread 1 (Thread 16384 (LWP 11210)):
#0  0x401fcd90 in OSD::getTimeType() (this=0x0) at osd.h:106
No locals.
#1  0x401f8ba4 in NuppelVideoPlayer::calcSliderPos(QString&) (this=0x82cad00, desc=@0xbfffe724) at NuppelVideoPlayer.cpp:3616
        written = 148
        played = 122
        secsbehind = 1
        hours = 0
        mins = 0
        secs = 1
        ret = 999.891602
        text1 = {static null = Cannot access memory at address 0x0
(gdb) 


More information about the mythtv-dev mailing list