[Webkit-unassigned] [Bug 79785] [Qt] WebKit with Qt5 hangs on Mac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 28 08:55:12 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=79785





--- Comment #1 from Balazs Kelemen <kbalazs at webkit.org>  2012-02-28 08:55:12 PST ---
I have debugged it a bit further so here are my founds. 
in QNetworkConfigurationManagerPrivate::updateConfigurations there is this:

foreach (QBearerEngine* engine, enginesToInitialize) {
    QMetaObject::invokeMethod(engine, "initialize", Qt::BlockingQueuedConnection);
}

This waits until the engine initializing on the bearer thread, but that thread gets blocked during this initialization:

#0  0x00007fff90066bf2 in __psynch_mutexwait ()
#1  0x00007fff8caa71a1 in pthread_mutex_lock ()
#2  0x00007fff8cdb4e9a in __cxa_guard_acquire ()
#3  0x0000000109324cfd in manager () at qnetworkinterface.cpp:82
#4  0x0000000109324eab in QNetworkInterface::allInterfaces () at qnetworkinterface.cpp:544
#5  0x000000010f0beeed in QGenericEngine::doRequestUpdate (this=0x110903640) at qgenericengine.cpp:199
#6  0x000000010f0beea5 in QGenericEngine::initialize (this=0x110903640) at qgenericengine.cpp:182
#7  0x000000010f0c9f25 in QGenericEngine::qt_static_metacall (_o=0x110903640, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff5fbfde60) at moc_qgenericengine.cpp:55
#8  0x000000010807248e in QMetaCallEvent::placeMetaCall (this=0x10f511950, object=0x110903640) at qobject.cpp:436

I don't know the reason of this second deadlock. Do you think I should file it into JIRA? Do you have an idea how to create an example that reproduce this? I don't see anything in WebKit that seems to be responsible. The Qt network examples do not reproduce it though.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list