Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4724 closed defect (fixed)

Win32 crash on starting up frontend

Reported by: David Bussenschutt (aka buzz) <davidbuzz@…> Owned by: Isaac Richards
Priority: major Milestone: 0.22
Component: mythtv Version: head
Severity: high Keywords: WIn32
Cc: Ticket locked: no

Description

"StoreConnectionInfo?" seems to cause this issue. (at mythcontext.cpp:1316 ) . Rebuilding with the attached patch prevents the crash, and allows the frontend to run. it's not a perfect patch, because it might prevent the config.xml being written, but it's a start.

Backtrace:

Wed 20/02/2008 08:06 PM

Program received signal SIGSEGV, Segmentation fault. 0x01e7f114 in MythContextPrivate::StoreConnectionInfo? (this=0x1023d858) at mythcontext.cpp:1316 warning: Source file is more recent than executable. 1316 m_XML->SetValue?(kDefaultBE + "DBHostName", m_DBparams.dbHostName);

Thread 5 (thread 4488.0x1614): #0 0x7c90eb94 in ntdllLdrAccessResource () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #1 0x7c90e9c0 in ntdllZwWaitForSingleObject () 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 0x0000060c in ?? () No symbol table info available. #4 0x00000001 in ?? () No symbol table info available. #5 0x10cffca8 in ?? () No symbol table info available. #6 0x10cffd60 in ?? () No symbol table info available. #7 0x10cffe48 in ?? () No symbol table info available. #8 0x10cffd50 in ?? () No symbol table info available. #9 0x7c9106eb in ntdllRtlAppendStringToString () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #10 0x7c90d8ef in ntdllZwDeviceIoControlFile () 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 0x00264798 in ?? () No symbol table info available. #14 0x00000000 in ?? () No symbol table info available.

Thread 4 (thread 4488.0x1654): #0 0x7c90eb94 in ntdllLdrAccessResource () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #1 0x7c90d85c in ntdllZwDelayExecution () 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 4488.0x1480): #0 0x7c90eb94 in ntdllLdrAccessResource () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #1 0x7c90e9c0 in ntdllZwWaitForSingleObject () 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 0x00000640 in ?? () No symbol table info available. #4 0x00000000 in ?? () No symbol table info available.

Thread 2 (thread 4488.0xf6c): #0 0x7c90eb94 in ntdllLdrAccessResource () from C:\WINDOWS\system32\ntdll.dll No symbol table info available. #1 0x7c90e31b in ntdllZwRemoveIoCompletion () 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 0x00000674 in ?? () No symbol table info available. #4 0x106fffbc in ?? () No symbol table info available. #5 0x106fffb0 in ?? () No symbol table info available. #6 0x106fffa4 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 0x002658a8 in ?? () No symbol table info available. #11 0x00000000 in ?? () No symbol table info available.

Thread 1 (thread 4488.0x3b0): #0 0x01e7f114 in MythContextPrivate::StoreConnectionInfo? (this=0x1023d858) at mythcontext.cpp:1316 No locals. #1 0x01e74f86 in MythContextPrivate::FindDatabase? (this=0x1023d858, prompt=false, noPrompt=false) at mythcontext.cpp:667

prompt = false noPrompt = false manualSelect = false autoSelect = true failure = {static null = <optimized out>, d = 0x37440, static shared_null = <optimized out>}

#2 0x01e742f0 in MythContextPrivate::Init (this=0x1023d858, gui=true, UPnPclient=0x1023df80, promptForBackend=false, noPrompt=false) at mythcontext.cpp:541

gui = true promptForBackend = false noPrompt = false

#3 0x01e83a97 in MythContext::Init (this=0x1023bf00, gui=true, UPnPclient=0x1023df80, promptForBackend=false, disableAutoDiscovery=false) at mythcontext.cpp:1562

gui = true promptForBackend = false disableAutoDiscovery = false home = 0x32ed0 "C:
Documents and Settings
buzz
Application Data"

#4 0x0040e992 in _fu57gContext () at main.cpp:1162

bPromptForBackend = false bBypassAutoDiscovery = false upgradeAllowed = false geometry = {static null = <optimized out>, d = 0x37440, static shared_null = <optimized out>} display = {static null = <optimized out>, d = 0x37440, static shared_null = <optimized out>} a = <incomplete type> pluginname = {static null = <optimized out>, d = 0x1023bac0, static shared_null = <optimized out>} settingsOverride = {sh = 0x1023bb60} finfo = {fn = {static null = <optimized out>, d = 0x10238ed0, static shared_null = <optimized out>}, fic = 0x0, cache = true} binname = {static null = <optimized out>, d = 0x1023c050, static shared_null = <optimized out>} ResetSettings? = false fileprefix = {static null = <optimized out>, d = 0x2520da, static shared_null = <optimized out>} dir = <incomplete type> priv_thread = {p = 0x23febc, x = 2090264233} priv_thread_created = false status = 211632 themename = {static null = <optimized out>, d = 0x7c90ee18, static shared_null = <optimized out>} randomtheme = false themedir = {static null = <optimized out>, d = 0x30000, static shared_null = <optimized out>} mainWindow = (class MythMainWindow? *) 0xa pmanager = (MythPluginManager? *) 0x250000 mon = (class MediaMonitor? *) 0x0 networkControl = (class NetworkControl? *) 0x23fda8 exitstatus = 1652173515

Attachments (1)

win32_storeconnection.patch (419 bytes) - added by David Bussenschutt (aka buzz) <davidbuzz@…> 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by David Bussenschutt (aka buzz) <davidbuzz@…>

Attachment: win32_storeconnection.patch added

comment:1 Changed 11 years ago by Nigel

(In [17186]) Windows workaround. See #4724. The global UPnp::g_pConfig is somehow bad. Probably related to the awful library hacks that are needed due to cross-deps.

comment:2 Changed 11 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [17187]) Windows workaround. Closes #4724. The global UPnp::g_pConfig is somehow bad. Probably related to the awful library hacks that are needed due to cross-deps.

comment:3 Changed 11 years ago by Nigel

(In [17188]) Remove a source patch. Refs #4724

Note: See TracTickets for help on using tickets.