Bug 50774 - Web Inspector: Crash in WebInspectorFrontendClient::destroyInspectorView when closing a tab on Windows
Summary: Web Inspector: Crash in WebInspectorFrontendClient::destroyInspectorView when...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, PlatformOnly
Depends on:
Blocks:
 
Reported: 2010-12-09 11:51 PST by Adam Roben (:aroben)
Modified: 2014-12-12 14:09 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2010-12-09 11:51:39 PST
To reproduce:

1. Go to http://webkit.org/
2. Open the Inspector
3. Press Ctrl+W to close the current tab

You'll crash. Here's the crashing line:

        m_inspectedWebView->page()->inspectorController()->disconnectFrontend();

page() is returning null.

Here's the backtrace:


>	WebKit.dll!WebInspectorFrontendClient::destroyInspectorView(bool notifyInspectorController=true)  Line 413 + 0x6 bytes	C++
 	WebKit.dll!WebInspectorFrontendClient::~WebInspectorFrontendClient()  Line 230	C++
 	WebKit.dll!WebInspectorFrontendClient::`scalar deleting destructor'()  + 0xa bytes	C++
 	WebKit.dll!WebCore::InspectorController::~InspectorController()  Line 175 + 0x315 bytes	C++
 	WebKit.dll!WebCore::Page::~Page()  Line 228 + 0x1ec bytes	C++
 	WebKit.dll!WebView::close()  Line 696 + 0xd bytes	C++
 	WebKit.dll!WebView::WebViewWndProc(HWND__ * hWnd=0x002d0758, unsigned int message=2, unsigned int wParam=0, long lParam=0)  Line 2052	C++
 	user32.dll!_InternalCallWinProc@20()  + 0x28 bytes	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7 bytes	
 	user32.dll!_CallWindowProcAorW@24()  + 0x51 bytes	
 	user32.dll!_CallWindowProcW@20()  + 0x1b bytes	
 	comctl32.dll!_CallOriginalWndProc@24()  + 0x1a bytes	
 	comctl32.dll!_CallNextSubclassProc@20()  + 0x3c bytes	
 	comctl32.dll!_DefSubclassProc@16()  + 0x46 bytes	
 	comctl32.dll!TTSubclassProc()  + 0x59 bytes	
 	comctl32.dll!_CallNextSubclassProc@20()  + 0x3c bytes	
 	comctl32.dll!_MasterSubclassProc@16()  + 0x54 bytes	
 	user32.dll!_InternalCallWinProc@20()  + 0x28 bytes	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7 bytes	
 	user32.dll!_DispatchClientMessage@20()  + 0x4d bytes	
 	user32.dll!___fnDWORD@4()  + 0x24 bytes	
 	ntdll.dll!_KiUserCallbackDispatcher@12()  + 0x13 bytes	
 	user32.dll!_NtUserDestroyWindow@4()  + 0xc bytes	
 	00030366()
Comment 1 Adam Roben (:aroben) 2010-12-09 11:52:31 PST
<rdar://problem/8750662>
Comment 2 Brian Burg 2014-12-12 14:09:27 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.