[WebKit-devel] [Bug 197092] crash when closing a tab with webkit view (WebCore::Widget::hide, WebCore::RenderWidget::destroy, WebCore::ContainerNode::detach)

Pete Brown rendhalver at gmail.com
Tue Sep 22 03:01:46 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=197092





--- Comment #4 from Pete Brown <rendhalver gmail com>  2009-09-22 03:01:45 ---
Hi again,
As mentioned in my last comment here is the backtrace for my crash.

Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 0 (LWP 1910)]

Thread 2 (Thread 0x7f93d73cf950 (LWP 2211)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f93fc291d19 in QWaitCondition::wait (this=0x4e152c0,
mutex=0x4e152b8, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  0x00007f93fb11781c in QHostInfoAgent::run (this=0x4e152a0) at
kernel/qhostinfo.cpp:260
#3  0x00007f93fc290d35 in QThreadPrivate::start (arg=0x4e152a0) at
thread/qthread_unix.cpp:188
#4  0x00007f93f81853ba in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#5  0x00007f93f8d69fcd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f93fc844750 (LWP 1910)):
[KCrash Handler]
#5  0x00007f93f2cc1a4e in WebCore::Widget::hide (this=<value optimized out>) at
../../../../include/QtGui/../../src/gui/kernel/qwidget.h:477
#6  0x00007f93f2c4c238 in WebCore::RenderWidget::destroy (this=0x5431d08) at
rendering/RenderWidget.cpp:85
#7  0x00007f93f294aef5 in WebCore::Node::detach (this=0x5433200) at
dom/Node.cpp:1060
#8  0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x54329d0) at
dom/ContainerNode.cpp:593
#9  0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x551c830) at
dom/ContainerNode.cpp:593
#10 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x5519a80) at
dom/ContainerNode.cpp:593
#11 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x5500830) at
dom/ContainerNode.cpp:593
#12 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x5500ab0) at
dom/ContainerNode.cpp:593
#13 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x31f9220) at
dom/ContainerNode.cpp:593
#14 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x555cec0) at
dom/ContainerNode.cpp:593
#15 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x5b29030) at
dom/ContainerNode.cpp:593
#16 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x565f0f0) at
dom/ContainerNode.cpp:593
#17 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x565fce0) at
dom/ContainerNode.cpp:593
#18 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x2d3ff50) at
dom/ContainerNode.cpp:593
#19 0x00007f93f29081c4 in WebCore::ContainerNode::detach (this=0x2de17a0) at
dom/ContainerNode.cpp:593
#20 0x00007f93f2917383 in WebCore::Document::detach (this=0x2de17a0) at
dom/Document.cpp:1310
#21 0x00007f93f2b2ca0e in WebCore::Frame::setView (this=0x2db2fc0, view=0x0) at
page/Frame.cpp:209
#22 0x00007f93f2ac218a in WebCore::FrameLoader::detachFromParent
(this=0x2db5008) at loader/FrameLoader.cpp:3434
#23 0x00007f93f2cd8599 in ~QWebPage (this=0x2db42a0) at
../WebKit/qt/Api/qwebpage.cpp:1242
#24 0x00007f93e638d657 in ?? () from /usr/lib/libwebkitkde.so.1
#25 0x00007f93fc388ec1 in QObjectPrivate::deleteChildren (this=0x2db2830) at
kernel/qobject.cpp:1847
#26 0x00007f93f998d1a2 in ~QWidget (this=0x2db2e80) at kernel/qwidget.cpp:1367
#27 0x00007f93fbb9609b in ~Part (this=0x2d3ecf0, __vtt_parm=0x7f93e65996f0) at
/build/buildd/kde4libs-4.3.1/kparts/part.cpp:208
#28 0x00007f93e638dc77 in WebKitPart::~WebKitPart () from
/usr/lib/libwebkitkde.so.1
#29 0x00007f93f0167193 in ~KonqView (this=0x2db7ea0) at
/build/buildd/kdebase-4.3.1/apps/konqueror/src/konqview.cpp:132
#30 0x00007f93f016d74f in KonqViewManager::removeTab (this=0x140f970,
currentFrame=0x2d3a418, emitAboutToRemoveSignal=<value optimized out>)
    at /build/buildd/kdebase-4.3.1/apps/konqueror/src/konqviewmanager.cpp:402
#31 0x00007f93f01b016e in KonqMainWindow::slotRemoveTab (this=0x142a9e0) at
/build/buildd/kdebase-4.3.1/apps/konqueror/src/konqmainwindow.cpp:2531
#32 0x00007f93f01c21a5 in KonqMainWindow::qt_metacall (this=0x142a9e0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff048891a0)
    at
/build/buildd/kdebase-4.3.1/obj-x86_64-linux-gnu/apps/konqueror/src/konqmainwindow.moc:415
#33 0x00007f93fc38fea2 in QMetaObject::activate (sender=0x266c540,
from_signal_index=<value optimized out>, to_signal_index=30, argv=0x3a) at
kernel/qobject.cpp:3113
#34 0x00007f93f9f62e27 in QAbstractButton::clicked (this=0x6820630, _t1=false)
at .moc/release-shared/moc_qabstractbutton.cpp:200
#35 0x00007f93f9cbcc6b in QAbstractButtonPrivate::emitClicked (this=0x266e610)
at widgets/qabstractbutton.cpp:543
#36 0x00007f93f9cbe8c2 in QAbstractButtonPrivate::click (this=0x266e610) at
widgets/qabstractbutton.cpp:536
#37 0x00007f93f9cbeb15 in QAbstractButton::mouseReleaseEvent (this=0x266c540,
e=0x7fff04889980) at widgets/qabstractbutton.cpp:1115
#38 0x00007f93f9d9051a in QToolButton::mouseReleaseEvent (this=0x6820630,
e=0x0) at widgets/qtoolbutton.cpp:709
#39 0x00007f93f99920bf in QWidget::event (this=0x266c540, event=0x7fff04889980)
at kernel/qwidget.cpp:7549
#40 0x00007f93f9940f4d in QApplicationPrivate::notify_helper (this=0x12b5000,
receiver=0x266c540, e=0x7fff04889980) at kernel/qapplication.cpp:4056
#41 0x00007f93f99498ea in QApplication::notify (this=<value optimized out>,
receiver=0x266c540, e=0x7fff04889980) at kernel/qapplication.cpp:3758
#42 0x00007f93faa53deb in KApplication::notify (this=0x7fff0488bab0,
receiver=0x266c540, event=0x7fff04889980) at
/build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#43 0x00007f93fc37a6ac in QCoreApplication::notifyInternal
(this=0x7fff0488bab0, receiver=0x266c540, event=0x7fff04889980) at
kernel/qcoreapplication.cpp:610
#44 0x00007f93f9948b38 in QApplicationPrivate::sendMouseEvent
(receiver=0x266c540, event=0x7fff04889980, alienWidget=0x266c540,
nativeWidget=0x142a9e0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f93fa378010) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#45 0x00007f93f99b2b19 in QETWidget::translateMouseEvent (this=0x142a9e0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#46 0x00007f93f99b1b53 in QApplication::x11ProcessEvent (this=0x7fff0488bab0,
event=0x7fff0488b500) at kernel/qapplication_x11.cpp:3550
#47 0x00007f93f99da454 in x11EventSourceDispatch (s=0x12b8c40, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0x00007f93f83d420a in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#49 0x00007f93f83d78e0 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0x00007f93f83d7a7c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#51 0x00007f93fc3a3a8f in QEventDispatcherGlib::processEvents (this=0x1217e70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#52 0x00007f93f99d9bdf in QGuiEventDispatcherGlib::processEvents
(this=0x6820630, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#53 0x00007f93fc378f42 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 76068848}) at kernel/qeventloop.cpp:149
#54 0x00007f93fc379314 in QEventLoop::exec (this=0x7fff0488b830, flags={i =
76068928}) at kernel/qeventloop.cpp:201
#55 0x00007f93fc37b5e4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#56 0x00007f93f01ed4e2 in kdemain (argc=<value optimized out>, argv=<value
optimized out>) at
/build/buildd/kdebase-4.3.1/apps/konqueror/src/konqmain.cpp:271
#57 0x0000000000407215 in launch (argc=3, _name=0x1269df8 "konqueror",
args=<value optimized out>, cwd=0x0, envc=1, envs=0x1269e32 "",
reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40a3a1 "0") at
/build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:677
#58 0x0000000000407a38 in handle_launcher_request (sock=7, who=<value optimized
out>) at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:1169
#59 0x0000000000407fe5 in handle_requests (waitForPid=0) at
/build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:1362
#60 0x0000000000408b26 in main (argc=1, argv=0x7fff0488d198,
envp=0x7fff0488d1a8) at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:1793

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


More information about the WebKit-devel mailing list