Bug 31259 - Web Inspector: Crash when inspecting WebCore\manual-tests\inspector\dom-mutation.html
Summary: Web Inspector: Crash when inspecting WebCore\manual-tests\inspector\dom-mutat...
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: 2009-11-09 08:53 PST by Alexander Pavlov (apavlov)
Modified: 2009-11-09 14:12 PST (History)
8 users (show)

See Also:


Attachments
[PATCH] fix (1.63 KB, patch)
2009-11-09 13:38 PST, Pavel Feldman
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2009-11-09 08:53:47 PST
Steps to reproduce:

1. Open WebCore\manual-tests\inspector\dom-mutation.html and open the Web Inspector's Elements panel
2. Expand the iframe body node (html/body/div[1]/iframe/html/body) in the elements tree. Watch the contents changing after the iframe content updates.
3. Click the "Test frame 2" button in the inspected page.

The following crash occurs:

>	WebKit.dll!WTF::HashTable<WTF::RefPtr<WebCore::Node>,std::pair<WTF::RefPtr<WebCore::Node>,long>,WTF::PairFirstExtractor<std::pair<WTF::RefPtr<WebCore::Node>,long> >,WTF::PtrHash<WTF::RefPtr<WebCore::Node> >,WTF::PairHashTraits<WTF::HashTraits<WTF::RefPtr<WebCore::Node> >,WTF::HashTraits<long> >,WTF::HashTraits<WTF::RefPtr<WebCore::Node> > >::checkKey<WebCore::Node *,WTF::RefPtrHashMapRawKeyTranslator<WebCore::Node *,std::pair<WTF::RefPtr<WebCore::Node>,long>,WTF::PairHashTraits<WTF::HashTraits<WTF::RefPtr<WebCore::Node> >,WTF::HashTraits<long> >,WTF::PtrHash<WTF::RefPtr<WebCore::Node> > > >(WebCore::Node * const & key=0x00000000)  Line 455 + 0x53 bytes	C++
 	WebKit.dll!WTF::HashTable<WTF::RefPtr<WebCore::Node>,std::pair<WTF::RefPtr<WebCore::Node>,long>,WTF::PairFirstExtractor<std::pair<WTF::RefPtr<WebCore::Node>,long> >,WTF::PtrHash<WTF::RefPtr<WebCore::Node> >,WTF::PairHashTraits<WTF::HashTraits<WTF::RefPtr<WebCore::Node> >,WTF::HashTraits<long> >,WTF::HashTraits<WTF::RefPtr<WebCore::Node> > >::lookup<WebCore::Node *,WTF::RefPtrHashMapRawKeyTranslator<WebCore::Node *,std::pair<WTF::RefPtr<WebCore::Node>,long>,WTF::PairHashTraits<WTF::HashTraits<WTF::RefPtr<WebCore::Node> >,WTF::HashTraits<long> >,WTF::PtrHash<WTF::RefPtr<WebCore::Node> > > >(WebCore::Node * const & key=0x00000000)  Line 471	C++
 	WebKit.dll!WTF::HashMap<WTF::RefPtr<WebCore::Node>,long,WTF::PtrHash<WTF::RefPtr<WebCore::Node> >,WTF::HashTraits<WTF::RefPtr<WebCore::Node> >,WTF::HashTraits<long> >::inlineGet(WebCore::Node * key=0x00000000)  Line 270 + 0xc bytes	C++
 	WebKit.dll!WTF::HashMap<WTF::RefPtr<WebCore::Node>,long,WTF::PtrHash<WTF::RefPtr<WebCore::Node> >,WTF::HashTraits<WTF::RefPtr<WebCore::Node> >,WTF::HashTraits<long> >::get(WebCore::Node * key=0x00000000)  Line 281	C++
 	WebKit.dll!WebCore::InspectorDOMAgent::handleEvent(WebCore::ScriptExecutionContext * __formal=0x09c4303c, WebCore::Event * event=0x09abfcd8)  Line 196 + 0x18 bytes	C++
 	WebKit.dll!WebCore::EventTarget::fireEventListeners(WebCore::Event * event=0x09abfcd8)  Line 297 + 0x35 bytes	C++
 	WebKit.dll!WebCore::Node::handleLocalEvents(WebCore::Event * event=0x09abfcd8)  Line 2384	C++
 	WebKit.dll!WebCore::Node::dispatchGenericEvent(WTF::PassRefPtr<WebCore::Event> prpEvent=NULL)  Line 2515 + 0x1b bytes	C++
 	WebKit.dll!WebCore::DOMWindow::dispatchLoadEvent()  Line 1294	C++
 	WebKit.dll!WebCore::Document::dispatchWindowLoadEvent()  Line 2904	C++
 	WebKit.dll!WebCore::Document::implicitClose()  Line 1735	C++
 	WebKit.dll!WebCore::FrameLoader::checkCallImplicitClose()  Line 1160	C++
 	WebKit.dll!WebCore::FrameLoader::checkCompleted()  Line 1109	C++
 	WebKit.dll!WebCore::FrameLoader::finishedParsing()  Line 1048	C++
 	WebKit.dll!WebCore::Document::finishedParsing()  Line 4041	C++
 	WebKit.dll!WebCore::HTMLParser::finished()  Line 1635 + 0x1a bytes	C++
 	WebKit.dll!WebCore::HTMLTokenizer::end()  Line 1864	C++
 	WebKit.dll!WebCore::HTMLTokenizer::finish()  Line 1904	C++
 	WebKit.dll!WebCore::Document::finishParsing()  Line 1879 + 0x1b bytes	C++
 	WebKit.dll!WebCore::FrameLoader::endIfNotLoadingMainResource()  Line 950	C++
 	WebKit.dll!WebCore::FrameLoader::end()  Line 935	C++
 	WebKit.dll!WebCore::DocumentLoader::finishedLoading()  Line 332	C++
 	WebKit.dll!WebCore::FrameLoader::finishedLoading()  Line 2698	C++
 	WebKit.dll!WebCore::MainResourceLoader::didFinishLoading()  Line 394	C++
 	WebKit.dll!WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle * __formal=0x08494d78)  Line 403 + 0xf bytes	C++
 	WebKit.dll!WebCore::didFinishLoading(_CFURLConnection * conn=0x0be86270, const void * clientInfo=0x08494d78)  Line 232 + 0x1e bytes	C++
 	CFNetwork.dll!71aaa0ad()
Comment 1 Pavel Feldman 2009-11-09 13:38:40 PST
Created attachment 42796 [details]
[PATCH] fix
Comment 2 WebKit Commit Bot 2009-11-09 14:11:59 PST
Comment on attachment 42796 [details]
[PATCH] fix

Clearing flags on attachment: 42796

Committed r50691: <http://trac.webkit.org/changeset/50691>
Comment 3 WebKit Commit Bot 2009-11-09 14:12:03 PST
All reviewed patches have been landed.  Closing bug.