Bug 49054 - Web Inspector: Crash in InspectorDOMAgent::innerParentNode
Summary: Web Inspector: Crash in InspectorDOMAgent::innerParentNode
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Feldman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 21:19 PDT by Matt Lilek
Modified: 2010-11-05 07:30 PDT (History)
10 users (show)

See Also:


Attachments
[PATCH] Fix. (1.28 KB, patch)
2010-11-05 04:09 PDT, Pavel Feldman
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Lilek 2010-11-04 21:19:49 PDT
<div> inside of a <td> being edited as HTML (via the context menu item).  Clicked outside of the edit box to make my changes and WebKit crashed (running SnowLeopard):

Process:         Safari [27006]
Path:            /Applications/Safari.app/Contents/MacOS/Safari
Identifier:      org.webkit.nightly.WebKit
Version:         r71204 (71204)
Code Type:       X86-64 (Native)
Parent Process:  launchd [196]

Date/Time:       2010-11-04 21:13:58.305 -0700
Report Version:  6

Interval Since Last Report:          5252 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  4958 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      80DC284F-9BED-4DC0-ADF5-3C9D0A9FFAB8

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x00000001010c92d4 WebCore::InspectorDOMAgent::innerParentNode(WebCore::Node*) + 4
1   com.apple.WebCore             	0x00000001010d2ff5 WebCore::InspectorDOMAgent::pushNodePathToFrontend(WebCore::Node*) + 213
2   com.apple.WebCore             	0x00000001010d5ff3 WebCore::InspectorDOMAgent::setOuterHTML(long, WTF::String const&, long*) + 259
3   com.apple.WebCore             	0x000000010108d6d5 WebCore::InspectorBackendDispatcher::setOuterHTML(long, WebCore::InspectorObject*) + 1589
4   com.apple.WebCore             	0x00000001010935e5 WebCore::InspectorBackendDispatcher::dispatch(WTF::String const&) + 11509
5   com.apple.WebCore             	0x00000001012c0a60 WebCore::jsInspectorFrontendHostPrototypeFunctionSendMessageToBackend(JSC::ExecState*) + 272
6   ???                           	0x00003eef126001b8 0 + 69196526387640
7   com.apple.JavaScriptCore      	0x00000001007dcbb7 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 1159
8   ???                           	0x000000011a4a8980 0 + 4736059776
9   ???                           	0x0000000121596a50 0 + 4854475344
10  com.apple.JavaScriptCore      	0x000000010083e710 JSC::JSFunction::~JSFunction() + 0
11  ???                           	0x9090909090909090 0 + 10416984888683040912
Comment 1 Pavel Feldman 2010-11-05 04:09:50 PDT
Created attachment 73053 [details]
[PATCH] Fix.

I filed a bug on testing harness for edit dom operations.
Comment 2 Pavel Feldman 2010-11-05 07:30:08 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/inspector/InspectorDOMAgent.cpp
Committed r71415