[mythtv] Segfault on ubuntu edgy

Brian Buchanan BrianBuchanan at interfast.ca
Wed Mar 14 15:17:16 UTC 2007


Are you using DistCC?  I ran into weird problems when I compiled because the
remote computers were not exactly the same as the target computer.  Not using
DistCC solved my problem.

._.

-----Original Message-----
From: Andrew Cain <acain at interscan.com.au>
To: Development of mythtv <mythtv-dev at mythtv.org>
Date: Tue, 23 Jan 2007 10:10:24 +1100
Subject: Re: [mythtv] Segfault on ubuntu edgy

> Andrew Cain wrote:
> > I've been compiling svn/cvs builds of mythtv for a couple of years now
> >
> > on debian/ubuntu systems.
> >
> > However, I've just done a fresh install of Ubuntu Edgy and am having 
> > some problems, any suggestions would be appreciated.
> >
> > I'm experiencing a segfault on mythfrontend startup (backtrace below).  
> > If I install from a compile done on Breezy (same version svn 12469) then 
> > no segfault occurs.
> >   
> The segfault occurs before the main windows appears.
> > I've compiled with:
> > ./configure --compile-type=debug  --disable-audio-jack
> >
> > My version of gcc is:
> > gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
> >
> > gdb backtrace:
> > [Thread debugging using libthread_db enabled]
> > [New Thread -1253198128 (LWP 30392)]
> > [New Thread -1257358432 (LWP 30398)]
> > [New Thread -1277375584 (LWP 30399)]
> > [New Thread -1285768288 (LWP 30400)]
> > [Thread -1285768288 (LWP 30400) exited]
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1253198128 (LWP 30392)]
> > 0xb5fa99c3 in __gnu_cxx::__pool<true>::_M_reclaim_block () from 
> > /usr/lib/libstdc++.so.6
> >
> > Thread 3 (Thread -1277375584 (LWP 30399)):
> > #0  0xffffe410 in __kernel_vsyscall ()
> > No symbol table info available.
> > #1  0xb60533fb in __read_nocancel () from
> /lib/tls/i686/cmov/libpthread.so.0
> > No symbol table info available.
> > #2  0xb5dfe912 in lirc_nextcode (code=0xb3dcc3cc) at lirc_client.c:1746
> >    len = <value optimized out>
> >    end = 0x0
> >    c = <value optimized out>
> >    end_len = 0
> >    packet_size = 100
> > #3  0xb6f82a3e in LircClient::Process (this=0x83771d0) at lirc.cpp:71
> >    code = 0x0
> >    ir = 0x0
> >    ret = -1208869568
> > #4  0xb6d23277 in SpawnLirc (param=0x831d8b8) at mythmainwindow.cpp:65
> >    config_file = {static null = {static null = <same as static member 
> > of an already seen type>, d = 0x815a3f8, static shared_null = 
> > 0x815a3f8}, d = 0x8376620, static shared_null = 0x815a3f8}
> >    cl = (class LircClient *) 0x83771d0
> > #5  0xb604d504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
> > No symbol table info available.
> > #6  0xb5ed151e in clone () from /lib/tls/i686/cmov/libc.so.6
> > No symbol table info available.
> >
> > Thread 2 (Thread -1257358432 (LWP 30398)):
> > #0  0xffffe410 in __kernel_vsyscall ()
> > No symbol table info available.
> > #1  0xb6050816 in pthread_cond_wait@@GLIBC_2.3.2 () from 
> > /lib/tls/i686/cmov/libpthread.so.0
> > No symbol table info available.
> > #2  0xb68292cc in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
> > No symbol table info available.
> > #3  0xb6e4b75f in MythContext::waitPrivRequest (this=0x820add8) at 
> > mythcontext.cpp:2822
> > No locals.
> > #4  0x080678bd in run_priv_thread (data=0x0) at main.cpp:685
> > No locals.
> > #5  0xb604d504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
> > No symbol table info available.
> > #6  0xb5ed151e in clone () from /lib/tls/i686/cmov/libc.so.6
> > No symbol table info available.
> >
> > Thread 1 (Thread -1253198128 (LWP 30392)):
> > #0  0xb5fa99c3 in __gnu_cxx::__pool<true>::_M_reclaim_block () from 
> > /usr/lib/libstdc++.so.6
> > No symbol table info available.
> > #1  0xb2b4dcab in mythplugin_init () from 
> > /usr/local/lib/mythtv/plugins/libmytharchive.so
> > No symbol table info available.
> > #2  0xb6eff0c4 in MythPlugin::init (this=0x83e3118, 
> > libversion=0xb6fb4e19 "0.20.20061228-1") at mythplugin.cpp:33
> >    ifunc = (PluginInitFunc) 0xb2b4dad0 <mythplugin_init>
> > #3  0xb6eff500 in MythPluginManager::init_plugin (this=0x83e31d0, 
> > plugname=@0xbf8faea4) at mythplugin.cpp:150
> >    newname = {static null = {static null = <same as static member of an 
> > already seen type>, d = 0x815a3f8, static shared_null = 0x815a3f8}, d = 
> > 0x83e3030, static shared_null = 0x815a3f8}
> >    result = 1
> > #4  0xb6f002c1 in MythPluginManager (this=0x83e31d0) at mythplugin.cpp:131
> > No locals.
> > #5  0x0806e769 in main (argc=5, argv=0xbf8fb334) at main.cpp:1129
> >    geometry = {static null = {static null = <same as static member of 
> > an already seen type>, d = 0x815a3f8, static shared_null = 0x815a3f8}, d 
> > = 0x815a3f8, static shared_null = 0x815a3f8}
> >    display = {static null = {static null = <same as static member of an 
> > already seen type>, d = 0x815a3f8, static shared_null = 0x815a3f8}, d = 
> > 0x815a3f8, static shared_null = 0x815a3f8}
> >    a = <incomplete type>
> >    logfile = {static null = {static null = <same as static member of an 
> > already seen type>, d = 0x815a3f8, static shared_null = 0x815a3f8}, d = 
> > 0x8206d80, static shared_null = 0x815a3f8}
> >    pluginname = {static null = {static null = <same as static member of 
> > an already seen type>, d = 0x815a3f8, static shared_null = 0x815a3f8}, d 
> > = 0x8206d98, static shared_null = 0x815a3f8}
> >    settingsOverride = {sh = 0x820aaf0}
> >    finfo = {fn = {static null = {static null = <same as static member 
> > of an already seen type>, d = 0x815a3f8, static shared_null = 
> > 0x815a3f8}, d = 0x8208b78, static shared_null = 0x815a3f8}, fic = 0x0, 
> > cache = true, symLink = false}
> >    binname = {static null = {static null = <same as static member of an 
> > already seen type>, d = 0x815a3f8, static shared_null = 0x815a3f8}, d = 
> > 0x8208b90, static shared_null = 0x815a3f8}
> >    ResetSettings = false
> >    logfd = 10
> >    fileprefix = {static null = {static null = <same as static member of 
> > an already seen type>, d = 0x815a3f8, static shared_null = 0x815a3f8}, d 
> > = 0x826b6a0, static shared_null = 0x815a3f8}
> >    dir = <incomplete type>
> >    priv_thread = 3037608864
> >    status = 0
> >    themename = {static null = {static null = <same as static member of 
> > an already seen type>, d = 0x815a3f8, static shared_null = 0x815a3f8}, d 
> > = 0x831c398, static shared_null = 0x815a3f8}
> >    randomtheme = false
> >    themedir = {static null = {static null = <same as static member of 
> > an already seen type>, d = 0x815a3f8, static shared_null = 0x815a3f8}, d 
> > = 0x831ba88, static shared_null = 0x815a3f8}
> >    mainWindow = (class MythMainWindow *) 0x831d8b8
> >    pmanager = (MythPluginManager *) 0x8155240
> >    mon = (class MediaMonitor *) 0xbf8fb278
> >    networkControl = (class NetworkControl *) 0x8064135
> >    exitstatus = 1
> >
> >
> >
> > If you would like further info, please ask.
> >   
> Here also is the frontend log:
> mythtv at vidserv2:~$ /usr/local/bin/mythfrontend
> 2007-01-23 10:10:26.982 Using runtime prefix = /usr/local
> 2007-01-23 10:10:27.020 XScreenSaver support enabled
> 2007-01-23 10:10:27.020 DPMS is disabled.
> 2007-01-23 10:10:27.158 New DB connection, total: 1
> 2007-01-23 10:10:27.162 Connected to database 'mythconverg' at host: vidserv
> 2007-01-23 10:10:27.165 Total desktop dim: 1280x768, with 1 screen[s].
> 2007-01-23 10:10:27.168 Using screen 0, 1280x768 at 0,0
> 2007-01-23 10:10:27.201 Current Schema Version: 1175
> 2007-01-23 10:10:27.201 mythfrontend version: 0.20.20061228-1 www.mythtv.org
> 2007-01-23 10:10:27.201 Enabled verbose msgs:  important general
> 2007-01-23 10:10:28.419 Total desktop dim: 1280x768, with 1 screen[s].
> 2007-01-23 10:10:28.422 Using screen 0, 1280x768 at 0,0
> 2007-01-23 10:10:28.424 Switching to square mode (MythCenter)
> 2007-01-23 10:10:28.461 Using the Qt painter
> 2007-01-23 10:10:28.464 Joystick disabled.
> 2007-01-23 10:10:28.485 lirc init success using configuration file: 
> /home/mythtv/.mythtv/lircrc
> 2007-01-23 10:10:29.300 Loading from: 
> /usr/local/share/mythtv/themes/default/base.xml
> 2007-01-23 10:10:30.251 Registering Internal as a media playback plugin.
> Segmentation fault (core dumped)
> 
> 
> > Thanks,
> > Andrew Cain
> >
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >
> >
> >   
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev




More information about the mythtv-dev mailing list