[mythtv] Segfaulting in MythOpenGLPainter?

Brad Borgald skibum at nbriders.ca
Sat Nov 17 03:41:32 UTC 2007


Hi, I'm running svn-14882 on Debian Unstable.  I recently made some 
changes.  I was running fairly well but i was getting some tearing 
watching highdef video so I updated to the new Intel 2.2.0 driver.  At 
the same time I synced to the most recent svn from the version from a 
vew days ago.  Now when i stop watching a video, the frontend 
segfaults.  I've attached the info that i can think of, but let me know 
if I can give more info.

Thanks,
Brad

X.Org X Server 1.4.0
libgl1-mesa-glx 7.0.1
xserver-xorg-video-intel 2.2.0
2.6.23.8 #1 SMP PREEMPT Fri Nov 16 16:52:58 AST 2007 x86_64 GNU/Linux

Last few lines of the log from mythfrontend:

2007-11-16 23:26:13.406 AFD: video timecode 2753 2669 2669 3008
2007-11-16 23:26:13.439 NVP: A/V Divergence: 0, Rate: 0, Warpfactor: 1, 
warpfactor_avg: 1
2007-11-16 23:26:13.448 AFD: video timecode 2711 2711 2711 3008
2007-11-16 23:26:13.481 NVP: A/V Divergence: 0, Rate: 0, Warpfactor: 1, 
warpfactor_avg: 1
2007-11-16 23:26:13.489 AFD: video timecode 2794 2753 2753 3008
2007-11-16 23:26:13.489 NVP: Exited decoder loop.
2007-11-16 23:26:13.521 ~VideoOutputNull()

How it was configured:

htpc:/usr/src/mythtv# ./configure --enable-proc-opt --disable-audio-oss 
--disable-audio-arts --disable-audio-jack --disable-joystick-menu 
--disable-firewire --disable-dbox2 --disable-hdhomerun --disable-dvb 
--enable-opengl-video --enable-opengl-vsync --enable-xvmc --enable-xv 
--compile-type=debug
# Basic Settings
Compile type              debug
Compiler cache            no
DistCC                    no
install prefix            /usr/local
CPU                       x86_64 (model name    : Intel(R) Core(TM)2 Duo 
CPU     E4500  @ 2.20GHz)
big-endian                no
MMX enabled               yes
CMOV enabled              yes
CMOV is fast              no

# Input Support
Joystick menu             no
lirc support              yes
Apple Remote              no
Video4Linux sup.          yes
ivtv support              yes
FireWire support          no
DVB support               no [/usr/include]
DBox2 support             no
HDHomeRun support         no
IPTV support              yes

# Sound Output Support
OSS support               no
ALSA support              yes
aRts support              no
JACK support              no

# Video Output Support
x11 support               yes
xrandr support            yes
xv support                yes
XvMC support              yes
XvMC VLD support          yes
XvMC pro support          no
XvMC OpenGL sup.          no
XvMC libs                 -lXvMCW
OpenGL video              yes
Mac acceleration          no
OpenGL vsync              yes
DirectFB                  no

# Misc Features
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes

Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

WARNING: When using --enable-proc-opt you must include the
         output of ./configure along with any bug report.

Output from gdb:

warning: no loadable sections found in added symbol-file system-supplied 
DSO at 0x7fff973fd000
[Thread debugging using libthread_db enabled]
[New Thread 0x2abb1b5a0490 (LWP 7966)]
[New Thread 0x40800950 (LWP 7969)]
[New Thread 0x41001950 (LWP 7970)]
[New Thread 0x41802950 (LWP 7971)]
[New Thread 0x42003950 (LWP 7978)]
[New Thread 0x42804950 (LWP 7979)]
[New Thread 0x43005950 (LWP 7981)]
[New Thread 0x43806950 (LWP 7982)]
[New Thread 0x44007950 (LWP 7983)]
[New Thread 0x44808950 (LWP 7984)]
[Thread 0x44808950 (LWP 7984) exited]
[Thread 0x44007950 (LWP 7983) exited]
[New Thread 0x44007950 (LWP 7985)]
[New Thread 0x44808950 (LWP 7986)]
[Thread 0x44808950 (LWP 7986) exited]
[Thread 0x44007950 (LWP 7985) exited]
[New Thread 0x44007950 (LWP 7987)]
[New Thread 0x44808950 (LWP 7988)]
[New Thread 0x45009950 (LWP 7989)]
[Thread 0x44808950 (LWP 7988) exited]
[Thread 0x44007950 (LWP 7987) exited]
[New Thread 0x44007950 (LWP 7990)]
[New Thread 0x44808950 (LWP 7991)]
[New Thread 0x4580a950 (LWP 7992)]
[New Thread 0x4600b950 (LWP 7993)]
[Thread 0x4600b950 (LWP 7993) exited]
[Thread 0x4580a950 (LWP 7992) exited]
[Thread 0x44007950 (LWP 7990) exited]
[Thread 0x44808950 (LWP 7991) exited]
[Thread 0x45009950 (LWP 7989) exited]
[New Thread 0x45009950 (LWP 7994)]
[New Thread 0x44808950 (LWP 7995)]
[Thread 0x44808950 (LWP 7995) exited]
[Thread 0x45009950 (LWP 7994) exited]
[New Thread 0x45009950 (LWP 7996)]
[New Thread 0x44808950 (LWP 7997)]
[Thread 0x44808950 (LWP 7997) exited]
[Thread 0x45009950 (LWP 7996) exited]
[New Thread 0x45009950 (LWP 7998)]
[New Thread 0x44808950 (LWP 7999)]
[Thread 0x44808950 (LWP 7999) exited]
[Thread 0x45009950 (LWP 7998) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2abb1b5a0490 (LWP 7966)]
0x00002aaab0036680 in ?? ()

Thread 8 (Thread 0x43806950 (LWP 7982)):
#0  0x00002abb19281e62 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00002abb15cb16f2 in MythSocket::readyReadThread () at 
mythsocket.cpp:740
        it = {<QGListIterator> = {list = 0x2abb15fa5440, curNode = 0x0}, 
<No data fields>}
        rval = 1
        rfds = {fds_bits = {9437184, 0 <repeats 15 times>}}
        sock = (MythSocket *) 0x0
        maxfd = 23
        found = false
#2  0x00002abb18808317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00002abb19288b1d in clone () from /lib/libc.so.6
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 7 (Thread 0x43005950 (LWP 7981)):
#0  0x00002abb1880f91f in open64 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002abb15c6ccaf in MythMediaDevice::openDevice (this=0x8e97d0) at 
mythmedia.cpp:67
No locals.
#2  0x00002abb15cc0331 in MythCDROM::openDevice (this=0x8e97d0) at 
mythcdrom.cpp:52
No locals.
#3  0x00002abb15cc5ff6 in MythCDROMLinux::testMedia (this=0x8e97d0) at 
mythcdrom-linux.cpp:83
        OpenedHere = false
        Stat = 0
#4  0x00002abb15cc635d in MythCDROMLinux::checkMedia (this=0x8e97d0) at 
mythcdrom-linux.cpp:118
        OpenedHere = false
#5  0x00002abb15c6f272 in MediaMonitor::CheckDevices (this=0x97ae00) at 
mythmediamonitor.cpp:341
        itr = {node = 0x9757a0}
        pDev = (class MythMediaDevice *) 0x8e97d0
#6  0x00002abb15c72987 in MonitorThread::run (this=0x8d11d0) at 
mythmediamonitor.cpp:47
No locals.
#7  0x00002abb17663dd2 in QThreadInstance::start () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#8  0x00002abb18808317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x00002abb19288b1d in clone () from /lib/libc.so.6
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 6 (Thread 0x42804950 (LWP 7979)):
#0  0x00002abb1880eefb in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002abb197132cc in lirc_nextcode (code=0x42804020) at 
lirc_client.c:1752
        len = <value optimized out>
        end = 0x0
        c = <value optimized out>
        packet_size = 100
        end_len = 0
#2  0x00002abb15ccfd31 in LircClient::Process (this=0xc8f110) at lirc.cpp:81
        code = 0x0
        ir = 0x0
        ret = 0
#3  0x00002abb15ff9f67 in SpawnLirc (param=0x999920) at 
mythmainwindow.cpp:65
        config_file = {static null = {static null = <same as static 
member of an already seen type>, d = 0x77ae20, static shared_null = 
0x77ae20}, d = 0xc8ca60, static shared_null = 0x77ae20}
        cl = (class LircClient *) 0xc8f110
#4  0x00002abb18808317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00002abb19288b1d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 5 (Thread 0x42003950 (LWP 7978)):
#0  0x00002abb1880c7a6 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
No symbol table info available.
#1  0x00002abb179a09cb in QWaitCondition::wait () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0x00002abb15b92c0f in MythContext::waitPrivRequest (this=0x8782d0) 
at mythcontext.cpp:3344
No locals.
#3  0x0000000000432e9a in run_priv_thread (data=0x0) at main.cpp:828
No locals.
#4  0x00002abb18808317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00002abb19288b1d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 0x41802950 (LWP 7971)):
#0  0x00002abb19281e62 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00002abb15506701 in SSDP::run (this=0x87bf30) at ssdp.cpp:228
        nMaxSocket = 13
        read_set = {fds_bits = {14336, 0 <repeats 15 times>}}
        timeout = {tv_sec = 0, tv_usec = 928000}
#2  0x00002abb17663dd2 in QThreadInstance::start () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#3  0x00002abb18808317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00002abb19288b1d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 0x41001950 (LWP 7970)):
#0  0x00002abb1880c997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
No symbol table info available.
#1  0x00002abb176632f6 in ?? () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0x00002abb17663566 in QThread::msleep () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#3  0x00002abb15509acc in TaskQueue::run (this=0x87b550) at 
taskqueue.cpp:140
        ttNow = {tv_sec = 1195269973, tv_usec = 526273}
        pTask = (Task *) 0x0
#4  0x00002abb17663dd2 in QThreadInstance::start () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0x00002abb18808317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x00002abb19288b1d in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 0x40800950 (LWP 7969)):
#0  0x00002abb1880c997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
No symbol table info available.
#1  0x00002abb179a09aa in QWaitCondition::wait () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0x00002abb15516784 in CEvent::WaitForEvent (this=0x87b1c0, time=500) 
at threadpool.cpp:96
        ret = false
#3  0x00002abb15516870 in WorkerThread::run (this=0x87b1a0) at 
threadpool.cpp:227
        timer = {m_timer = {ds = 84286645}}
#4  0x00002abb17663dd2 in QThreadInstance::start () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0x00002abb18808317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x00002abb19288b1d in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x2abb1b5a0490 (LWP 7966)):
#0  0x00002aaab0036680 in ?? ()
No symbol table info available.
#1  0x00002abb18176371 in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1
No symbol table info available.
#2  0x00002abb179538eb in QGLContext::makeCurrent () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#3  0x00002abb1794fb7c in QGLWidget::makeCurrent () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x00002abb160418ed in MythOpenGLPainter::Begin (this=0xc8cb60, 
parent=0x999920) at mythpainter_ogl.cpp:59
        realParent = (struct QGLWidget *) 0x999920
        param = 10939
        __PRETTY_FUNCTION__ = "virtual void 
MythOpenGLPainter::Begin(QWidget*)"
#5  0x00002abb15ff49df in MythMainWindow::drawTimeout (this=0x999920) at 
mythmainwindow.cpp:457
        redraw = true
        it = (class MythScreenStack **) 0x95b420
        rects = {<> = {<No data fields>}, <No data fields>}
#6  0x00002abb16043ea7 in MythMainWindow::qt_invoke (this=0x999920, 
_id=46, _o=0x7fff97214a10) at moc_mythmainwindow.cpp:84
No locals.
#7  0x00002abb176d3186 in QObject::activate_signal () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#8  0x00002abb176d3d04 in QObject::activate_signal () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#9  0x00002abb17a4d11a in QTimer::timeout () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0x00002abb176f8fab in QTimer::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0x00002abb1766b3aa in QApplication::internalNotify () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0x00002abb1766d158 in QApplication::notify () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0x00002abb15c72c28 in QApplication::sendEvent 
(receiver=0x2aaaac004e80, event=0x7fff97214d90) at 
../../../../include/qt3/qapplication.h:520
No locals.
#14 0x00002abb1765eb04 in QEventLoop::activateTimers () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0x00002abb17611185 in QEventLoop::processEvents () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0x00002abb17685673 in QEventLoop::enterLoop () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#17 0x00002abb1768535f in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0x00002abb1766ce8c in QApplication::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0x000000000043a996 in main (argc=5, argv=0x7fff97215d48) at 
main.cpp:1455
        priv_thread = 1107310928
        mainWindow = (class MythMainWindow *) 0x999920
        pmanager = (MythPluginManager *) 0x917bc0
        networkControl = (class NetworkControl *) 0x0
        status = 0
        themename = {static null = {static null = <same as static member 
of an already seen type>, d = 0x77ae20, static shared_null = 0x77ae20}, 
d = 0x975820, static shared_null = 0x77ae20}
        randomtheme = false
        themedir = {static null = {static null = <same as static member 
of an already seen type>, d = 0x77ae20, static shared_null = 0x77ae20}, 
d = 0x9371c0, static shared_null = 0x77ae20}
        mon = (class MediaMonitor *) 0x97ae00
        dir = <incomplete type>
        exitstatus = 0
        bPromptForBackend = false
        bBypassAutoDiscovery = false
        geometry = {static null = {static null = <same as static member 
of an already seen type>, d = 0x77ae20, static shared_null = 0x77ae20}, 
d = 0x77ae20, static shared_null = 0x77ae20}
        display = {static null = {static null = <same as static member 
of an already seen type>, d = 0x77ae20, static shared_null = 0x77ae20}, 
d = 0x77ae20, static shared_null = 0x77ae20}
        a = <incomplete type>
        pluginname = {static null = {static null = <same as static 
member of an already seen type>, d = 0x77ae20, static shared_null = 
0x77ae20}, d = 0x877de0, static shared_null = 0x77ae20}
        settingsOverride = {sh = 0x8780d0}
        finfo = {fn = {static null = {static null = <same as static 
member of an already seen type>, d = 0x77ae20, static shared_null = 
0x77ae20}, d = 0x878130, static shared_null = 0x77ae20}, fic = 0x0, 
cache = true, symLink = false}
        binname = {static null = {static null = <same as static member 
of an already seen type>, d = 0x77ae20, static shared_null = 0x77ae20}, 
d = 0x878180, static shared_null = 0x77ae20}
        ResetSettings = false
        pParams = (DatabaseParams *) 0x0
        fileprefix = {static null = {static null = <same as static 
member of an already seen type>, d = 0x77ae20, static shared_null = 
0x77ae20}, d = 0x8c63c0, static shared_null = 0x77ae20}




More information about the mythtv-dev mailing list