Bug 289232

Summary: Ark crashes on rar archives after close when view archived html files.
Product: [Unmaintained] kdelibs Reporter: Mihail Kasadjikov <hamer.mk>
Component: kdewebkitAssignee: webkit-devel
Status: RESOLVED WORKSFORME    
Severity: crash CC: adawit, cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mihail Kasadjikov 2011-12-17 20:25:02 UTC
Application: ark (2.16)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.1.5-zen+ x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
Steps to reproduce:
open any rar archive with html files inside;
view any html file via "view" button;
close viewer;
close archive;
got segfault.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f1e77fff700 (LWP 23719)):
#0  0x00007f1e8fb70e63 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f1e9027db81 in QProcessManager::run (this=0x7f1e905cf840) at io/qprocess_unix.cpp:245
#2  0x00007f1e901b5c05 in QThreadPrivate::start (arg=0x7f1e905cf840) at thread/qthread_unix.cpp:320
#3  0x00007f1e8cac5b40 in start_thread (arg=<optimized out>) at pthread_create.c:304
#4  0x00007f1e8fb7736d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1e7ca83700 (LWP 23772)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1e7680cbc7 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f1e770bb4e0) at wtf/FastMalloc.cpp:2380
#2  0x00007f1e7680cd29 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1501
#3  0x00007f1e8cac5b40 in start_thread (arg=<optimized out>) at pthread_create.c:304
#4  0x00007f1e8fb7736d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1e92bdc760 (LWP 23717)):
[KCrash Handler]
#6  operator-> (this=0x20) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:113
#7  QHostAddress::isNull (this=0x20) at kernel/qhostaddress.cpp:858
#8  0x00007f1e77338050 in WebSslInfo::isValid() const () from /usr/lib/libkwebkit.so.1
#9  0x00007f1e77338360 in WebSslInfo::saveTo(QMap<QString, QVariant>&) const () from /usr/lib/libkwebkit.so.1
#10 0x00007f1e7732408e in KWebKitPartPrivate::slotSaveFrameState(QWebFrame*, QWebHistoryItem*) () from /usr/lib/libkwebkit.so.1
#11 0x00007f1e77326fc7 in KWebKitPartPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkwebkit.so.1
#12 0x00007f1e902aeafa in QMetaObject::activate (sender=0x1249cf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffff9d19f0) at kernel/qobject.cpp:3278
#13 0x00007f1e7657516f in QWebPage::saveFrameStateRequested (this=<optimized out>, _t1=0x1324a40, _t2=0x7fffff9d1a20) at ./moc_qwebpage.cpp:494
#14 0x00007f1e76555bce in WebCore::FrameLoaderClientQt::saveViewStateToItem (this=<optimized out>, item=0x7f1e7401dd80) at ../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:777
#15 0x00007f1e76327719 in saveScrollPositionAndViewStateToItem (item=0x7f1e7401dd80, this=0x7f1e74038580) at loader/HistoryController.cpp:69
#16 WebCore::HistoryController::saveScrollPositionAndViewStateToItem (this=0x7f1e74038580, item=0x7f1e7401dd80) at loader/HistoryController.cpp:62
#17 0x00007f1e7631d3bc in WebCore::FrameLoader::detachFromParent (this=0x7f1e74038458) at loader/FrameLoader.cpp:2638
#18 0x00007f1e7657ac1b in QWebPage::~QWebPage (this=0x1249cf0, __in_chrg=<optimized out>) at ../WebKit/qt/Api/qwebpage.cpp:2054
#19 0x00007f1e773329a3 in WebPage::~WebPage() () from /usr/lib/libkwebkit.so.1
#20 0x00007f1e773329d6 in WebPage::~WebPage() () from /usr/lib/libkwebkit.so.1
#21 0x00007f1e7657ff6e in QWebViewPrivate::detachCurrentPage (this=0x124d100) at ../WebKit/qt/Api/qwebview.cpp:372
#22 0x00007f1e7657ff93 in ~QWebViewPrivate (this=0x124d100, __in_chrg=<optimized out>) at ../WebKit/qt/Api/qwebview.cpp:60
#23 QWebViewPrivate::~QWebViewPrivate (this=0x124d100, __in_chrg=<optimized out>) at ../WebKit/qt/Api/qwebview.cpp:61
#24 0x00007f1e7657fcbf in QWebView::~QWebView (this=0x124a050, __in_chrg=<optimized out>) at ../WebKit/qt/Api/qwebview.cpp:329
#25 0x00007f1e7732cf35 in WebView::~WebView() () from /usr/lib/libkwebkit.so.1
#26 0x00007f1e7732cf70 in WebView::~WebView() () from /usr/lib/libkwebkit.so.1
#27 0x00007f1e902ad9b5 in QObjectPrivate::deleteChildren (this=0x1389a00) at kernel/qobject.cpp:1955
#28 0x00007f1e90d093f3 in QWidget::~QWidget (this=0x124bf70, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1631
#29 0x00007f1e90d09699 in QWidget::~QWidget (this=0x124bf70, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#30 0x00007f1e902ad9b5 in QObjectPrivate::deleteChildren (this=0x123d5f0) at kernel/qobject.cpp:1955
#31 0x00007f1e90d093f3 in QWidget::~QWidget (this=0x1229250, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1631
#32 0x00007f1e91ae1be9 in KVBox::~KVBox (this=0x1229250, __in_chrg=<optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#33 0x00007f1e902ad9b5 in QObjectPrivate::deleteChildren (this=0x122c4c0) at kernel/qobject.cpp:1955
#34 0x00007f1e90d093f3 in QWidget::~QWidget (this=0x1226f60, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1631
#35 0x00007f1e80d88829 in ?? () from /usr/lib/kde4/arkpart.so
#36 0x00007f1e902ad9b5 in QObjectPrivate::deleteChildren (this=0x10f2470) at kernel/qobject.cpp:1955
#37 0x00007f1e90d093f3 in QWidget::~QWidget (this=0x10e2f30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1631
#38 0x00007f1e911062e9 in QSplitter::~QSplitter (this=0x10e2f30, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#39 0x00007f1e922f13b3 in KParts::Part::~Part (this=0xf98000, __vtt_parm=0x7f1e80f9ba18, __in_chrg=<optimized out>) at ../../kparts/part.cpp:209
#40 0x00007f1e80d7c677 in ?? () from /usr/lib/kde4/arkpart.so
#41 0x00007f1e80d7c6c9 in ?? () from /usr/lib/kde4/arkpart.so
#42 0x000000000040e64d in _start ()

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2012-01-04 15:37:20 UTC
Cannot reproduce this bug. This is an old bug that has already bee fixed in kwebkitpart. Please make sure you have an up to date kwebkitpart package (v1.1 or v1.2) and reopen this ticket if the crash still happens for you.