Bug 319928

Summary: Crash on attempt to close preferences dialog if webkit is default html engine
Product: [Frameworks and Libraries] kwebkitpart Reporter: Nikita Zlobin <nick87720z>
Component: generalAssignee: webkit-devel
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nikita Zlobin 2013-05-16 21:40:15 UTC
I'm not sure, is it konqueror bug or it is from webkit kpart. Looking more detaily to logs it seems, that it is webkit kpart problem. And i could not find nothing webkit-related among components for report.

It is installed from kubuntu-backport package archive from launchpad. The only and most similar konqueror+webkit crash report, that i could find there, is #302951 (Konqueror crashed while switching engine to WebKit).

==( crash handler output )==

Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff6f14c6780 (LWP 8516))]

Thread 6 (Thread 0x7ff6d7272700 (LWP 8534)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000039c63cbdec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00000039c63cbf19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ff6ebb77e9a in start_thread (arg=0x7ff6d7272700) at pthread_create.c:308
#4  0x00007ff6f0d49ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff6d6a71700 (LWP 8535)):
#0  0x00007ff6eb8fe346 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff6eb8fe5d9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6eb8c2aae in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6eb8c2f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff6eb8c3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff6edc6b926 in QEventDispatcherGlib::processEvents (this=0x7ff6d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ff6edc3ae62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff6edc3b0b7 in QEventLoop::exec (this=0x7ff6d6a70e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff6edb3a077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007ff6edb3d09b in QThreadPrivate::start (arg=0x2b7c920) at thread/qthread_unix.cpp:307
#10 0x00007ff6ebb77e9a in start_thread (arg=0x7ff6d6a71700) at pthread_create.c:308
#11 0x00007ff6f0d49ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff68636d700 (LWP 8543)):
#0  0x00007ff6f0d3e313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff6eb8c2ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6eb8c3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6edc6b926 in QEventDispatcherGlib::processEvents (this=0x7ff6800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ff6edc3ae62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff6edc3b0b7 in QEventLoop::exec (this=0x7ff68636cdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff6edb3a077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ff6edc1ab6f in QInotifyFileSystemWatcherEngine::run (this=0x3a05e80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff6edb3d09b in QThreadPrivate::start (arg=0x3a05e80) at thread/qthread_unix.cpp:307
#9  0x00007ff6ebb77e9a in start_thread (arg=0x7ff68636d700) at pthread_create.c:308
#10 0x00007ff6f0d49ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff6856c1700 (LWP 8626)):
#0  0x00007ff6ebb79f69 in __pthread_mutex_lock (mutex=0x7ff678004d70) at pthread_mutex_lock.c:92
#1  0x00007ff6eb8fe5b1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6eb8c3110 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6edc6b926 in QEventDispatcherGlib::processEvents (this=0x7ff6780068b0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ff6edc3ae62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff6edc3b0b7 in QEventLoop::exec (this=0x7ff6856c0dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff6edb3a077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ff6efb93a7e in KIO::NameLookUpThread::run (this=0x31d3390) at ../../kio/kio/hostinfo.cpp:226
#8  0x00007ff6edb3d09b in QThreadPrivate::start (arg=0x31d3390) at thread/qthread_unix.cpp:307
#9  0x00007ff6ebb77e9a in start_thread (arg=0x7ff6856c1700) at pthread_create.c:308
#10 0x00007ff6f0d49ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff67e456700 (LWP 8643)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff67fd465cd in ?? () from /usr/lib/libvlccore.so.5
#2  0x00007ff6ebb77e9a in start_thread (arg=0x7ff67e456700) at pthread_create.c:308
#3  0x00007ff6f0d49ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff6f14c6780 (LWP 8516)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007ff6edc42c69 in QMetaObject::cast (this=0x7ff6d74cf320, obj=0x71191a0) at kernel/qmetaobject.cpp:274
#8  0x00007ff6d729e6ff in ?? () from /usr/lib/kde4/kwebkitpart.so
#9  0x00007ff6d729a534 in ?? () from /usr/lib/kde4/kwebkitpart.so
#10 0x00007ff6d729a59d in ?? () from /usr/lib/kde4/kwebkitpart.so
#11 0x00007ff6d72902d2 in ?? () from /usr/lib/kde4/kwebkitpart.so
#12 0x00007ff6d729034a in ?? () from /usr/lib/kde4/kwebkitpart.so
#13 0x00007ff6f05d1170 in KParts::Part::slotWidgetDestroyed (this=0x46651f0) at ../../kparts/part.cpp:353
#14 0x00007ff6edc50781 in QMetaObject::activate (sender=0x7654e50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6bc1fdc0) at kernel/qobject.cpp:3547
#15 0x00007ff6edc510df in QObject::destroyed (this=<optimized out>, _t1=0x7654e50) at .moc/release-shared/moc_qobject.cpp:149
#16 0x00007ff6edc54b8e in QObject::~QObject (this=0x7654e50, __in_chrg=<optimized out>) at kernel/qobject.cpp:844
#17 0x00007ff6ee68464d in QWidget::~QWidget (this=0x7654e50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1552
#18 0x00007ff6ee684889 in QWidget::~QWidget (this=0x7654e50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1701
#19 0x00007ff6edc4ee35 in QObjectPrivate::deleteChildren (this=0x35b06c0) at kernel/qobject.cpp:1908
#20 0x00007ff6ee6845b0 in QWidget::~QWidget (this=0x5b46090, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#21 0x00007ff6eea4a929 in QGroupBox::~QGroupBox (this=0x5b46090, __in_chrg=<optimized out>) at widgets/qgroupbox.cpp:216
#22 0x00007ff6edc4ee35 in QObjectPrivate::deleteChildren (this=0x71bef60) at kernel/qobject.cpp:1908
#23 0x00007ff6ee6845b0 in QWidget::~QWidget (this=0x5cac120, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#24 0x00007ff68c789dde in ?? () from /usr/lib/kde4/kcm_konqhtml.so
#25 0x00007ff6edc4ee35 in QObjectPrivate::deleteChildren (this=0x2a8d1a0) at kernel/qobject.cpp:1908
#26 0x00007ff6ee6845b0 in QWidget::~QWidget (this=0x3a89050, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#27 0x00007ff6ef2c7829 in KDialog::~KDialog (this=0x3a89050, __in_chrg=<optimized out>) at ../../kdeui/dialogs/kdialog.cpp:204
#28 0x00007ff6edc4ee35 in QObjectPrivate::deleteChildren (this=0x76812f0) at kernel/qobject.cpp:1908
#29 0x00007ff6ee6845b0 in QWidget::~QWidget (this=0x6ab25c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#30 0x00007ff68c789d9e in ?? () from /usr/lib/kde4/kcm_konqhtml.so
#31 0x00007ff6edc4ee35 in QObjectPrivate::deleteChildren (this=0x335cf30) at kernel/qobject.cpp:1908
#32 0x00007ff6ee6845b0 in QWidget::~QWidget (this=0x2bf8270, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#33 0x00007ff6eeaa59a9 in QStackedWidget::~QStackedWidget (this=0x2bf8270, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:193
#34 0x00007ff6edc4ee35 in QObjectPrivate::deleteChildren (this=0x2bf8000) at kernel/qobject.cpp:1908
#35 0x00007ff6ee6845b0 in QWidget::~QWidget (this=0x5028cf0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#36 0x00007ff6ef455fa9 in KTabWidget::~KTabWidget (this=0x5028cf0, __in_chrg=<optimized out>) at ../../kdeui/widgets/ktabwidget.cpp:257
#37 0x00007ff6edc4ee35 in QObjectPrivate::deleteChildren (this=0x5028ac0) at kernel/qobject.cpp:1908
#38 0x00007ff6ee6845b0 in QWidget::~QWidget (this=0x538ea80, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#39 0x00007ff6ef40aac3 in KCModule::~KCModule (this=0x538ea80, __in_chrg=<optimized out>) at ../../kdeui/widgets/kcmodule.cpp:193
#40 0x00007ff68c772949 in ?? () from /usr/lib/kde4/kcm_konqhtml.so
#41 0x00007ff6f038d434 in KCModuleProxy::deleteClient (this=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:219
#42 0x00007ff6f038ab7c in KCMultiDialogPrivate::_k_dialogClosed (this=0x6a39b00) at ../../kutils/kcmultidialog.cpp:201
#43 0x00007ff6edc50781 in QMetaObject::activate (sender=0x428c690, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#44 0x00007ff6ee68a27f in QWidget::event (this=0x428c690, event=0x7fff6bc20da0) at kernel/qwidget.cpp:8582
#45 0x00007ff6ee6397b4 in notify_helper (e=0x7fff6bc20da0, receiver=0x428c690, this=0x20a8760) at kernel/qapplication.cpp:4556
#46 QApplicationPrivate::notify_helper (this=0x20a8760, receiver=0x428c690, e=0x7fff6bc20da0) at kernel/qapplication.cpp:4528
#47 0x00007ff6ee63e583 in QApplication::notify (this=0x7fff6bc22940, receiver=0x428c690, e=0x7fff6bc20da0) at kernel/qapplication.cpp:4417
#48 0x00007ff6ef375006 in KApplication::notify (this=0x7fff6bc22940, receiver=0x428c690, event=0x7fff6bc20da0) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x00007ff6edc3c32c in QCoreApplication::notifyInternal (this=0x7fff6bc22940, receiver=0x428c690, event=0x7fff6bc20da0) at kernel/qcoreapplication.cpp:915
#50 0x00007ff6ee68ae44 in sendEvent (event=0x7fff6bc20da0, receiver=0x428c690) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#51 QWidgetPrivate::hide_helper (this=0x3463090) at kernel/qwidget.cpp:7637
#52 0x00007ff6ee68cb78 in QWidget::setVisible (this=0x428c690, visible=<optimized out>) at kernel/qwidget.cpp:7810
#53 0x00007ff6eeb0b2a3 in QDialog::setVisible (this=0x428c690, visible=<optimized out>) at dialogs/qdialog.cpp:793
#54 0x00007ff6eeb0a614 in hide (this=0x428c690) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:498
#55 QDialog::done (this=<optimized out>, r=0) at dialogs/qdialog.cpp:591
#56 0x00007ff6ef2ca49c in KDialog::slotButtonClicked (this=0x428c690, button=32) at ../../kdeui/dialogs/kdialog.cpp:912
#57 0x00007ff6ef2ca9a4 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#58 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdialog.moc:127
#59 0x00007ff6edc50781 in QMetaObject::activate (sender=0x6a39b90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6bc210a0) at kernel/qobject.cpp:3547
#60 0x00007ff6edc5803e in QSignalMapper::mapped (this=<optimized out>, _t1=32) at .moc/release-shared/moc_qsignalmapper.cpp:115
#61 0x00007ff6edc585db in QSignalMapper::map (this=0x6a39b90, sender=0x2b8eed0) at kernel/qsignalmapper.cpp:266
#62 0x00007ff6edc50781 in QMetaObject::activate (sender=0x2b8eed0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6bc21230) at kernel/qobject.cpp:3547
#63 0x00007ff6eecca432 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#64 0x00007ff6eea07ece in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:548
#65 0x00007ff6eea0920b in QAbstractButtonPrivate::click (this=0x332dad0) at widgets/qabstractbutton.cpp:541
#66 0x00007ff6eea0947c in QAbstractButton::mouseReleaseEvent (this=0x2b8eed0, e=0x7fff6bc21b00) at widgets/qabstractbutton.cpp:1123
#67 0x00007ff6ee689fb4 in QWidget::event (this=0x2b8eed0, event=0x7fff6bc21b00) at kernel/qwidget.cpp:8371
#68 0x00007ff6ee6397b4 in notify_helper (e=0x7fff6bc21b00, receiver=0x2b8eed0, this=0x20a8760) at kernel/qapplication.cpp:4556
#69 QApplicationPrivate::notify_helper (this=0x20a8760, receiver=0x2b8eed0, e=0x7fff6bc21b00) at kernel/qapplication.cpp:4528
#70 0x00007ff6ee63ef2f in QApplication::notify (this=<optimized out>, receiver=0x2b8eed0, e=0x7fff6bc21b00) at kernel/qapplication.cpp:4099
#71 0x00007ff6ef375006 in KApplication::notify (this=0x7fff6bc22940, receiver=0x2b8eed0, event=0x7fff6bc21b00) at ../../kdeui/kernel/kapplication.cpp:311
#72 0x00007ff6edc3c32c in QCoreApplication::notifyInternal (this=0x7fff6bc22940, receiver=0x2b8eed0, event=0x7fff6bc21b00) at kernel/qcoreapplication.cpp:915
#73 0x00007ff6ee63a782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#74 QApplicationPrivate::sendMouseEvent (receiver=0x2b8eed0, event=0x7fff6bc21b00, alienWidget=0x2b8eed0, nativeWidget=0x428c690, buttonDown=0x2b8eed0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#75 0x00007ff6ee6b9b15 in QETWidget::translateMouseEvent (this=0x428c690, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#76 0x00007ff6ee6b8ace in QApplication::x11ProcessEvent (this=0x7fff6bc22940, event=0x7fff6bc223d0) at kernel/qapplication_x11.cpp:3732
#77 0x00007ff6ee6e2052 in x11EventSourceDispatch (s=0x20b5f60, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#78 0x00007ff6eb8c2d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#79 0x00007ff6eb8c3060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#80 0x00007ff6eb8c3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007ff6edc6b8bf in QEventDispatcherGlib::processEvents (this=0x2075b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#82 0x00007ff6ee6e1cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#83 0x00007ff6edc3ae62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#84 0x00007ff6edc3b0b7 in QEventLoop::exec (this=0x7fff6bc22770, flags=...) at kernel/qeventloop.cpp:204
#85 0x00007ff6edc40407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#86 0x00007ff6f10d0c2a in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_konqueror.so
#87 0x00007ff6f0c7776d in __libc_start_main (main=0x400640, argc=2, ubp_av=0x7fff6bc232f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6bc232e8) at libc-start.c:226
#88 0x0000000000400671 in _start ()


Reproducible: Always

Steps to Reproduce:
1. Open preferences, change default html engine to webkit, apply changes.
2. Now try to close or press OK. Browser should crash. If it doesn't, restart and try again (no matter, what is opened — some web page, bookmarks page or directory).
3. Change engine back to khtml, apply changes. Konqueror should not crash.
Actual Results:  
Crash

Expected Results:  
Should not crash

Rekonq doesn't crash, but after i changed file manager to konq, i prefer it as much as possible.
Comment 1 Andrew Crouthamel 2018-10-30 00:03:31 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-14 11:31:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-29 09:45:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!