Bug 274121

Summary: Crash when closing tabs in konqueror (with WebKit)
Product: [Applications] konqueror Reporter: Paul Fee <paul.f.fee>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paul Fee 2011-05-25 17:22:23 UTC
Application: konqueror (4.6.3 (4.6.3))
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.35.13-91.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Closing tab in konqueror.  Had configured konqueror to use WebKit to render pages.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f50975f7840 (LWP 20294))]

Thread 2 (Thread 0x7f508b5ff700 (LWP 20295)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003e95db6824 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00000034ed406ccb in start_thread (arg=0x7f508b5ff700) at pthread_create.c:301
#3  0x00000034ecce0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f50975f7840 (LWP 20294)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x0000003da52d19a5 in QStyleSheetStyle::event (this=0x28aeac0, e=0x7fff8d875de0) at styles/qstylesheetstyle.cpp:5801
#8  0x0000003da4fb7cd4 in QApplicationPrivate::notify_helper (this=0x19f0010, receiver=0x28aeac0, e=0x7fff8d875de0) at kernel/qapplication.cpp:4462
#9  0x0000003da4fbc88a in QApplication::notify (this=<value optimized out>, receiver=0x28aeac0, e=0x7fff8d875de0) at kernel/qapplication.cpp:4341
#10 0x00000036268409f6 in KApplication::notify (this=0x7fff8d877490, receiver=0x28aeac0, event=0x7fff8d875de0) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#11 0x0000003da375d19c in QCoreApplication::notifyInternal (this=0x7fff8d877490, receiver=0x28aeac0, event=0x7fff8d875de0) at kernel/qcoreapplication.cpp:731
#12 0x0000003da4fb67f4 in sendEvent (focus=0x0, reason=Qt::OtherFocusReason) at ../../src/corelib/kernel/qcoreapplication.h:215
#13 QApplicationPrivate::setFocusWidget (focus=0x0, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2235
#14 0x0000003da4ff9974 in QWidget::clearFocus (this=0x2f9f2d0) at kernel/qwidget.cpp:6434
#15 0x0000003da500487a in QWidget::~QWidget (this=0x2f9f2d0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1563
#16 0x00000036268fcc19 in KLineEdit::~KLineEdit (this=0x2f9f2d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.6.3/kdeui/widgets/klineedit.cpp:250
#17 0x0000003da376fcb4 in QObjectPrivate::deleteChildren (this=0x3187150) at kernel/qobject.cpp:1955
#18 0x0000003da5004940 in QWidget::~QWidget (this=0x2f95250, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1631
#19 0x00007f508be6f479 in ?? () from /usr/lib64/libkwebkit.so.1
#20 0x0000003da376fcb4 in QObjectPrivate::deleteChildren (this=0x2fcc750) at kernel/qobject.cpp:1955
#21 0x0000003da5004940 in QWidget::~QWidget (this=0x2ffbff0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1631
#22 0x0000003da5004bf9 in QWidget::~QWidget (this=0x2ffbff0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1651
#23 0x000000362842403d in KParts::Part::~Part (this=0x2bb44e0, __vtt_parm=0x7f508c07a7b0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.6.3/kparts/part.cpp:209
#24 0x00007f508be500d2 in KWebKitPart::~KWebKitPart() () from /usr/lib64/libkwebkit.so.1
#25 0x00007f508be50109 in KWebKitPart::~KWebKitPart() () from /usr/lib64/libkwebkit.so.1
#26 0x00000030dca4430f in KonqView::~KonqView (this=0x2da9e00, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-4.6.3/konqueror/src/konqview.cpp:123
#27 0x00000030dca444f9 in KonqView::~KonqView (this=0x2da9e00, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-4.6.3/konqueror/src/konqview.cpp:131
#28 0x00000030dca4d877 in KonqViewManager::removeTab (this=0x1a63e30, currentFrame=0x30a6758, emitAboutToRemoveSignal=<value optimized out>) at /usr/src/debug/kdebase-4.6.3/konqueror/src/konqviewmanager.cpp:423
#29 0x00000030dca8769a in KonqMainWindow::removeTab (this=0x1a5cd00, tabIndex=<value optimized out>) at /usr/src/debug/kdebase-4.6.3/konqueror/src/konqmainwindow.cpp:2427
#30 0x00000030dca95b54 in KonqMainWindow::qt_metacall (this=0x1a5cd00, _c=QMetaObject::InvokeMetaMethod, _id=81, _a=0x28119a0) at /usr/src/debug/kdebase-4.6.3/x86_64-redhat-linux-gnu/konqueror/src/konqmainwindow.moc:417
#31 0x0000003da37715ca in QObject::event (this=0x1a5cd00, e=<value optimized out>) at kernel/qobject.cpp:1217
#32 0x0000003da500909d in QWidget::event (this=0x1a5cd00, event=0x2e32860) at kernel/qwidget.cpp:8718
#33 0x0000003da53ce67b in QMainWindow::event (this=0x1a5cd00, event=0x2e32860) at widgets/qmainwindow.cpp:1480
#34 0x000000362693f873 in KXmlGuiWindow::event (this=0x1a5cd00, ev=0x2e32860) at /usr/src/debug/kdelibs-4.6.3/kdeui/xmlgui/kxmlguiwindow.cpp:126
#35 0x00000030dca7a2cc in KonqMainWindow::event (this=0x1a5cd00, e=0x2e32860) at /usr/src/debug/kdebase-4.6.3/konqueror/src/konqmainwindow.cpp:5530
#36 0x0000003da4fb7cd4 in QApplicationPrivate::notify_helper (this=0x19f0010, receiver=0x1a5cd00, e=0x2e32860) at kernel/qapplication.cpp:4462
#37 0x0000003da4fbc88a in QApplication::notify (this=<value optimized out>, receiver=0x1a5cd00, e=0x2e32860) at kernel/qapplication.cpp:4341
#38 0x00000036268409f6 in KApplication::notify (this=0x7fff8d877490, receiver=0x1a5cd00, event=0x2e32860) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#39 0x0000003da375d19c in QCoreApplication::notifyInternal (this=0x7fff8d877490, receiver=0x1a5cd00, event=0x2e32860) at kernel/qcoreapplication.cpp:731
#40 0x0000003da3760985 in sendEvent (receiver=0x0, event_type=0, data=0x19ce600) at kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x19ce600) at kernel/qcoreapplication.cpp:1372
#42 0x0000003da37881b3 in sendPostedEvents (s=0x19f6a80) at kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=0x19f6a80) at kernel/qeventdispatcher_glib.cpp:277
#44 0x00000034ef041e33 in g_main_dispatch (context=0x19f5220) at gmain.c:2149
#45 g_main_context_dispatch (context=0x19f5220) at gmain.c:2702
#46 0x00000034ef042610 in g_main_context_iterate (context=0x19f5220, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#47 0x00000034ef0428ad in g_main_context_iteration (context=0x19f5220, may_block=1) at gmain.c:2843
#48 0x0000003da378834f in QEventDispatcherGlib::processEvents (this=0x19cdde0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#49 0x0000003da505d35e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#50 0x0000003da375c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x0000003da375c77c in QEventLoop::exec (this=0x7fff8d877260, flags=...) at kernel/qeventloop.cpp:201
#52 0x0000003da3760c3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#53 0x00000030dcab2bfa in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.6.3/konqueror/src/konqmain.cpp:219
#54 0x00000034ecc1ee5d in __libc_start_main (main=0x4008b0 <main(int, char**)>, argc=2, ubp_av=0x7fff8d877d28, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff8d877d18) at libc-start.c:226
#55 0x00000000004007d9 in _start ()

This bug may be a duplicate of or related to bug 264722.

Possible duplicates by query: bug 266951.

Reported using DrKonqi
Comment 1 Paul Fee 2011-05-25 17:28:16 UTC
Bug occurred using KDE and Konqueror 4.6.3.

WebKit versions:
$ rpm -qa | grep webkit
qtwebkit-2.2-2.20110513.fc14.x86_64
kwebkitpart-0.9.6-1.fc14.1.x86_64

Bug 264722 suggests that kwebkitpart v1.1 will fix this.  Should I be expecting this to be fixed already in KDE 4.6.3, or should I wait for KDE 4.7?
Comment 2 Tommi Tervo 2011-05-25 17:35:30 UTC
Looks like adawit committed this fix only to git master, not KDE/4.6 branch so fix is included in 4.7. You can try it, 4.7beta1 was released today.

*** This bug has been marked as a duplicate of bug 264722 ***