RESOLVED WORKSFORME Bug 87168
[WK2] fast/forms/input-search-press-escape-key.html crashes
https://bugs.webkit.org/show_bug.cgi?id=87168
Summary [WK2] fast/forms/input-search-press-escape-key.html crashes
Jessie Berlin
Reported 2012-05-22 14:26:36 PDT
This test was Skipped on WK2 due to WTR not having an eventSender.keyDown implementation. Unfortunately, the fix for https://bugs.webkit.org/show_bug.cgi?id=57515 missed an block in the Skipped list that should have been removed, so it has not been running. When cleaning up the WK2 Skipped list, I noticed that this test crashes when run under WK2: Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff6e4c0ff8 VM Regions Near 0x7fff6e4c0ff8: MALLOC_SMALL 00007fe617800000-00007fe618800000 [ 16.0M] rw-/rwx SM=PRV --> STACK GUARD 00007fff6acc1000-00007fff6e4c1000 [ 56.0M] ---/rwx SM=NUL stack guard for thread 0 Stack 00007fff6e4c1000-00007fff6ecc1000 [ 8192K] rw-/rwx SM=COW thread 0 Application Specific Information: objc[53753]: garbage collection is OFF Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_c.dylib 0x00007fff95284303 tiny_malloc_from_free_list + 8 1 libsystem_c.dylib 0x00007fff9528500e szone_malloc_should_clear + 1115 2 libsystem_c.dylib 0x00007fff952ba3c8 malloc_zone_malloc + 77 3 libsystem_c.dylib 0x00007fff952bb1a4 malloc + 44 4 com.apple.JavaScriptCore 0x000000011045012a WTF::fastMalloc(unsigned long) + 106 5 com.apple.WebKit2 0x000000010f106a0b CoreIPC::ArgumentEncoder::create(unsigned long long) + 43 (ArgumentEncoder.cpp:37) 6 com.apple.WebKit2 0x000000010f128583 CoreIPC::Connection::createSyncMessageArgumentEncoder(unsigned long long, unsigned long long&) + 67 (Connection.cpp:296) 7 com.apple.WebKit2 0x000000010f34e684 bool CoreIPC::Connection::sendSync<Messages::WebPageProxy::InterpretQueuedKeyEvent>(Messages::WebPageProxy::InterpretQueuedKeyEvent const&, Messages::WebPageProxy::InterpretQueuedKeyEvent::Reply const&, unsigned long long, double, unsigned int) + 116 (Connection.h:380) 8 com.apple.WebKit2 0x000000010f347fc3 WebKit::WebPage::handleEditingKeyboardEvent(WebCore::KeyboardEvent*, bool) + 659 (WebPageMac.mm:197) 9 com.apple.WebKit2 0x000000010f2cc966 WebKit::WebEditorClient::handleInputMethodKeydown(WebCore::KeyboardEvent*) + 38 (WebEditorClientMac.mm:70) 10 com.apple.WebCore 0x00000001112832a2 WebCore::Editor::handleInputMethodKeydown(WebCore::KeyboardEvent*) + 66 (Editor.cpp:157) 11 com.apple.WebCore 0x00000001112de757 WebCore::EventHandler::keyEvent(WebCore::PlatformKeyboardEvent const&) + 1319 (EventHandler.cpp:2827) 12 com.apple.WebKit2 0x000000010f327367 _ZN6WebKitL14handleKeyEventERKNS_16WebKeyboardEventEPN7WebCore4PageE + 295 (WebPage.cpp:1412) 13 com.apple.WebKit2 0x000000010f3273f2 WebKit::WebPage::keyEventSyncForTesting(WebKit::WebKeyboardEvent const&, bool&) + 82 (WebPage.cpp:1431) 14 com.apple.WebKit2 0x000000010f35aa4f void CoreIPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&), WebKit::WebKeyboardEvent, bool>(CoreIPC::Arguments1<WebKit::WebKeyboardEvent> const&, CoreIPC::Arguments1<bool>&, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)) + 143 (HandleMessage.h:100) 15 com.apple.WebKit2 0x000000010f357c29 void CoreIPC::handleMessage<Messages::WebPage::KeyEventSyncForTesting, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)>(CoreIPC::ArgumentDecoder*, CoreIPC::ArgumentEncoder*, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)) + 185 (HandleMessage.h:314) 16 com.apple.WebKit2 0x000000010f353cdf WebKit::WebPage::didReceiveSyncWebPageMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 255 (WebPageMessageReceiver.cpp:517) 17 com.apple.WebKit2 0x000000010f32ae99 WebKit::WebPage::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 57 (WebPage.cpp:2590) 18 com.apple.WebKit2 0x000000010f3e7f68 WebKit::WebProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 136 (WebProcess.cpp:600) 19 com.apple.WebKit2 0x000000010f28408d WebKit::WebConnectionToUIProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 93 (WebConnectionToUIProcess.cpp:93) 20 com.apple.WebKit2 0x000000010f2840e5 non-virtual thunk to WebKit::WebConnectionToUIProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 69 21 com.apple.WebKit2 0x000000010f12a3c1 CoreIPC::Connection::dispatchSyncMessage(CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 289 (Connection.cpp:649) 22 com.apple.WebKit2 0x000000010f127998 CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message<CoreIPC::ArgumentDecoder>&) + 328 (Connection.cpp:689) 23 com.apple.WebKit2 0x000000010f127825 CoreIPC::Connection::SyncMessageState::dispatchMessages() + 277 (Connection.cpp:166) 24 com.apple.WebKit2 0x000000010f1295b0 CoreIPC::Connection::waitForSyncReply(unsigned long long, double, unsigned int) + 240 (Connection.cpp:445) 25 com.apple.WebKit2 0x000000010f129329 CoreIPC::Connection::sendSyncMessage(CoreIPC::MessageID, unsigned long long, WTF::PassOwnPtr<CoreIPC::ArgumentEncoder>, double, unsigned int) + 777 (Connection.cpp:413) 26 com.apple.WebKit2 0x000000010f34e3c5 bool CoreIPC::Connection::sendSync<Messages::WebPageProxy::ExecuteSavedCommandBySelector>(Messages::WebPageProxy::ExecuteSavedCommandBySelector const&, Messages::WebPageProxy::ExecuteSavedCommandBySelector::Reply const&, unsigned long long, double, unsigned int) + 277 (Connection.h:386) 27 com.apple.WebKit2 0x000000010f3475c1 WebKit::WebPage::executeKeypressCommandsInternal(WTF::Vector<WebCore::KeypressCommand, 0ul> const&, WebCore::KeyboardEvent*) + 1105 (WebPageMac.mm:169) 28 com.apple.WebKit2 0x000000010f3481af WebKit::WebPage::handleEditingKeyboardEvent(WebCore::KeyboardEvent*, bool) + 1151 (WebPageMac.mm:221) 29 com.apple.WebKit2 0x000000010f2cc916 WebKit::WebEditorClient::handleKeyboardEvent(WebCore::KeyboardEvent*) + 38 (WebEditorClientMac.mm:64) 30 com.apple.WebCore 0x0000000111283252 WebCore::Editor::handleKeyboardEvent(WebCore::KeyboardEvent*) + 66 (Editor.cpp:151) 31 com.apple.WebCore 0x00000001112def11 WebCore::EventHandler::defaultKeyboardEventHandler(WebCore::KeyboardEvent*) + 97 (EventHandler.cpp:2933) 32 com.apple.WebCore 0x0000000111e28350 WebCore::Node::defaultEventHandler(WebCore::Event*) + 240 (Node.cpp:2832) 33 com.apple.WebCore 0x000000011156993a WebCore::HTMLTextFormControlElement::defaultEventHandler(WebCore::Event*) + 186 (HTMLTextFormControlElement.cpp:108) 34 com.apple.WebCore 0x00000001114fcbe6 WebCore::HTMLInputElement::defaultEventHandler(WebCore::Event*) + 518 (HTMLInputElement.cpp:1049) 35 com.apple.WebCore 0x00000001112c7299 WebCore::EventDispatcher::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 2521 (EventDispatcher.cpp:314) 36 com.apple.WebCore 0x00000001112cd64c WebCore::EventDispatchMediator::dispatchEvent(WebCore::EventDispatcher*) const + 76 (EventDispatchMediator.cpp:51) 37 com.apple.WebCore 0x00000001112c61ba WebCore::EventDispatcher::dispatchEvent(WebCore::Node*, WTF::PassRefPtr<WebCore::EventDispatchMediator>) + 154 (EventDispatcher.cpp:116) 38 com.apple.WebCore 0x0000000111e27166 WebCore::Node::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 70 (Node.cpp:2712) 39 com.apple.WebCore 0x00000001112f77c9 WebCore::EventTarget::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&) + 233 (EventTarget.cpp:169) 40 com.apple.WebCore 0x00000001112de8e9 WebCore::EventHandler::keyEvent(WebCore::PlatformKeyboardEvent const&) + 1721 (EventHandler.cpp:2836) 41 com.apple.WebKit2 0x000000010f327367 _ZN6WebKitL14handleKeyEventERKNS_16WebKeyboardEventEPN7WebCore4PageE + 295 (WebPage.cpp:1412) 42 com.apple.WebKit2 0x000000010f3273f2 WebKit::WebPage::keyEventSyncForTesting(WebKit::WebKeyboardEvent const&, bool&) + 82 (WebPage.cpp:1431) 43 com.apple.WebKit2 0x000000010f35aa4f void CoreIPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&), WebKit::WebKeyboardEvent, bool>(CoreIPC::Arguments1<WebKit::WebKeyboardEvent> const&, CoreIPC::Arguments1<bool>&, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)) + 143 (HandleMessage.h:100) 44 com.apple.WebKit2 0x000000010f357c29 void CoreIPC::handleMessage<Messages::WebPage::KeyEventSyncForTesting, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)>(CoreIPC::ArgumentDecoder*, CoreIPC::ArgumentEncoder*, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)) + 185 (HandleMessage.h:314) 45 com.apple.WebKit2 0x000000010f353cdf WebKit::WebPage::didReceiveSyncWebPageMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 255 (WebPageMessageReceiver.cpp:517) 46 com.apple.WebKit2 0x000000010f32ae99 WebKit::WebPage::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 57 (WebPage.cpp:2590) 47 com.apple.WebKit2 0x000000010f3e7f68 WebKit::WebProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 136 (WebProcess.cpp:600) 48 com.apple.WebKit2 0x000000010f28408d WebKit::WebConnectionToUIProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 93 (WebConnectionToUIProcess.cpp:93) 49 com.apple.WebKit2 0x000000010f2840e5 non-virtual thunk to WebKit::WebConnectionToUIProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 69 50 com.apple.WebKit2 0x000000010f12a3c1 CoreIPC::Connection::dispatchSyncMessage(CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 289 (Connection.cpp:649) 51 com.apple.WebKit2 0x000000010f127998 CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message<CoreIPC::ArgumentDecoder>&) + 328 (Connection.cpp:689) 52 com.apple.WebKit2 0x000000010f127825 CoreIPC::Connection::SyncMessageState::dispatchMessages() + 277 (Connection.cpp:166) 53 com.apple.WebKit2 0x000000010f1295b0 CoreIPC::Connection::waitForSyncReply(unsigned long long, double, unsigned int) + 240 (Connection.cpp:445) 54 com.apple.WebKit2 0x000000010f129329 CoreIPC::Connection::sendSyncMessage(CoreIPC::MessageID, unsigned long long, WTF::PassOwnPtr<CoreIPC::ArgumentEncoder>, double, unsigned int) + 777 (Connection.cpp:413) 55 com.apple.WebKit2 0x000000010f34e3c5 bool CoreIPC::Connection::sendSync<Messages::WebPageProxy::ExecuteSavedCommandBySelector>(Messages::WebPageProxy::ExecuteSavedCommandBySelector const&, Messages::WebPageProxy::ExecuteSavedCommandBySelector::Reply const&, unsigned long long, double, unsigned int) + 277 (Connection.h:386) 56 com.apple.WebKit2 0x000000010f3475c1 WebKit::WebPage::executeKeypressCommandsInternal(WTF::Vector<WebCore::KeypressCommand, 0ul> const&, WebCore::KeyboardEvent*) + 1105 (WebPageMac.mm:169) 57 com.apple.WebKit2 0x000000010f3481af WebKit::WebPage::handleEditingKeyboardEvent(WebCore::KeyboardEvent*, bool) + 1151 (WebPageMac.mm:221) 58 com.apple.WebKit2 0x000000010f2cc916 WebKit::WebEditorClient::handleKeyboardEvent(WebCore::KeyboardEvent*) + 38 (WebEditorClientMac.mm:64) 59 com.apple.WebCore 0x0000000111283252 WebCore::Editor::handleKeyboardEvent(WebCore::KeyboardEvent*) + 66 (Editor.cpp:151) 60 com.apple.WebCore 0x00000001112def11 WebCore::EventHandler::defaultKeyboardEventHandler(WebCore::KeyboardEvent*) + 97 (EventHandler.cpp:2933) 61 com.apple.WebCore 0x0000000111e28350 WebCore::Node::defaultEventHandler(WebCore::Event*) + 240 (Node.cpp:2832) 62 com.apple.WebCore 0x000000011156993a WebCore::HTMLTextFormControlElement::defaultEventHandler(WebCore::Event*) + 186 (HTMLTextFormControlElement.cpp:108) 63 com.apple.WebCore 0x00000001114fcbe6 WebCore::HTMLInputElement::defaultEventHandler(WebCore::Event*) + 518 (HTMLInputElement.cpp:1049) 64 com.apple.WebCore 0x00000001112c7299 WebCore::EventDispatcher::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 2521 (EventDispatcher.cpp:314) 65 com.apple.WebCore 0x00000001112cd64c WebCore::EventDispatchMediator::dispatchEvent(WebCore::EventDispatcher*) const + 76 (EventDispatchMediator.cpp:51) 66 com.apple.WebCore 0x00000001112c61ba WebCore::EventDispatcher::dispatchEvent(WebCore::Node*, WTF::PassRefPtr<WebCore::EventDispatchMediator>) + 154 (EventDispatcher.cpp:116) 67 com.apple.WebCore 0x0000000111e27166 WebCore::Node::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 70 (Node.cpp:2712) 68 com.apple.WebCore 0x00000001112f77c9 WebCore::EventTarget::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&) + 233 (EventTarget.cpp:169) 69 com.apple.WebCore 0x00000001112de8e9 WebCore::EventHandler::keyEvent(WebCore::PlatformKeyboardEvent const&) + 1721 (EventHandler.cpp:2836) 70 com.apple.WebKit2 0x000000010f327367 _ZN6WebKitL14handleKeyEventERKNS_16WebKeyboardEventEPN7WebCore4PageE + 295 (WebPage.cpp:1412) 71 com.apple.WebKit2 0x000000010f3273f2 WebKit::WebPage::keyEventSyncForTesting(WebKit::WebKeyboardEvent const&, bool&) + 82 (WebPage.cpp:1431) 72 com.apple.WebKit2 0x000000010f35aa4f void CoreIPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&), WebKit::WebKeyboardEvent, bool>(CoreIPC::Arguments1<WebKit::WebKeyboardEvent> const&, CoreIPC::Arguments1<bool>&, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)) + 143 (HandleMessage.h:100) 73 com.apple.WebKit2 0x000000010f357c29 void CoreIPC::handleMessage<Messages::WebPage::KeyEventSyncForTesting, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)>(CoreIPC::ArgumentDecoder*, CoreIPC::ArgumentEncoder*, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)) + 185 (HandleMessage.h:314) 74 com.apple.WebKit2 0x000000010f353cdf WebKit::WebPage::didReceiveSyncWebPageMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 255 (WebPageMessageReceiver.cpp:517) 75 com.apple.WebKit2 0x000000010f32ae99 WebKit::WebPage::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 57 (WebPage.cpp:2590) 76 com.apple.WebKit2 0x000000010f3e7f68 WebKit::WebProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 136 (WebProcess.cpp:600) 77 com.apple.WebKit2 0x000000010f28408d WebKit::WebConnectionToUIProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 93 (WebConnectionToUIProcess.cpp:93) 78 com.apple.WebKit2 0x000000010f2840e5 non-virtual thunk to WebKit::WebConnectionToUIProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 69 79 com.apple.WebKit2 0x000000010f12a3c1 CoreIPC::Connection::dispatchSyncMessage(CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 289 (Connection.cpp:649) 80 com.apple.WebKit2 0x000000010f127998 CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message<CoreIPC::ArgumentDecoder>&) + 328 (Connection.cpp:689) 81 com.apple.WebKit2 0x000000010f127825 CoreIPC::Connection::SyncMessageState::dispatchMessages() + 277 (Connection.cpp:166) 82 com.apple.WebKit2 0x000000010f1295b0 CoreIPC::Connection::waitForSyncReply(unsigned long long, double, unsigned int) + 240 (Connection.cpp:445) 83 com.apple.WebKit2 0x000000010f129329 CoreIPC::Connection::sendSyncMessage(CoreIPC::MessageID, unsigned long long, WTF::PassOwnPtr<CoreIPC::ArgumentEncoder>, double, unsigned int) + 777 (Connection.cpp:413) 84 com.apple.WebKit2 0x000000010f34e3c5 bool CoreIPC::Connection::sendSync<Messages::WebPageProxy::ExecuteSavedCommandBySelector>(Messages::WebPageProxy::ExecuteSavedCommandBySelector const&, Messages::WebPageProxy::ExecuteSavedCommandBySelector::Reply const&, unsigned long long, double, unsigned int) + 277 (Connection.h:386) 85 com.apple.WebKit2 0x000000010f3475c1 WebKit::WebPage::executeKeypressCommandsInternal(WTF::Vector<WebCore::KeypressCommand, 0ul> const&, WebCore::KeyboardEvent*) + 1105 (WebPageMac.mm:169) 86 com.apple.WebKit2 0x000000010f3481af WebKit::WebPage::handleEditingKeyboardEvent(WebCore::KeyboardEvent*, bool) + 1151 (WebPageMac.mm:221) 87 com.apple.WebKit2 0x000000010f2cc916 WebKit::WebEditorClient::handleKeyboardEvent(WebCore::KeyboardEvent*) + 38 (WebEditorClientMac.mm:64) 88 com.apple.WebCore 0x0000000111283252 WebCore::Editor::handleKeyboardEvent(WebCore::KeyboardEvent*) + 66 (Editor.cpp:151) 89 com.apple.WebCore 0x00000001112def11 WebCore::EventHandler::defaultKeyboardEventHandler(WebCore::KeyboardEvent*) + 97 (EventHandler.cpp:2933) 90 com.apple.WebCore 0x0000000111e28350 WebCore::Node::defaultEventHandler(WebCore::Event*) + 240 (Node.cpp:2832) 91 com.apple.WebCore 0x000000011156993a WebCore::HTMLTextFormControlElement::defaultEventHandler(WebCore::Event*) + 186 (HTMLTextFormControlElement.cpp:108) 92 com.apple.WebCore 0x00000001114fcbe6 WebCore::HTMLInputElement::defaultEventHandler(WebCore::Event*) + 518 (HTMLInputElement.cpp:1049) 93 com.apple.WebCore 0x00000001112c7299 WebCore::EventDispatcher::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 2521 (EventDispatcher.cpp:314) 94 com.apple.WebCore 0x00000001112cd64c WebCore::EventDispatchMediator::dispatchEvent(WebCore::EventDispatcher*) const + 76 (EventDispatchMediator.cpp:51) 95 com.apple.WebCore 0x00000001112c61ba WebCore::EventDispatcher::dispatchEvent(WebCore::Node*, WTF::PassRefPtr<WebCore::EventDispatchMediator>) + 154 (EventDispatcher.cpp:116) 96 com.apple.WebCore 0x0000000111e27166 WebCore::Node::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 70 (Node.cpp:2712) 97 com.apple.WebCore 0x00000001112f77c9 WebCore::EventTarget::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&) + 233 (EventTarget.cpp:169) 98 com.apple.WebCore 0x00000001112de8e9 WebCore::EventHandler::keyEvent(WebCore::PlatformKeyboardEvent const&) + 1721 (EventHandler.cpp:2836) 99 com.apple.WebKit2 0x000000010f327367 _ZN6WebKitL14handleKeyEventERKNS_16WebKeyboardEventEPN7WebCore4PageE + 295 (WebPage.cpp:1412) 100 com.apple.WebKit2 0x000000010f3273f2 WebKit::WebPage::keyEventSyncForTesting(WebKit::WebKeyboardEvent const&, bool&) + 82 (WebPage.cpp:1431) 101 com.apple.WebKit2 0x000000010f35aa4f void CoreIPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&), WebKit::WebKeyboardEvent, bool>(CoreIPC::Arguments1<WebKit::WebKeyboardEvent> const&, CoreIPC::Arguments1<bool>&, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)) + 143 (HandleMessage.h:100) 102 com.apple.WebKit2 0x000000010f357c29 void CoreIPC::handleMessage<Messages::WebPage::KeyEventSyncForTesting, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)>(CoreIPC::ArgumentDecoder*, CoreIPC::ArgumentEncoder*, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&, bool&)) + 185 (HandleMessage.h:314) 103 com.apple.WebKit2 0x000000010f353cdf WebKit::WebPage::didReceiveSyncWebPageMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 255 (WebPageMessageReceiver.cpp:517) 104 com.apple.WebKit2 0x000000010f32ae99 WebKit::WebPage::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 57 (WebPage.cpp:2590) 105 com.apple.WebKit2 0x000000010f3e7f68 WebKit::WebProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 136 (WebProcess.cpp:600) 106 com.apple.WebKit2 0x000000010f28408d WebKit::WebConnectionToUIProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 93 (WebConnectionToUIProcess.cpp:93) 107 com.apple.WebKit2 0x000000010f2840e5 non-virtual thunk to WebKit::WebConnectionToUIProcess::didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, WTF::OwnPtr<CoreIPC::ArgumentEncoder>&) + 69 108 com.apple.WebKit2 0x000000010f12a3c1 CoreIPC::Connection::dispatchSyncMessage(CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 289 (Connection.cpp:649) 109 com.apple.WebKit2 0x000000010f127998 CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message<CoreIPC::ArgumentDecoder>&) + 328 (Connection.cpp:689) 110 com.apple.WebKit2 0x000000010f127825 CoreIPC::Connection::SyncMessageState::dispatchMessages() + 277 (Connection.cpp:166) 111 com.apple.WebKit2 0x000000010f1295b0 CoreIPC::Connection::waitForSyncReply(unsigned long long, double, unsigned int) + 240 (Connection.cpp:445) 112 com.apple.WebKit2 0x000000010f129329 CoreIPC::Connection::sendSyncMessage(CoreIPC::MessageID, unsigned long long, WTF::PassOwnPtr<CoreIPC::ArgumentEncoder>, double, unsigned int) + 777 (Connection.cpp:413) 113 com.apple.WebKit2 0x000000010f34e3c5 bool CoreIPC::Connection::sendSync<Messages::WebPageProxy::ExecuteSavedCommandBySelector>(Messages::WebPageProxy::ExecuteSavedCommandBySelector const&, Messages::WebPageProxy::ExecuteSavedCommandBySelector::Reply const&, unsigned long long, double, unsigned int) + 277 (Connection.h:386) It seems to get stuck in an infinite loop of sync messages and then crashes.
Attachments
Radar WebKit Bug Importer
Comment 1 2012-05-22 14:27:14 PDT
Jessie Berlin
Comment 2 2012-05-22 14:49:47 PDT
Note: I first noticed this on Lion with r118050
Alexey Proskuryakov
Comment 3 2015-04-28 15:37:59 PDT
This doesn’t crash for me now, I made many fixes to this code a year ago. Will unskip.
Note You need to log in before you can comment on or make changes to this bug.