[mythtv] mythfrontend segfault

dave sailer d.sailer at comcast.net
Mon Nov 14 21:39:13 EST 2005


dave sailer wrote:

> i had a working mythfrontend that suddenly started to segfault while 
> playing live tv. It plays recorded content ok. I'm using gentoo and 
> the only  way i could figure out how to compile with debug was to 
> download the tar and install from source so I have a gentoo/emerge 
> version in /usr/bin/mythfrontend and the newly compiled from source 
> version in /usr/local/bin/mythfrontend.  I followed the steps to 
> compile for debug but I'm guessing it didn't work (missing symbol 
> tables). Here is the output from the full test, which was simply 
> starting the frontend and playing live tv. Live tv plays for about 3 
> seconds before segfaulting...
>
>
>
> myth1 mythtv-0.18.1 # gdb /usr/local/bin/mythfrontend
> GNU gdb 6.0
> Copyright 2003 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 "i686-pc-linux-gnu"...Using host 
> libthread_db library "/lib/libthread_db.so.1".
>
> (gdb) run
> Starting program: /usr/local/bin/mythfrontend
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 18677)]
> 2005-11-13 16:57:12.284 New DB connection, total: 1
> Total desktop width=800, height=600, numscreens=1
> 2005-11-13 16:57:12.524 Using screen 0, 800x600 at 0,0
> [New Thread 32769 (LWP 18681)]
> [New Thread 16386 (LWP 18682)]
> 2005-11-13 16:57:12.535 mythfrontend version: 0.18.1.20050510-1 
> www.mythtv.org
> 2005-11-13 16:57:12.536 Enabled verbose msgs : important general
> 2005-11-13 16:57:12.953 Switching to square mode (blue)
> [New Thread 32771 (LWP 18683)]
> [New Thread 49156 (LWP 18684)]
> mythtv: could not open config file /root/.mythtv/lircrc
> mythtv: No such file or directory
> Failed to read lirc config /root/.mythtv/lircrc for mythtv
> 2005-11-13 16:57:13.483 Joystick disabled.
> 2005-11-13 16:57:13.561 Registering Internal as a media playback plugin.
> /usr/local/lib/mythtv/plugins/libmythgallery.so: undefined symbol: 
> _ZN18ConfigurationGroup4loadEP12QSqlDatabase
> Unable to initialize plugin 'mythgallery'.
> 2005-11-13 16:57:15.166 New DB connection, total: 2
> [New Thread 65539 (LWP 18686)]
> 2005-11-13 16:57:15.189 Connecting to backend server: 
> 192.168.1.102:6543 (try 1 of 5)
> 2005-11-13 16:57:15.196 Using protocol version 15
> 2005-11-13 16:57:15.305 Using protocol version 15
> [New Thread 81924 (LWP 18690)]
> [New Thread 98309 (LWP 18691)]
> 2005-11-13 16:57:18.671 Opening audio device '/dev/dsp'.
> 2005-11-13 16:57:18.671 Opening OSS audio device '/dev/dsp'.
> [New Thread 114694 (LWP 18692)]
> 2005-11-13 16:57:18.689 Using XV port 105
> X Error: BadMatch (invalid parameter attributes) 8
> Major opcode:  140
> Minor opcode:  14
> Resource id:  0x1c2
> 2005-11-13 16:57:18.739 Couldn't get the color key color, and we need it.
> You likely won't get any video.
> [New Thread 131079 (LWP 18693)]
> 2005-11-13 16:57:18.948 Using realtime priority.
> 2005-11-13 16:57:18.963 Changing from None to WatchingLiveTV
> [New Thread 147464 (LWP 18694)]
> nVidiaVideoSync::: Interrupted system call
> 2005-11-13 16:57:19.611 Video timing method: USleep with busy wait
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 18677)]
> 0xb6f38f3e in operator==(QString const&, QString const&) () from 
> /usr/qt/3/lib/libqt-mt.so.3(gdb)
> (gdb) thread apply all bt full
>
> Thread 11 (Thread 147464 (LWP 18694)):
> #0  0xb6863e56 in nanosleep () from /lib/libc.so.6
> No symbol table info available.
>
> Thread 10 (Thread 131079 (LWP 18693)):
> #0  0xb6863e56 in nanosleep () from /lib/libc.so.6
> No symbol table info available.
>
> Thread 9 (Thread 114694 (LWP 18692)):
> #0  0xb6863e56 in nanosleep () from /lib/libc.so.6
> No symbol table info available.
>
> Thread 8 (Thread 98309 (LWP 18691)):
> #0  0xb688bd51 in select () from /lib/libc.so.6
> No symbol table info available.
> #1  0xb70be5f0 in ?? () from /usr/qt/3/lib/libqt-mt.so.3
> No symbol table info available.
>
> Thread 7 (Thread 81924 (LWP 18690)):
> #0  0xb67f327d in __i686.get_pc_thunk.bx () from /lib/libc.so.6
> No symbol table info available.
> #1  0xb6806e9a in siglongjmp () from /lib/libc.so.6
> No symbol table info available.
> #2  0xb723c816 in siglongjmp () from /lib/libpthread.so.0
> No symbol table info available.
> #3  0xb723da04 in pthread_handle_sigrestart () from /lib/libpthread.so.0
> No symbol table info available.
> #4  <signal handler called>
> ---Type <return> to continue, or q <return> to quit---
> No symbol table info available.
> #5  0xb7241ad6 in nanosleep () from /lib/libpthread.so.0
> No symbol table info available.
> #6  0x00000001 in ?? ()
> No symbol table info available.
> #7  0xb723dfbd in __pthread_timedsuspend_new () from /lib/libpthread.so.0
> No symbol table info available.
> #8  0xb723a189 in pthread_cond_timedwait_relative () from 
> /lib/libpthread.so.0
> No symbol table info available.
> #9  0xb53d9c88 in ?? ()
> No symbol table info available.
> #10 0x08864748 in ?? ()
> No symbol table info available.
> #11 0xb7239e40 in pthread_cond_destroy at GLIBC_2.0 () from 
> /lib/libpthread.so.0
> No symbol table info available.
> #12 0xb70be5f0 in ?? () from /usr/qt/3/lib/libqt-mt.so.3
> No symbol table info available.
> #13 0x4377b6c0 in ?? ()
> No symbol table info available.
> #14 0xb70cb228 in qt_open_extension_dict () from 
> /usr/qt/3/lib/libqt-mt.so.3
> No symbol table info available.
> #15 0xb53d9ca8 in ?? ()
> No symbol table info available.
> #16 0xb6ef9600 in QWaitCondition::wait(unsigned long) () from 
> /usr/qt/3/lib/libqt-mt.so.3No symbol table info available.
> Previous frame inner to this frame (corrupt stack?)
> #0  0xb6f38f3e in operator==(QString const&, QString const&) () from 
> /usr/qt/3/lib/libqt-mt.so.3(gdb)
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
I noticed today that this may be related to use of he epg. I get the 
same segfault if I try to schedule a recording with the epg.


any hints at all?


More information about the mythtv-dev mailing list