COMMENTS: -------------------------------------- COMMENTS: This script is used for gathering backtraces using gdb COMMENTS: See: http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2 COMMENTS: See: http://www.mythtv.org/wiki/index.php/Windows_Port COMMENTS: -------------------------------------- COMMENTS: -------------------------------------- COMMENTS: Clearing old gdb.txt before running gdb again. COMMENTS: -------------------------------------- COMMENTS: -------------------------------------- COMMENTS: If you need to add any switches to mythfrontend edit gdbcommands.txt COMMENTS: see: "mythfrontend.exe --help" for options COMMENTS: -------------------------------------- COMMENTS: -------------------------------------- COMMENTS: Starting: mythfrontend with gdb COMMENTS: -------------------------------------- GNU gdb 6.7.50.20071127 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... 2008-03-05 23:01:50.579 WSAStartup returned 0 2008-03-05 23:01:50.689 Using runtime prefix = C:/msys/1.0, libdir = C:\Documents and Settings\meshulam\Application Data\mythtv Prefixdir= C:/mythtv/build 2008-03-05 23:01:50.689 Using runtime prefix = C:/msys/1.0, libdir = C:\Documents and Settings\meshulam\Application Data\mythtv 2008-03-05 23:01:50.689 UPnp - Constructor 2008-03-05 23:01:50.689 MediaRenderer::Begin 2008-03-05 23:01:51.329 ThreadPool:AddWorkerThread - HTTP_WorkerThread 2008-03-05 23:01:51.376 HttpServer( 6547 ) - SharePath = C:/msys/1.0/share/mythtv/ 2008-03-05 23:01:51.376 GetIPAddressList() not implemented in MinGW 2008-03-05 23:01:51.376 UPnp::Initialize - Begin 2008-03-05 23:01:51.376 UPnp::Initialize - Starting TaskQueue 2008-03-05 23:01:51.376 UPnp::Initialize - Creating SSDP Thread at port 6547 2008-03-05 23:01:51.376 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP Error 2008-03-05 23:01:51.423 UPnp::Initialize - End 2008-03-05 23:01:51.423 MediaRenderer::Creating UPnp Description 2008-03-05 23:01:51.423 MediaRenderer::Registering CMGR Service. 2008-03-05 23:01:51.470 UPnp::Start - Starting SSDP Thread (Multicast) 2008-03-05 23:01:51.470 UPnp::Start - Enabling Notifications 2008-03-05 23:01:51.470 SSDP::EnableNotifications() - creating new task 2008-03-05 23:01:51.470 SSDP::EnableNotifications() - sending NTS_byebye 2008-03-05 23:01:51.486 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP Error 2008-03-05 23:01:51.486 LookupUDN(urn:schemas-upnp-org:device:MediaRenderer:1) sName=UPnP/UDN/MediaRenderer, sUDN=6f0584ea-50af-4f8f-80b0-3089684f9250 2008-03-05 23:01:51.486 SSDP::EnableNotifications() - sending NTS_alive 2008-03-05 23:01:51.486 SSDP::EnableNotifications() - Task added to UPnP queue 2008-03-05 23:01:51.486 UPnp::Start - Returning 2008-03-05 23:01:51.486 MediaRenderer::End 2008-03-05 23:01:51.579 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP Error 2008-03-05 23:01:51.611 Unable to read configuration file mysql.txt 2008-03-05 23:01:52.251 Empty LocalHostName. 2008-03-05 23:01:52.251 Using localhost value of meshulam-MOBL2 2008-03-05 23:01:52.251 MCP::DefaultUPnP() - No default UPnP backend 2008-03-05 23:01:53.579 New DB connection, total: 1 2008-03-05 23:01:56.314 Unable to connect to database! 2008-03-05 23:01:56.314 Driver error was [1/2003]: QMYSQL3: Unable to connect Database error was: Can't connect to MySQL server on 'localhost' (10061) 2008-03-05 23:01:58.923 DB Error (KickDatabase): Query was: SELECT NULL; No error type from QSqlError? Strange... Program received signal SIGSEGV, Segmentation fault. 0x09411642 in SSDP::PerformSearch (this=0xacf425ff, sST=@0x210016c) at ssdp.cpp:150 150 QSocketDevice *pSocket = m_Sockets[ SocketIdx_Search ]; Thread 5 (thread 13504.0x354c): #0 0x7c90eb94 in ntdll!LdrAccessResource () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #1 0x7c90e9c0 in ntdll!ZwWaitForSingleObject () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #2 0x71a53ca5 in ?? () from C:\WINDOWS\system32\mswsock.dll No symbol table info available. #3 0x000005e4 in ?? () No symbol table info available. #4 0x00000001 in ?? () No symbol table info available. #5 0x1564fca8 in ?? () No symbol table info available. #6 0x1564fd60 in ?? () No symbol table info available. #7 0x1564fe48 in ?? () No symbol table info available. #8 0x1564fd50 in ?? () No symbol table info available. #9 0xe9dcf70e in ?? () No symbol table info available. #10 0x7c90d8ef in ntdll!ZwDeviceIoControlFile () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #11 0xffb3b4c0 in ?? () No symbol table info available. #12 0xffffffff in ?? () No symbol table info available. #13 0x00272d48 in ?? () No symbol table info available. #14 0x00000000 in ?? () No symbol table info available. Thread 4 (thread 13504.0x377c): #0 0x7c90eb94 in ntdll!LdrAccessResource () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #1 0x7c90d85c in ntdll!ZwDelayExecution () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #2 0x7c8023ed in SleepEx () from C:\WINDOWS\system32\kernel32.dll No symbol table info available. #3 0x00000000 in ?? () No symbol table info available. Thread 3 (thread 13504.0x30b4): #0 0x7c90eb94 in ntdll!LdrAccessResource () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #1 0x7c90e9c0 in ntdll!ZwWaitForSingleObject () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #2 0x7c8025cb in WaitForSingleObjectEx () from C:\WINDOWS\system32\kernel32.dll No symbol table info available. #3 0x00000624 in ?? () No symbol table info available. #4 0x00000000 in ?? () No symbol table info available. Thread 2 (thread 13504.0x34cc): #0 0x7c90eb94 in ntdll!LdrAccessResource () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #1 0x7c90e31b in ntdll!ZwRemoveIoCompletion () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #2 0x71a5d609 in WSPStartup () from C:\WINDOWS\system32\mswsock.dll No symbol table info available. #3 0x00000658 in ?? () No symbol table info available. #4 0x1504ffbc in ?? () No symbol table info available. #5 0x1504ffb0 in ?? () No symbol table info available. #6 0x1504ffa4 in ?? () No symbol table info available. #7 0x71a5d650 in WSPStartup () from C:\WINDOWS\system32\mswsock.dll No symbol table info available. #8 0x0023f2b8 in ?? () No symbol table info available. #9 0x7c90ee18 in strchr () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #10 0x00271768 in ?? () No symbol table info available. #11 0x00000000 in ?? () No symbol table info available. Thread 1 (thread 13504.0x3184): #0 0x09411642 in SSDP::PerformSearch (this=0xacf425ff, sST=@0x210016c) at ssdp.cpp:150 sRequest = pSocket = (struct QSocketDevice *) 0x6cfd4d7e address = nSize = 2356568 #1 0x0205144f in UPnp::PerformSearch (sST=@0x210016c) at ../libmythupnp/upnp.h:129 No locals. #2 0x01e905ad in MythContextPrivate::UPnPautoconf (this=0x1479b190, milliSeconds=2000) at mythcontext.cpp:1360 backends = (class SSDPCacheEntries *) 0x0 count = 2356968 LOC = {static null = , d = 0x147a3088, static shared_null = } timer = {ds = 0} BE = (class DeviceLocation *) 0x4f123fb #3 0x01e8554d in MythContextPrivate::FindDatabase (this=0x1479b190, prompt=false, noPrompt=false) at mythcontext.cpp:628 count = 32599667 prompt = false noPrompt = false manualSelect = false autoSelect = true failure = {static null = , d = 0x147a0730, static shared_null = } #4 0x01e851f4 in MythContextPrivate::Init (this=0x1479b190, gui=true, UPnPclient=0x1479c9c8, promptForBackend=false, noPrompt=false) at mythcontext.cpp:565 gui = true promptForBackend = false noPrompt = false #5 0x01e949eb in MythContext::Init (this=0x14798708, gui=true, UPnPclient=0x1479c9c8, promptForBackend=false, disableAutoDiscovery=false) at mythcontext.cpp:1583 gui = true promptForBackend = false disableAutoDiscovery = false home = 0x33488 "C:\\Documents and Settings\\meshulam\\Application Data" #6 0x0040e9d6 in _fu57__gContext () at main.cpp:1165 bPromptForBackend = false bBypassAutoDiscovery = false upgradeAllowed = false geometry = {static null = , d = 0x37aa8, static shared_null = } display = {static null = , d = 0x37aa8, static shared_null = } a = pluginname = {static null = , d = 0x14798270, static shared_null = } settingsOverride = {sh = 0x14798320} finfo = {fn = {static null = , d = 0x14798920, static shared_null = }, fic = 0x0, cache = true} binname = {static null = , d = 0x147988e0, static shared_null = } ResetSettings = false fileprefix = {static null = , d = 0x2520c8, static shared_null = } dir = priv_thread = {p = 0x23febc, x = 2090264233} priv_thread_created = false status = 214712 themename = {static null = , d = 0x7c90ee18, static shared_null = } randomtheme = false themedir = {static null = , d = 0x30000, static shared_null = } mainWindow = (class MythMainWindow *) 0xa pmanager = (MythPluginManager *) 0x250000 mon = (class MediaMonitor *) 0x0 networkControl = (class NetworkControl *) 0x23fda8 exitstatus = 1829382859 (gdb) (gdb) y (gdb) quit The program is running. Exit anyway? (y or n) Please answer y or n. The program is running. Exit anyway? (y or n) EOF [assumed Y] Terminate batch job (Y/N)? The backtrace can be found in .\gdb.txt Press any key to continue . . .