[mythtv] BUG: Segfault on exit from live TV and recordings.

Buechler, Mark R Mark_R_Buechler at bausch.com
Wed Aug 11 11:55:11 EDT 2004


I update my mythtv about once every two weeks from CVS and about a month ago
(maybe less) I've been seeing a problem with exiting from LiveTV and
watching recordings. When I exit mythfrontend segfaults. I use GL sync and I
believe the problem lies in that. Below is output from gdb. And included is
my settings.pro file. Please let me know if anyone needs more information.
I'm also looking further.

My config is an Athlon 1ghz with an Nvidia 5600SE (Nvidia drivers 1.0.5336)
running SuSE 8.2.

- Mark.

----------------------------------------------------------------------------
--
pc4:/usr/src/mythtv # gdb mythfrontend
GNU gdb 5.3
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 "i586-suse-linux"...
(gdb) handle SIGPIPE nostop
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) run
Starting program: /opt/mns/mythtv-20040810/bin/mythfrontend
[New Thread 16384 (LWP 20063)]
2004-08-11 11:42:14 mythfrontend version: 0.15.20040528-1 www.mythtv.org
2004-08-11 11:42:14 Enabled verbose msgs : important general
[New Thread 32769 (LWP 20064)]
[New Thread 16386 (LWP 20065)]
2004-08-11 11:42:16 Registering Internal as a media playback plugin.
2004-08-11 11:42:16 Registering MythDVD DVD Media Handler as a media handler
2004-08-11 11:42:16 Registering MythDVD VCD Media Handler as a media handler
2004-08-11 11:42:21 Registering MythMusic Media Handler as a media handler
2004-08-11 11:42:22 Key [,[,F10 is already bound in context Stream.
2004-08-11 11:42:29 Mediamonitor: Adding /dev/dvd
2004-08-11 11:42:29 Starting media monitor.
[New Thread 32771 (LWP 20084)]
2004-08-11 11:42:30 Media status changed...  New status is: MEDIASTAT_OPEN
old status was MEDIASTAT_NOTMOUNTED
Error loading image file:
/opt/mns/mythtv-20040810/share/mythtv/themes/default/streamicon.png
Missing image in buttondef STREAM
[New Thread 49156 (LWP 20087)]
2004-08-11 11:42:51 Connecting to backend server: 192.168.1.121:6543 (try 1
of 5)
2004-08-11 11:42:51 Using protocol version 12
2004-08-11 11:42:51 Using protocol version 12
2004-08-11 11:42:51 Using protocol version 12
[New Thread 65541 (LWP 20088)]
[New Thread 81926 (LWP 20089)]
2004-08-11 11:42:56 Opening OSS audio device '/dev/dsp'.
2004-08-11 11:42:56 Audio fragment size: 4096
[New Thread 98311 (LWP 20090)]
2004-08-11 11:42:56 Using XV port 145
Unknown tag bold in font
Unknown tag bold in font
[New Thread 114696 (LWP 20091)]
2004-08-11 11:42:57 Changing from None to WatchingLiveTV
GetModeLine - scrn: 0 clock: 40806
GetModeLine - hdsp: 960 hbeg: 1036 hend: 1116 httl: 1216
              vdsp: 540 vbeg: 550 vend: 551 vttl: 563 flags: 5
GetModeLine - scrn: 0 clock: 40806
GetModeLine - hdsp: 960 hbeg: 1036 hend: 1116 httl: 1216
              vdsp: 540 vbeg: 550 vend: 551 vttl: 563 flags: 5

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 49156 (LWP 20087)]
0x40af1d47 in lt_dlfree () from /usr/lib/libGL.so.1
(gdb) thread apply all bt full

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

Thread 5 (Thread 49156 (LWP 20087)):
#0  0x40af1d47 in lt_dlfree () from /usr/lib/libGL.so.1
No symbol table info available.
#1  0x083b36b8 in ?? ()
No symbol table info available.

Thread 4 (Thread 32771 (LWP 20084)):
#0  0x41353b8f in close () from /lib/libpthread.so.0
No symbol table info available.
#1  0x409181be in MythMediaDevice::closeDevice() (this=0x824d498) at
mythmedia.cpp:57
        ret = 16777217
#2  0x40918dc5 in MythMediaDevice::setStatus(MediaStatus, bool)
(this=0x824d498, NewStatus=MEDIASTAT_OPEN,
    CloseIt=true) at mythmedia.cpp:221
        OldStatus = MEDIASTAT_OPEN
#3  0x409392d9 in MythCDROMLinux::checkMedia() (this=0x824d498) at
mythcdrom-linux.cpp:97
        ret = 2
        OpenedHere = true
#4  0x40937b37 in MediaMonitor::checkDevices() (this=0x81fbf38) at
mythmediamonitor.cpp:280
        itr = {node = 0x8228970}
        pDev = (class MythMediaDevice *) 0x824d498
#5  0x40936f1f in MonitorThread::run() (this=0x81fbf68) at
mythmediamonitor.cpp:75
No locals.
#6  0x40db0ff3 in QThreadInstance::start(void*) () from
/opt/qt32/lib/libqt-mt.so.3
No symbol table info available.
#7  0x4134dc60 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x4134dcdf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 3 (Thread 16386 (LWP 20065)):
#0  0x41353b1b in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0x415b58e0 in __JCR_LIST__ () from /usr/lib/liblirc_client.so.0
No symbol table info available.
#2  0x4093a2fc in LircClient::Process() (this=0x822bd60) at lirc.cpp:67
        code = 0x0
        ir = 0x0
        ret = 1073786976
#3  0x408f8de4 in SpawnLirc (param=0x8213a00) at mythdialogs.cpp:43
        main_window = (MythMainWindow *) 0x8213a00
        config_file = {static null = {static null = <same as static member
of an already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x8217bb0, static
shared_null = 0x81dcff0}
        program = {static null = {static null = <same as static member of an
already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x8217b28, static
shared_null = 0x81dcff0}
        cl = (class LircClient *) 0x822bd60
#4  0x4134dc60 in pthread_start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#5  0x4134dcdf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 20064)):
#0  0x415545e7 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x4134d96e in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x4134db67 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 20063)):
#0  0x4152c166 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0xffffff90 in ?? ()
No symbol table info available.
#2  0x08065773 in startTV() () at main.cpp:270
        tv = (class TV *) 0x82472c0
        timer = {ds = 42171163}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#3  0x08066bb9 in TVMenuCallback(void*, QString&) (data=0x81fc580,
selection=@0x824fa7c) at main.cpp:389
        sel = {static null = {static null = <same as static member of an
already seen type>, d = 0x81dcff0,
    static shared_null = 0x81dcff0}, d = 0x823fb50, static shared_null =
0x81dcff0}
#4  0x4089cd13 in ThemedMenuPrivate::handleAction(QString const&)
(this=0x824f980, action=@0x8250918)
    at themedmenu.cpp:2140
No locals.
#5  0x4089b117 in ThemedMenuPrivate::keyPressHandler(QKeyEvent*)
(this=0x824f980, e=0xbfffed80)
    at themedmenu.cpp:1950
        it = {node = 0x8250910}
        action = {static null = {static null = <same as static member of an
already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x8228190, static
shared_null = 0x81dcff0}
        i = 0
        lastbutton = (ThemedButton *) 0x8252f20
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x821b880}, <No data
fields>}
#6  0x4089e16f in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x824cb30,
e=0xbfffed80)
    at themedmenu.cpp:2328
No locals.
#7  0x40e4cb7e in QWidget::event(QEvent*) () from
/opt/qt32/lib/libqt-mt.so.3
No symbol table info available.
#8  0x40dbdb2d in QApplication::internalNotify(QObject*, QEvent*) () from
/opt/qt32/lib/libqt-mt.so.3
No symbol table info available.
#9  0x40dbd368 in QApplication::notify(QObject*, QEvent*) () from
/opt/qt32/lib/libqt-mt.so.3
No symbol table info available.
#10 0x40d57edf in QETWidget::translateKeyEvent(_XEvent const*, bool) () from
/opt/qt32/lib/libqt-mt.so.3
No symbol table info available.
#11 0x40d54572 in QApplication::x11ProcessEvent(_XEvent*) () from
/opt/qt32/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#12 0x40d69c44 in QEventLoop::processEvents(unsigned) () from
/opt/qt32/lib/libqt-mt.so.3
No symbol table info available.
#13 0x40dd057b in QEventLoop::enterLoop() () from
/opt/qt32/lib/libqt-mt.so.3
No symbol table info available.
#14 0x40dbdda0 in QApplication::enter_loop() () from
/opt/qt32/lib/libqt-mt.so.3
No symbol table info available.
#15 0x409015ab in MythDialog::exec() (this=0x824cb30) at mythdialogs.cpp:822
        res = 1083184432
#16 0x08068216 in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x8231120,
static shared_null = 0x81dcff0}) at main.cpp:542
        exitstatus = 0
#17 0x0806c9f8 in main (argc=1, argv=0xbffff454) at main.cpp:993
        lcd_host = {static null = {static null = <same as static member of
an already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x821bd60, static
shared_null = 0x81dcff0}
        lcd_port = 13666
        a = <incomplete type>
        logfile = {static null = {static null = <same as static member of an
already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x81fc358, static
shared_null = 0x81dcff0}
        verboseString = {static null = {static null = <same as static member
of an already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x81fc370, static
shared_null = 0x81dcff0}
        pluginname = {static null = {static null = <same as static member of
an already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x81fc388, static
shared_null = 0x81dcff0}
        finfo = {fn = {static null = {static null = <same as static member
of an already seen type>,
      d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x81fc3f8, static
shared_null = 0x81dcff0},
  fic = 0x0, cache = true, symLink = false}
        binname = {static null = {static null = <same as static member of an
already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x81fc410, static
shared_null = 0x81dcff0}
        logfd = -1
        fileprefix = {static null = {static null = <same as static member of
an already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x81fc4c8, static
shared_null = 0x81dcff0}
        dir = <incomplete type>
        db = (struct QSqlDatabase *) 0x820af88
        themename = {static null = {static null = <same as static member of
an already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x822d688, static
shared_null = 0x81dcff0}
        randomtheme = false
        themedir = {static null = {static null = <same as static member of
an already seen type>,
    d = 0x81dcff0, static shared_null = 0x81dcff0}, d = 0x8231120, static
shared_null = 0x81dcff0}
        mainWindow = (class MythMainWindow *) 0x8213a00
        pmanager = (MythPluginManager *) 0x821bf10
        mon = (class MediaMonitor *) 0x81fbf38
        exitstatus = 1094000174
#18 0x414908ae in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#0  0x40af1d47 in lt_dlfree () from /usr/lib/libGL.so.1
(gdb)





Bausch & Lomb
150 Years of Perfecting Vision, Enhancing Life (TM)






EMAIL DISCLAIMER 

Please Note: The information contained in this message may be privileged and
confidential, protected from disclosure, and/or intended only for the use of
the individual or entity named above. If the reader of this message is not
the intended recipient, or an employee or agent responsible for delivering
this message to the intended recipient, you are hereby notified that any
disclosure, distribution, copying or other dissemination of this
communication is strictly prohibited. If you received this communication in
error, please immediately reply to the sender, delete the message and
destroy all copies of it.

Thank You
-------------- next part --------------
A non-text attachment was scrubbed...
Name: settings.pro
Type: application/octet-stream
Size: 2704 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040811/28d700e3/settings.obj


More information about the mythtv-dev mailing list