Bug 39886

Summary: debug-safari no longer works
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   

Description Brent Fulgham 2010-05-28 10:52:58 PDT
If you follow the instructions on http://webkit.org/building/debug.html to debug the Windows build, you get an error.

Unhandled exception at 0x718a1223 in Safari.exe: 0xC0000005: Access violation reading location 0x00000018.

Stack trace:
>	CoreFoundation.dll!718a1223() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for CoreFoundation.dll]	
 	CoreFoundation.dll!718a3293() 	
 	SafariTheme.dll!CUISharedArtReader::Setup()  + 0x65 bytes	
 	SafariTheme.dll!CUISharedArtReader::GetImageType()  + 0x13 bytes	
 	SafariTheme.dll!CUIRenderer::DrawIcon()  + 0x75 bytes	
 	SafariTheme.dll!CUIRenderer::DrawIcon()  + 0x7e4 bytes	
 	SafariTheme.dll!CUIRenderer::DrawImage()  + 0x909 bytes	
 	SafariTheme.dll!CUIRenderer::CopyImageMeasurements()  + 0xf8 bytes	
 	SafariTheme.dll!CUIRenderer::CopyMeasurements()  + 0xb5 bytes	
 	SafariTheme.dll!_CUICopyMeasurements()  + 0x43 bytes	
 	SafariTheme.dll!SafariTheme::PaintFunctions::getPartDimensions()  + 0xa1 bytes	
 	SafariTheme.dll!_STGetPartDimensions@16()  + 0x1d bytes	
 	Safari.dll!DrawingUtilities::drawToggleBookmarksIcon()  + 0x34 bytes	
 	Safari.dll!BookmarkButton::paint()  + 0xff bytes	
 	Safari.dll!Element::paintThis()  + 0x113 bytes	
 	Safari.dll!Element::paintThis()  + 0x141 bytes	
 	Safari.dll!Element::paintThis()  + 0x141 bytes	
 	Safari.dll!RootElement::compose()  + 0xde bytes	
 	Safari.dll!RootElement::wndProc()  + 0x920 bytes	
 	Safari.dll!BookmarkBar::wndProc()  + 0xd2 bytes	
 	Safari.dll!RootElement::s_WndProc()  + 0xa9 bytes	
 	user32.dll!_InternalCallWinProc@20()  + 0x23 bytes	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7 bytes	
 	user32.dll!_CallWindowProcAorW@24()  + 0x5e bytes	
 	user32.dll!_CallWindowProcW@20()  + 0x1b bytes	
 	comctl32.dll!_CallOriginalWndProc@24()  + 0x1a bytes	
 	comctl32.dll!_CallNextSubclassProc@20()  + 0x3d bytes	
 	comctl32.dll!_DefSubclassProc@16()  + 0x46 bytes	
 	comctl32.dll!TTSubclassProc()  + 0x3c bytes	
 	comctl32.dll!_CallNextSubclassProc@20()  + 0x3d bytes	
 	comctl32.dll!_MasterSubclassProc@16()  + 0x44 bytes	
 	user32.dll!_InternalCallWinProc@20()  + 0x23 bytes	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7 bytes	
 	user32.dll!_DispatchMessageWorker@8()  + 0xed bytes	
 	user32.dll!_DispatchMessageW@4()  + 0xf bytes	
 	Safari.dll!ATL::CWindow::ClientToScreen()  + 0x275 bytes	
 	Safari.dll!run()  + 0xfb bytes	
 	Safari.dll!safariMain()  + 0x596 bytes	
 	Safari.dll!_safariDLLMain@16()  + 0x38 bytes	
 	Safari.exe!01231457() 	
 	ntdll.dll!@RtlpFreeHeap@16()  + 0x5766b bytes	
 	msvcr80.dll!_free()  + 0xcd bytes	
 	msvcr80.dll!__wsetenvp()  + 0xaa bytes	
 	msvcr80.dll!___wgetmainargs()  + 0x54 bytes	
 	Safari.exe!012314b6() 	
 	Safari.exe!0123161b() 	
 	kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes	
 	ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes	
 	ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes	


Running the 'WinLauncher' executable works properly.  Running Safari using the "run-safari --debug" works properly.
Comment 1 Brent Fulgham 2013-06-13 10:50:02 PDT
WinLauncher is the correct tool to use for testing WebKit under Windows.