Bug 92628 - Regression(r123715): Crash in InspectorInstrumentation::registerInstrumentingAgents()
Summary: Regression(r123715): Crash in InspectorInstrumentation::registerInstrumenting...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks: 92108
  Show dependency treegraph
 
Reported: 2012-07-30 04:14 PDT by Chris Dumez
Modified: 2014-12-11 16:39 PST (History)
5 users (show)

See Also:


Attachments
Patch (1.71 KB, patch)
2012-07-30 04:17 PDT, Chris Dumez
yurys: review+
vsevik: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2012-07-30 04:14:46 PDT
After <http://trac.webkit.org/changeset/123715>, we started experiencing the following crash on EFL port:

Program received signal SIGSEGV, Segmentation fault.
__pthread_mutex_lock (mutex=0x4719c0) at pthread_mutex_lock.c:50
50	pthread_mutex_lock.c: No such file or directory.
(gdb) bt 25
#0  __pthread_mutex_lock (mutex=0x4719c0) at pthread_mutex_lock.c:50
#1  0x00007ffff796c494 in WTF::Mutex::lock (this=0x30) at /home/chris/unencrypted/WebKit/Source/WTF/wtf/ThreadingPthreads.cpp:262
#2  0x00007ffff76163b4 in WTF::Locker<WTF::Mutex>::Locker (this=0x7fffffffd3b0, lockable=...) at /home/chris/unencrypted/WebKit/Source/WTF/wtf/Locker.h:38
#3  0x00007ffff1668210 in WTF::HashTable<WebCore::InstrumentingAgents*, WebCore::InstrumentingAgents*, WTF::IdentityExtractor, WTF::PtrHash<WebCore::InstrumentingAgents*>, WTF::HashTraits<WebCore::InstrumentingAgents*>, WTF::HashTraits<WebCore::InstrumentingAgents*> >::invalidateIterators (this=0x46b6d0)
    at /home/chris/unencrypted/WebKit/Source/WTF/wtf/HashTable.h:1266
#4  0x00007ffff16687e6 in WTF::HashTable<WebCore::InstrumentingAgents*, WebCore::InstrumentingAgents*, WTF::IdentityExtractor, WTF::PtrHash<WebCore::InstrumentingAgents*>, WTF::HashTraits<WebCore::InstrumentingAgents*>, WTF::HashTraits<WebCore::InstrumentingAgents*> >::add<WTF::IdentityHashTranslator<WTF::PtrHash<WebCore::InstrumentingAgents*> >, WebCore::InstrumentingAgents*, WebCore::InstrumentingAgents*> (this=0x46b6d0, key=@0x7fffffffd5d8: 0x4faee0, extra=@0x7fffffffd5d8: 0x4faee0)
    at /home/chris/unencrypted/WebKit/Source/WTF/wtf/HashTable.h:813
#5  0x00007ffff16682d1 in WTF::HashTable<WebCore::InstrumentingAgents*, WebCore::InstrumentingAgents*, WTF::IdentityExtractor, WTF::PtrHash<WebCore::InstrumentingAgents*>, WTF::HashTraits<WebCore::InstrumentingAgents*>, WTF::HashTraits<WebCore::InstrumentingAgents*> >::add (this=0x46b6d0, value=@0x7fffffffd5d8: 0x4faee0)
    at /home/chris/unencrypted/WebKit/Source/WTF/wtf/HashTable.h:393
#6  0x00007ffff1667a1f in WTF::HashSet<WebCore::InstrumentingAgents*, WTF::PtrHash<WebCore::InstrumentingAgents*>, WTF::HashTraits<WebCore::InstrumentingAgents*> >::add
    (this=0x46b6d0, value=@0x7fffffffd5d8: 0x4faee0) at /home/chris/unencrypted/WebKit/Source/WTF/wtf/HashSet.h:183
#7  0x00007ffff166719a in WebCore::InspectorInstrumentation::registerInstrumentingAgents (instrumentingAgents=0x4faee0)
    at /home/chris/unencrypted/WebKit/Source/WebCore/inspector/InspectorInstrumentation.cpp:1164
#8  0x00007ffff162c18e in WebCore::InspectorController::InspectorController (this=0x4f7d10, page=0x5b2a30, inspectorClient=0x4e8bb0)
    at /home/chris/unencrypted/WebKit/Source/WebCore/inspector/InspectorController.cpp:169
#9  0x00007ffff162c38d in WebCore::InspectorController::create (page=0x5b2a30, client=0x4e8bb0)
    at /home/chris/unencrypted/WebKit/Source/WebCore/inspector/InspectorController.cpp:182
#10 0x00007ffff17de99e in WebCore::Page::Page (this=0x5b2a30, pageClients=...) at /home/chris/unencrypted/WebKit/Source/WebCore/page/Page.cpp:168
#11 0x00007ffff7106fad in _ewk_view_priv_new (smartData=0x4d59a0) at /home/chris/unencrypted/WebKit/Source/WebKit/efl/ewk/ewk_view.cpp:744
#12 0x00007ffff7108224 in _ewk_view_smart_add (ewkView=0x5047b0) at /home/chris/unencrypted/WebKit/Source/WebKit/efl/ewk/ewk_view.cpp:948
#13 0x00007ffff712efd1 in _ewk_view_tiled_smart_add (ewkView=0x5047b0) at /home/chris/unencrypted/WebKit/Source/WebKit/efl/ewk/ewk_view_tiled.cpp:80
#14 0x00007ffff7ec2da5 in evas_object_smart_add (e=0x4f09a0, s=0x45b0d0) at evas_object_smart.c:335
#15 0x00007ffff712fb5d in ewk_view_tiled_add (canvas=0x4f09a0) at /home/chris/unencrypted/WebKit/Source/WebKit/efl/ewk/ewk_view_tiled.cpp:368
#16 0x000000000040a217 in EWKUnitTests::EWKTestView::init (this=0x7fffffffde20)
    at /home/chris/unencrypted/WebKit/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.cpp:105
#17 0x0000000000409a1d in EWKUnitTests::EWKTestBase::createTest (url=0x40a92f "http://www.webkit.org", event_callback=
    0x4072f9 <ewkViewUriGetCb(void*, Evas_Object*, void*)>, event_name=0x40a8b1 "load,finished", event_data=0x0)
    at /home/chris/unencrypted/WebKit/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.cpp:88
#18 0x0000000000409b06 in EWKUnitTests::EWKTestBase::runTest (url=0x40a92f "http://www.webkit.org", 
    event_callback=0x4072f9 <ewkViewUriGetCb(void*, Evas_Object*, void*)>, event_name=0x40a8b1 "load,finished", event_data=0x0)
    at /home/chris/unencrypted/WebKit/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.cpp:106
#19 0x000000000040742a in test_ewk_view_ewk_view_uri_get_Test::TestBody (this=0x4143e0) at /home/chris/unencrypted/WebKit/Source/WebKit/efl/tests/test_ewk_view.cpp:53
#20 0x00007ffff703404d in testing::Test::Run (this=0x4143e0) at /home/chris/unencrypted/WebKit/Source/ThirdParty/gtest/src/gtest.cc:2095
#21 0x00007ffff7034671 in testing::internal::TestInfoImpl::Run (this=0x4149e0) at /home/chris/unencrypted/WebKit/Source/ThirdParty/gtest/src/gtest.cc:2314
#22 0x00007ffff7034be2 in testing::TestCase::Run (this=0x414480) at /home/chris/unencrypted/WebKit/Source/ThirdParty/gtest/src/gtest.cc:2420
#23 0x00007ffff70395ae in testing::internal::UnitTestImpl::RunAllTests (this=0x413ed0) at /home/chris/unencrypted/WebKit/Source/ThirdParty/gtest/src/gtest.cc:4024
#24 0x00007ffff703832c in testing::UnitTest::Run (this=0x7ffff7072600) at /home/chris/unencrypted/WebKit/Source/ThirdParty/gtest/src/gtest.cc:3687
Comment 1 Chris Dumez 2012-07-30 04:17:43 PDT
Created attachment 155251 [details]
Patch
Comment 2 Vsevolod Vlasov 2012-07-30 04:50:30 PDT
The originasl patch will be rolled out, so no need to commit this one.