[mythtv] Segfault on ubuntu edgy

Andrew Cain acain at interscan.com.au
Mon Jan 22 00:05:07 UTC 2007


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.

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.

Thanks,
Andrew Cain



More information about the mythtv-dev mailing list