damian@mythtv-box:~$ gdb mythfilldatabase -x gdbcommands GNU gdb 6.6-debian Copyright (C) 2006 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 "i486-linux-gnu"... Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1256986912 (LWP 14316)] Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. 2007-11-30 21:40:03.385 Using runtime prefix = /usr/local 2007-11-30 21:40:03.386 Using localhost value of mythtv-box [New Thread -1258554480 (LWP 14319)] [New Thread -1266947184 (LWP 14320)] [New Thread -1275339888 (LWP 14321)] 2007-11-30 21:40:03.393 LookupUDN()- bad device type, not enough tokens 2007-11-30 21:40:03.944 Cannot find default UPnP backend 2007-11-30 21:40:04.001 New DB connection, total: 1 2007-11-30 21:40:04.006 Connected to database 'mythconverg' at host: localhost 2007-11-30 21:40:04.007 Closing DB connection named 'DBManager0' 2007-11-30 21:40:04.007 Deleting UPnP client... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1266947184 (LWP 14320)] 0xb6739c25 in ?? () from /usr/lib/libqt-mt.so.3 Thread 4 (Thread -1275339888 (LWP 14321)): #0 0xb7c34c01 in QGArray::at (this=0xb3fbd210, index=231) at /usr/include/qt3/qgarray.h:122 No locals. #1 0xb704dc46 in QMemArray::operator[] (this=0xb3fbd210, i=231) at /usr/include/qt3/qmemarray.h:100 No locals. #2 0xb673e26a in ?? () from /usr/lib/libqt-mt.so.3 No symbol table info available. #3 0xb3fbd210 in ?? () No symbol table info available. #4 0x000000e7 in ?? () No symbol table info available. #5 0xb3fbd178 in ?? () No symbol table info available. #6 0xb5e656a7 in operator new () from /usr/lib/libstdc++.so.6 No symbol table info available. #7 0xb673e382 in QString::QString () from /usr/lib/libqt-mt.so.3 No symbol table info available. #8 0xb6faab78 in SSDP::ProcessData (this=0x8162308, pSocket=0x8162940) at ssdp.cpp:270 buffer = lines = {> = {sh = 0x81674b8}, } sRequestLine = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x81621a8, static shared_null = 0x808f418} eType = SSDP_Unknown peerAddress = peerPort = 1900 headers = {sh = 0x8165398} nBytes = 282 nRead = 282 #9 0xb6fab387 in SSDP::run (this=0x8162308) at ssdp.cpp:242 nIdx = 1 nMaxSocket = 12 read_set = {fds_bits = {2048, 0 }} timeout = {tv_sec = 0, tv_usec = 904000} #10 0xb63ac069 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3 No symbol table info available. #11 0xb5ea546b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #12 0xb5d056de in clone () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. Thread 3 (Thread -1266947184 (LWP 14320)): #0 0xb6739c25 in ?? () from /usr/lib/libqt-mt.so.3 No symbol table info available. #1 0x08162e50 in ?? () No symbol table info available. #2 0x0815e2db in ?? () No symbol table info available. #3 0xb47be128 in ?? () No symbol table info available. #4 0xb67364c0 in QStringData::deleteSelf () from /usr/lib/libqt-mt.so.3 No symbol table info available. #5 0xb6739d91 in QString::arg () from /usr/lib/libqt-mt.so.3 No symbol table info available. #6 0xb6fb8466 in UPnpNotifyTask::SendNotifyMsg (this=0x8162be8, pSocket=0x81652d8, sNT=@0xb47be2f4, sUDN=@0xb47be2f0) at upnptasknotify.cpp:102 sHeader = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x81622c8, static shared_null = 0x808f418} sPacket = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x8161cd0, static shared_null = 0x808f418} scPacket = it = {node = 0x8162e48} sUSN = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x8162380, static shared_null = 0x808f418} sData = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x8165298, static shared_null = 0x808f418} #7 0xb6fb8bd7 in UPnpNotifyTask::Execute (this=0x8162be8, pQueue=0x81618a0) at upnptasknotify.cpp:140 pMulticast = (struct QSocketDevice *) 0x81652d8 device = (UPnpDevice &) @0xb7009804: {m_sDeviceType = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sFriendlyName = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sManufacturer = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sManufacturerURL = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sModelDescription = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sModelName = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sModelNumber = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x8094ef8, static shared_null = 0x808f418}, m_sModelURL = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sSerialNumber = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x8094f28, static shared_null = 0x808f418}, m_sUPC = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sPresentationURL = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sUDN = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x8161a10, static shared_null = 0x808f418}, m_lstExtra = {> = { = {<> = {}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, }, }, m_listIcons = { = {<> = {}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, }, m_listServices = { = {<> = {}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, }, m_listDevices = { = {<> = {}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, }} #8 0xb6faeba5 in TaskQueue::run (this=0x81618a0) at taskqueue.cpp:129 ttNow = {tv_sec = 1196458803, tv_usec = 893881} pTask = (Task *) 0x8162be8 #9 0xb63ac069 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3 No symbol table info available. #10 0xb5ea546b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #11 0xb5d056de in clone () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. Thread 2 (Thread -1258554480 (LWP 14319)): #0 0xffffe410 in __kernel_vsyscall () No symbol table info available. #1 0xb5ea98fc in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #2 0xb66fae08 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3 No symbol table info available. #3 0xb6fbc027 in CEvent::WaitForEvent (this=0x8161978, time=500) at threadpool.cpp:96 ret = false #4 0xb6fbc0f8 in WorkerThread::run (this=0x8161968) at threadpool.cpp:227 timer = {m_timer = {ds = 78003389}} #5 0xb63ac069 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3 No symbol table info available. #6 0xb5ea546b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #7 0xb5d056de in clone () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. Thread 1 (Thread -1256986912 (LWP 14316)): #0 0xffffe410 in __kernel_vsyscall () No symbol table info available. #1 0xb5cc4e96 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #2 0xb5cfeb3c in usleep () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #3 0xb6fb869c in UPnpNotifyTask::SendNotifyMsg (this=0x8162be8, pSocket=0xb3617970, sNT=@0xbf905f6c, sUDN=@0xbf905f68) at upnptasknotify.cpp:112 sHeader = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0xb3617b30, static shared_null = 0x808f418} sPacket = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0xb3601e30, static shared_null = 0x808f418} scPacket = it = {node = 0xb36023c0} sUSN = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0xb3600490, static shared_null = 0x808f418} sData = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0xb3602420, static shared_null = 0x808f418} #4 0xb6fb895f in UPnpNotifyTask::ProcessDevice (this=0x8162be8, pSocket=0xb3617970, pDevice=0xb7009804) at upnptasknotify.cpp:183 No locals. #5 0xb6fb8c1e in UPnpNotifyTask::Execute (this=0x8162be8, pQueue=0x0) at upnptasknotify.cpp:147 pMulticast = (struct QSocketDevice *) 0xb3617970 device = (UPnpDevice &) @0xb7009804: {m_sDeviceType = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sFriendlyName = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sManufacturer = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sManufacturerURL = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sModelDescription = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sModelName = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sModelNumber = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x8094ef8, static shared_null = 0x808f418}, m_sModelURL = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sSerialNumber = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x8094f28, static shared_null = 0x808f418}, m_sUPC = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sPresentationURL = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, m_sUDN = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x8161a10, static shared_null = 0x808f418}, m_lstExtra = {> = { = {<> = {}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, }, }, m_listIcons = { = {<> = {}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, }, m_listServices = { = {<> = {}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, }, m_listDevices = { = {<> = {}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, }} #6 0xb6fa8430 in SSDP::DisableNotifications (this=0x8162308) at ssdp.cpp:157 No locals. #7 0xb6fa67a2 in UPnp::CleanUp (this=0x8161f30) at upnp.cpp:166 No locals. #8 0xb6fa6c3b in ~UPnp (this=0x8161f30) at upnp.cpp:52 No locals. #9 0xb6d93ba6 in MythContextPrivate::DeleteUPnP (this=0x815f0a8) at mythcontext.cpp:1194 No locals. #10 0xb6db4f6b in MythContextPrivate::FindDatabase (this=0x815f0a8, prompt=false, noPrompt=false) at mythcontext.cpp:664 manualSelect = false autoSelect = true failure = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418} #11 0xb6db504c in MythContextPrivate::Init (this=0x815f0a8, gui=false, UPnPclient=0x0, promptForBackend=false, noPrompt=false) at mythcontext.cpp:538 No locals. #12 0xb6db5486 in MythContext::Init (this=0x815eea8, gui=false, UPnPclient=0x0, promptForBackend=false, disableAutoDiscovery=false) at mythcontext.cpp:1457 No locals. #13 0x08078879 in main (argc=Cannot access memory at address 0x0 ) at main.cpp:476 a = fill_data = {prog_data = {listing_wrap_offset = 0}, chan_data = {interactive = false, non_us_updating = false, channel_preset = false, channel_updates = false, remove_new_channels = false, filter_new_channels = true, cardtype = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}}, xmltv_parser = {isJapan = false}, icon_data = {}, ddprocessor = {listings_provider = 0, providers = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x815ed98, _M_finish = 0x815edb8, _M_end_of_storage = 0x815edb8}}, }, userid = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x815e7f8, static shared_null = 0x808f418}, password = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x815e7d0, static shared_null = 0x808f418}, tmpDir = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x815e870, static shared_null = 0x808f418}, cachedata = false, actuallistingsfrom = {d = {jd = 0}, t = {ds = 0}}, actuallistingsto = {d = {jd = 0}, t = {ds = 0}}, inputfilename = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x815e898, static shared_null = 0x808f418}, stations = {sh = 0x815e8b0}, lineups = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, }, lineupmaps = {sh = 0x815e9b8}, rawlineups = {sh = 0x815e9f0}, tmpPostFile = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, tmpResultFile = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, cookieFile = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, cookieFileDT = {d = {jd = 0}, t = {ds = 0}}}, logged_in = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x815ed80, static shared_null = 0x808f418}, lastdduserid = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418}, graboptions = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x815ede0, static shared_null = 0x808f418}, raw_lineup = 0, maxDays = 0, interrupted = false, endofdata = false, refresh_today = false, refresh_tomorrow = true, refresh_second = false, refresh_all = false, refresh_tba = true, dd_grab_all = false, dddataretrieved = false, need_post_grab_proc = true, only_update_channels = false, channel_update_run = false} argpos = 1 fromfile_id = 1 fromfile_offset = 0 fromfile_name = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418} from_xawfile = false fromxawfile_id = 1 fromxawfile_name = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418} from_file = false mark_repeats = true usingDataDirect = false usingDataDirectLabs = false grab_data = true export_iconmap = false import_iconmap = false reset_iconmap = false reset_iconmap_icons = false import_icon_data_filename = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x815ee18, static shared_null = 0x808f418} export_icon_data_filename = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x815ee50, static shared_null = 0x808f418} update_icon_data = false from_dd_file = false sourceid = -1 fromddfile_lineupid = {static null = {static null = , d = 0x808f418, static shared_null = 0x808f418}, d = 0x808f418, static shared_null = 0x808f418} #0 0xb6739c25 in ?? () from /usr/lib/libqt-mt.so.3 (gdb)