Bug 287567 - Crash in kark after viewing embedded HTML
Summary: Crash in kark after viewing embedded HTML
Status: RESOLVED DUPLICATE of bug 283924
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-25 18:11 UTC by Darin McBride
Modified: 2012-04-03 19:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin McBride 2011-11-25 18:11:37 UTC
Application: ark (2.17)
KDE Platform Version: 4.7.3 (4.7.3) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 3.0.6-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

I used kark to open a zip file with an embedded htm file.  After reading that htm file, I closed the html window. Then I closed kark.  And I got this crash.

While I've tagged a possible similar one, the other report said that if they closed the khtml window first it didn't crash, whereas I do close that window first and still get the crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb42cda0780 (LWP 16175))]

Thread 2 (Thread 0x7fb4196dd700 (LWP 16183)):
#0  0x00007fb42771f56c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fb4130514fd in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fb413051609 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fb42771ac1a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb429ae1e7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb42cda0780 (LWP 16175)):
[KCrash Handler]
#6  QMetaObject::cast (this=0x7fb4186a2360, obj=0xee8720) at kernel/qmetaobject.cpp:267
#7  0x00007fb41846f339 in WebKitBrowserExtension::view() () from /usr/lib64/kde4/kwebkitpart.so
#8  0x00007fb418471e83 in WebKitBrowserExtension::saveHistoryState() () from /usr/lib64/kde4/kwebkitpart.so
#9  0x00007fb418464391 in KWebKitPart::~KWebKitPart() () from /usr/lib64/kde4/kwebkitpart.so
#10 0x00007fb42c49a83a in KParts::Part::slotWidgetDestroyed (this=0xeee340) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3/kparts/part.cpp:353
#11 0x00007fb42c49a914 in KParts::Part::qt_metacall (this=0xeee340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff44280760) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3_build/kparts/part.moc:82
#12 0x00007fb42c49bae5 in KParts::ReadOnlyPart::qt_metacall (this=0xeee340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff44280760) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3_build/kparts/part.moc:168
#13 0x00007fb418463865 in KWebKitPart::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/kwebkitpart.so
#14 0x00007fb42a234f7f in QMetaObject::activate (sender=0xeed2f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3278
#15 0x00007fb42a23558f in QObject::destroyed (this=0xee8720, _t1=0xeed2f0) at .moc/debug-shared/moc_qobject.cpp:149
#16 0x00007fb42a236587 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:843
#17 0x00007fb42ac95f26 in QWidget::~QWidget (this=0xeed2f0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1508
#18 0x00007fb42ac962c9 in QWidget::~QWidget (this=0xeed2f0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1651
#19 0x00007fb42a22d590 in QObjectPrivate::deleteChildren (this=0xee00d0) at kernel/qobject.cpp:1955
#20 0x00007fb42ac95e9b in QWidget::~QWidget (this=0xed9070, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1631
#21 0x00007fb42bba6299 in KVBox::~KVBox (this=0xed9070, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3/kdeui/widgets/kvbox.cpp:29
#22 0x00007fb42a22d590 in QObjectPrivate::deleteChildren (this=0xee2d90) at kernel/qobject.cpp:1955
#23 0x00007fb42ac95e9b in QWidget::~QWidget (this=0xed5100, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1631
#24 0x00007fb41b253bf9 in ArkViewer::~ArkViewer (this=0xed5100, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/ark-4.7.3/work/ark-4.7.3/ark/part/arkviewer.cpp:58
#25 0x00007fb42a22d590 in QObjectPrivate::deleteChildren (this=0xd28ad0) at kernel/qobject.cpp:1955
#26 0x00007fb42ac95e9b in QWidget::~QWidget (this=0xd7a180, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1631
#27 0x00007fb42b13f7f9 in QSplitter::~QSplitter (this=0xd7a180, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1056
#28 0x00007fb42c49a6a0 in KParts::Part::~Part (this=0xd49d60, __vtt_parm=0x7fb41b46d778, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3/kparts/part.cpp:209
#29 0x00007fb41b249aa1 in Ark::Part::~Part (this=0xd49d60, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /var/tmp/portage/kde-base/ark-4.7.3/work/ark-4.7.3/ark/part/part.cpp:131
#30 0x00007fb41b249af9 in Ark::Part::~Part (this=0xd49d60, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /var/tmp/portage/kde-base/ark-4.7.3/work/ark-4.7.3/ark/part/part.cpp:139
#31 0x000000000040ff6c in MainWindow::~MainWindow (this=0xc4a940, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /var/tmp/portage/kde-base/ark-4.7.3/work/ark-4.7.3/ark/app/mainwindow.cpp:72
#32 0x0000000000410009 in MainWindow::~MainWindow (this=0xc4a940, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /var/tmp/portage/kde-base/ark-4.7.3/work/ark-4.7.3/ark/app/mainwindow.cpp:74
#33 0x00007fb42a22db40 in QObject::event (this=0xc4a940, e=0xee8720) at kernel/qobject.cpp:1200
#34 0x00007fb42ac8ce3c in QWidget::event (this=0xc4a940, event=0x197f520) at kernel/qwidget.cpp:8718
#35 0x00007fb42b0f1b4b in QMainWindow::event (this=0xc4a940, event=0x197f520) at widgets/qmainwindow.cpp:1480
#36 0x00007fb42bbab440 in KXmlGuiWindow::event (this=0xc4a940, ev=0x197f520) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3/kdeui/xmlgui/kxmlguiwindow.cpp:126
#37 0x00007fb42ac2df44 in QApplicationPrivate::notify_helper (this=0xaf7870, receiver=0xc4a940, e=0x197f520) at kernel/qapplication.cpp:4462
#38 0x00007fb42ac3605d in QApplication::notify (this=<value optimized out>, receiver=0xc4a940, e=0x197f520) at kernel/qapplication.cpp:4341
#39 0x00007fb42baa7eb2 in KApplication::notify (this=0x7fff44281bf0, receiver=0xc4a940, event=0x197f520) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#40 0x00007fb42a21711b in QCoreApplication::notifyInternal (this=0x7fff44281bf0, receiver=0xc4a940, event=0x197f520) at kernel/qcoreapplication.cpp:731
#41 0x00007fb42a21be9b in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xad7bf0) at kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xad7bf0) at kernel/qcoreapplication.cpp:1372
#43 0x00007fb42a24bd33 in sendPostedEvents (s=0xafb720) at kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0xafb720) at kernel/qeventdispatcher_glib.cpp:277
#45 0x00007fb4262bf5c9 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#46 0x00007fb4262bff18 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#47 0x00007fb4262c00e4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#48 0x00007fb42a24b983 in QEventDispatcherGlib::processEvents (this=0xad7400, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#49 0x00007fb42acf1c5e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007fb42a215d12 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007fb42a2160f5 in QEventLoop::exec (this=0x7fff44281ab0, flags=) at kernel/qeventloop.cpp:201
#52 0x00007fb42a21c1ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#53 0x000000000040ea1c in main (argc=4, argv=0x7fff442827c8) at /var/tmp/portage/kde-base/ark-4.7.3/work/ark-4.7.3/ark/app/main.cpp:209

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

Possible duplicates by query: bug 283924.

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2012-04-03 12:13:46 UTC
Hmm, this looks like a problem in kwebkitpart, so reassigning to the right product. Are you still able to reproduce this?
Comment 2 Dawit Alemayehu 2012-04-03 19:32:35 UTC

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