[mythtv] MythPhone segfaults on frontend startup

Wendy Seltzer wendy at seltzer.com
Fri Feb 18 05:00:32 UTC 2005


Just updated mythtv and mythphone from CVS.  Mythphone segfaults when loaded, backtrace attached. (Previously, it failed to register a SIP address.) 

Thanks!
--Wendy
-- 
Wendy Seltzer -- wendy at seltzer.com || wendy at eff.org
Electronic Frontier Foundation
Berkman Center for Internet & Society at Harvard Law School
http://cyber.law.harvard.edu/seltzer.html
Chilling Effects: http://www.chillingeffects.org/
-------------- next part --------------
(gdb) run
Starting program: /usr/local/bin/mythfrontend
[Thread debugging using libthread_db enabled]
[New Thread -1233446144 (LWP 9827)]
[New Thread -1234957392 (LWP 9830)]
2005-02-17 21:00:02.851 mythfrontend version: 0.17.20050130-1 www.mythtv.org
2005-02-17 21:00:02.851 Enabled verbose msgs : important general
2005-02-17 21:00:03.283 Switching to square mode (MythCenter)
Found 2 Xinerama Screens.
Using screen 1, 800x600+1280+0
[New Thread -1244267600 (LWP 9833)]
[New Thread -1252656208 (LWP 9834)]
2005-02-17 21:00:03.535 Joystick disabled.
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
[Thread -1244267600 (LWP 9833) exited]
[Thread -1252656208 (LWP 9834) exited]
2005-02-17 21:00:03.610 Registering Internal as a media playback plugin.
2005-02-17 21:00:03.723 Registering MythDVD DVD Media Handler as a media handler2005-02-17 21:00:03.723 Registering MythDVD VCD Media Handler as a media handler2005-02-17 21:00:06.109 Registering MythMusic Media Handler as a media handler
[New Thread -1252656208 (LWP 9867)]
[New Thread -1244267600 (LWP 9868)]
SIP listening on IP Address 192.168.0.5:5060 NAT address 66.92.29.102

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1244267600 (LWP 9868)]
0xb3b441cd in leval () from /usr/local/lib/mythtv/plugins/libmythphone.so
(gdb) thread apply all bt full

Thread 6 (Thread -1244267600 (LWP 9868)):
#0  0xb3b441cd in leval () from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#1  0xb3b49ebf in vload () from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#2  0xb3a4a5b4 in festival_load_default_files ()
   from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#3  0xb3a484fa in festival_initialize ()
   from /usr/local/lib/mythtv/plugins/libmythphone.so
No symbol table info available.
#4  0xb3a21a33 in tts (this=0x81caf88) at tts.cpp:39
No locals.
#5  0xb3a1a420 in vxmlParser::vxmlThreadWorker (this=0x81caa00) at vxml.cpp:169
No locals.
#6  0xb3a1a3db in vxmlParser::vxmlThread (p=0x81caa00) at vxml.cpp:162
        me = (vxmlParser *) 0x81caa00
#7  0xb6bb9b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8  0xb6a72c4a in clone () from /lib/tls/libc.so.6
No symbol table info available.

---Type <return> to continue, or q <return> to quit---

Thread 5 (Thread -1252656208 (LWP 9867)):
#0  0xb7ffac14 in realloc () from /lib/ld-linux.so.2
No symbol table info available.
#1  0xb7ff079d in _dl_map_object () from /lib/ld-linux.so.2
No symbol table info available.
#2  0xb7ff4a19 in _dl_relocate_object () from /lib/ld-linux.so.2
No symbol table info available.
#3  0xb7ff5f26 in _dl_catch_error () from /lib/ld-linux.so.2
No symbol table info available.
#4  0xb7ff5491 in _dl_map_object_deps () from /lib/ld-linux.so.2
No symbol table info available.
#5  0xb6aa2b31 in _dl_open () from /lib/tls/libc.so.6
No symbol table info available.
#6  0xb7ff5f26 in _dl_catch_error () from /lib/ld-linux.so.2
No symbol table info available.
#7  0xb6aa2906 in _dl_open () from /lib/tls/libc.so.6
No symbol table info available.
#8  0xb6aa4793 in __libc_dlclose () from /lib/tls/libc.so.6
No symbol table info available.
#9  0xb7ff5f26 in _dl_catch_error () from /lib/ld-linux.so.2
No symbol table info available.
#10 0xb6aa4618 in __libc_dlopen_mode () from /lib/tls/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

#11 0xb6a826af in __nss_lookup_function () from /lib/tls/libc.so.6
No symbol table info available.
#12 0xb6a82353 in __nss_next () from /lib/tls/libc.so.6
No symbol table info available.
#13 0xb6a85c73 in gethostbyname_r () from /lib/tls/libc.so.6
No symbol table info available.
#14 0xb6a85536 in gethostbyname () from /lib/tls/libc.so.6
No symbol table info available.
#15 0xb3a2f6cc in SipUrl::HostnameToIpAddr (this=0xb3600a30)
    at sipstack.cpp:781
        h = (hostent *) 0xb385abec
        ha = <incomplete type>
#16 0xb3a2f2ae in SipUrl (this=0xb3600a30, dispName=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600af0, static shared_null = 0x8153070}, User=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600a60, static shared_null = 0x8153070}, Hostname=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600be8, static shared_null = 0x8153070}, Port=5060) at sipstack.cpp:757
No locals.
---Type <return> to continue, or q <return> to quit---

#17 0xb39fd962 in SipRegistration (this=0xb3600c00, par=0x81ab878, localIp=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600a18, static shared_null = 0x8153070}, localPort=5060, Username=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600ac8, static shared_null = 0x8153070}, Password=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600c90, static shared_null = 0x8153070}, ProxyName=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600be8, static shared_null = 0x8153070}, ProxyPort=5060) at sipfsm.cpp:2200
No locals.
#18 0xb39ece5e in SipFsm (this=0x81ab878, parent=0x0, name=0x0)
    at sipfsm.cpp:575
        ProxyDNS = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600be8,
  static shared_null = 0x8153070}
        ProxyUsername = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600ac8,
---Type <return> to continue, or q <return> to quit---

  static shared_null = 0x8153070}
        ProxyPassword = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600c90,
  static shared_null = 0x8153070}
        RegisterWithProxy = true
#19 0xb39e957d in SipThread::SipThreadWorker (this=0x81d6b88) at sipfsm.cpp:281
        homeDir = 0xbfffff4d "/home/mythtv"
        debugFileName = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x81d3100,
  static shared_null = 0x8153070}
        sipFsm = (class SipFsm *) 0x0
#20 0xb39e9361 in SipThread::run (this=0x81d6b88) at sipfsm.cpp:261
No locals.
#21 0xb6ea62ca in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0xb6bb9b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#23 0xb6a72c4a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 2 (Thread -1234957392 (LWP 9830)):
---Type <return> to continue, or q <return> to quit---
#0  0xb6bbc295 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb71ab339 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb7580cb2 in MythContext::waitPrivRequest (this=0x818d1c0)
    at mythcontext.cpp:2138
No locals.
#3  0x0806cc94 in run_priv_thread (data=0x0) at main.cpp:663
No locals.
#4  0xb6bb9b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb6a72c4a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread -1233446144 (LWP 9827)):
#0  0xb6a0d4ee in mallopt () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb6a0c8c3 in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb6b8d2fe in operator new () from /usr/lib/libstdc++.so.5
No symbol table info available.
#3  0xb717e713 in QMapPrivate<QString, Param>::QMapPrivate ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0xb717d925 in QSqlExtension::QSqlExtension () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0xb717f58a in QSqlResult::QSqlResult () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0xb678da9c in QMYSQLResult::QMYSQLResult ()
   from /usr/lib/qt3/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#7  0xb678f86a in QMYSQLDriver::createQuery ()
   from /usr/lib/qt3/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#8  0xb716f1ea in QSqlDatabase::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#9  0xb7622d92 in MythMainWindow::RegisterKey (this=0x81a54d0,
    context=@0xbfffe440, action=@0xbfffe430, description=@0xbfffe420,
    key=@0xbfffe410) at mythdialogs.cpp:459
        thequery = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3600838,
  static shared_null = 0x8153070}
        query = <incomplete type>
        keybind = {static null = {
---Type <return> to continue, or q <return> to quit---
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0xb3601360,
  static shared_null = 0x8153070}
        db = (struct QSqlDatabase *) 0x819b2e0
        keyseq = {<Qt> = {static color0 = @0xb7381a20,
    static color1 = @0xb7381a28, static black = @0xb7381a30,
    static white = @0xb7381a38, static darkGray = @0xb7381a40,
    static gray = @0xb7381a48, static lightGray = @0xb7381a50,
    static red = @0xb7381a58, static green = @0xb7381a60,
    static blue = @0xb7381a68, static cyan = @0xb7381a70,
    static magenta = @0xb7381a78, static yellow = @0xb7381a80,
    static darkRed = @0xb7381a88, static darkGreen = @0xb7381a90,
    static darkBlue = @0xb7381a98, static darkCyan = @0xb7381aa0,
    static darkMagenta = @0xb7381aa8, static darkYellow = @0xb7381ab0,
    static arrowCursor = @0xb7380100, static upArrowCursor = @0xb7380104,
    static crossCursor = @0xb7380108, static waitCursor = @0xb738010c,
    static ibeamCursor = @0xb7380110, static sizeVerCursor = @0xb7380114,
    static sizeHorCursor = @0xb7380118, static sizeBDiagCursor = @0xb738011c,
    static sizeFDiagCursor = @0xb7380120, static sizeAllCursor = @0xb7380124,
    static blankCursor = @0xb7380128, static splitVCursor = @0xb738012c,
    static splitHCursor = @0xb7380130,
    static pointingHandCursor = @0xb7380134,
    static forbiddenCursor = @0xb7380138,
---Type <return> to continue, or q <return> to quit---
    static whatsThisCursor = @0xb738013c, static busyCursor = @0xb7380140},
  d = 0xbfffe410}
#10 0xb3733a69 in setupKeys ()
   from /usr/local/lib/mythtv/plugins/libmythvideo.so
No symbol table info available.
#11 0xb3734020 in mythplugin_init ()
   from /usr/local/lib/mythtv/plugins/libmythvideo.so
No symbol table info available.
#12 0xb761a83b in MythPlugin::init (this=0x81c92b8,
    libversion=0xb76b0894 "0.17.20050130-1") at mythplugin.cpp:30
        ifunc = 0xb3733d80 <mythplugin_init>
#13 0xb761b441 in MythPluginManager::init_plugin (this=0x81c3a28,
    plugname=@0xbfffe690) at mythplugin.cpp:133
        newname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x81cf6e0,
  static shared_null = 0x8153070}
        result = -1222762036
#14 0xb761b17d in MythPluginManager (this=0x81c3a28) at mythplugin.cpp:114
        library = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x81c9048,
  static shared_null = 0x8153070}
---Type <return> to continue, or q <return> to quit---
        i = {node = 0x81a9c58}
        prefixLength = 3
        suffixLength = 3
        libraries = {<QValueList<QString>> = {
    sh = 0x81b5da8}, <No data fields>}
        pluginprefix = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x81b61d8,
  static shared_null = 0x8153070}
        filterDir = <incomplete type>
        filter = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x81c3858,
  static shared_null = 0x8153070}
#15 0x0806f744 in main (argc=1, argv=0xbfffea74) at main.cpp:986
        lcd_host = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x819b368,
  static shared_null = 0x8153070}
        lcd_port = 13666
        a = <incomplete type>
        logfile = {static null = {
    static null = <same as static member of an already seen type>,
---Type <return> to continue, or q <return> to quit---
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x818ca88,
  static shared_null = 0x8153070}
        verboseString = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x818cf60,
  static shared_null = 0x8153070}
        pluginname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x818cf78,
  static shared_null = 0x8153070}
        finfo = {fn = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x8153070, static shared_null = 0x8153070}, d = 0x818cfd0,
    static shared_null = 0x8153070}, fic = 0x0, cache = true, symLink = false}
        binname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x818cfe8,
  static shared_null = 0x8153070}
        logfd = -1
        fileprefix = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x818d0a0,
  static shared_null = 0x8153070}
---Type <return> to continue, or q <return> to quit---
        dir = <incomplete type>
        priv_thread = 3060009904
        status = 0
        db = (struct QSqlDatabase *) 0x819b2e0
        themename = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x821acc0,
  static shared_null = 0x8153070}
        randomtheme = false
        themedir = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8153070, static shared_null = 0x8153070}, d = 0x8217fc0,
  static shared_null = 0x8153070}
        mainWindow = (class MythMainWindow *) 0x81a54d0
        pmanager = (MythPluginManager *) 0x3
        mon = (class MediaMonitor *) 0x81619d0
        exitstatus = -1230191000
#0  0xb3b441cd in leval () from /usr/local/lib/mythtv/plugins/libmythphone.so
(gdb)


More information about the mythtv-dev mailing list