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()
<rdar://problem/8750662>
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.