Bug 261368 - ark crashes after extracting zip-file
Summary: ark crashes after extracting zip-file
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 262686 279464 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-27 14:03 UTC by Jens Weibler
Modified: 2012-02-10 13:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Weibler 2010-12-27 14:03:40 UTC
Application: ark (2.15)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

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

Downloaded http://www.mtjones.com/developerworks/pvtrace.zip and extracted it

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f9fa48c0700 (LWP 2462)):
#0  0x00007f9fb7774203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9fb33e0009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f9fb33e045c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f9fb7eb81e6 in QEventDispatcherGlib::processEvents (this=0x1427050, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f9fb7e8aa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f9fb7e8adec in QEventLoop::exec (this=0x7f9fa48bfdb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f9fb7d952fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f9fb7e6a5f8 in QInotifyFileSystemWatcherEngine::run (this=0x144ac50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9fb7d9827e in QThreadPrivate::start (arg=0x144ac50) at thread/qthread_unix.cpp:266
#9  0x00007f9fb55ff971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f9fb778092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9fba790760 (LWP 2460)):
[KCrash Handler]
#6  0x00007f9fb8dec197 in QItemSelectionModel::hasSelection (this=0x1080350) at itemviews/qitemselectionmodel.cpp:1403
#7  0x00007f9f9dd9d6b1 in DolphinView::statusBarText (this=0x155cd20) at ../../../../apps/dolphin/src/dolphinview.cpp:483
#8  0x00007f9f9dfe330d in DolphinPart::updateStatusBar (this=0x1550a40) at ../../../../apps/dolphin/src/dolphinpart.cpp:611
#9  0x00007f9f9dfe5ded in DolphinPart::qt_metacall (this=0x1550a40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff08f5bff0) at ./dolphinpart.moc:144
#10 0x00007f9fb7ea3b27 in QMetaObject::activate (sender=0x15537c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff08f5bff0) at kernel/qobject.cpp:3280
#11 0x00007f9fb9abc536 in KDirListerCache::forgetDirs (this=0x1562840, lister=0x155cd20) at ../../kio/kio/kdirlister.cpp:452
#12 0x00007f9fb9abf8e8 in KDirLister::~KDirLister (this=0x15537c0, __in_chrg=<value optimized out>) at ../../kio/kio/kdirlister.cpp:1949
#13 0x00007f9f9dfe2e8a in DolphinPart::~DolphinPart (this=0x1550a40, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../apps/dolphin/src/dolphinpart.cpp:150
#14 0x00007f9fb9e8c250 in KParts::Part::slotWidgetDestroyed (this=0x1550a40) at ../../kparts/part.cpp:354
#15 0x00007f9fb9e8c34c in KParts::Part::qt_metacall (this=0x1550a40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff08f5c2e0) at ./part.moc:82
#16 0x00007f9fb9e8d235 in KParts::ReadOnlyPart::qt_metacall (this=0x1080350, _c=22400288, _id=0, _a=0x7fff08f5bff0) at ./part.moc:166
#17 0x00007f9f9dfe5b85 in DolphinPart::qt_metacall (this=0x1080350, _c=22400288, _id=0, _a=0x7fff08f5bff0) at ./dolphinpart.moc:120
#18 0x00007f9fb7ea3b27 in QMetaObject::activate (sender=0x155cd20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff08f5bff0) at kernel/qobject.cpp:3280
#19 0x00007f9fb7ea406f in QObject::destroyed (this=0x1080350, _t1=0x155cd20) at .moc/release-shared/moc_qobject.cpp:149
#20 0x00007f9fb7ea4fd7 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:842
#21 0x00007f9fb889d22b in QWidget::~QWidget (this=0x155cd20, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1609
#22 0x00007f9f9dd99eff in DolphinView::~DolphinView (this=0x155cd20, __in_chrg=<value optimized out>) at ../../../../apps/dolphin/src/dolphinview.cpp:167
#23 0x00007f9fb7e9dd5f in QObjectPrivate::deleteChildren (this=0x1549a20) at kernel/qobject.cpp:1957
#24 0x00007f9fb889d168 in QWidget::~QWidget (this=0x153fa80, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#25 0x00007f9fb96aa6e1 in KVBox::~KVBox (this=0x1080350, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#26 0x00007f9fb7e9dd5f in QObjectPrivate::deleteChildren (this=0x1541ac0) at kernel/qobject.cpp:1957
#27 0x00007f9fb889d168 in QWidget::~QWidget (this=0x1473610, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#28 0x00007f9faa0d9c0a in ArkViewer::~ArkViewer (this=0x1473610, __in_chrg=<value optimized out>) at ../../../ark/part/arkviewer.cpp:57
#29 0x00007f9fb7e9dd5f in QObjectPrivate::deleteChildren (this=0x11998e0) at kernel/qobject.cpp:1957
#30 0x00007f9fb889d168 in QWidget::~QWidget (this=0x11ad730, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#31 0x00007f9fb8cc34a8 in QSplitter::~QSplitter (this=0x11ad730, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1056
#32 0x00007f9fb9e8c84d in KParts::Part::~Part (this=0x11b4ee0, __vtt_parm=0x7f9faa2ec838, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:208
#33 0x00007f9faa0ce3fb in Ark::Part::~Part (this=0x11b4ee0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/part/part.cpp:133
#34 0x000000000040e34b in MainWindow::~MainWindow (this=0x1178e80, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/app/mainwindow.cpp:74
#35 0x00007f9fb7e9dc08 in QObject::event (this=0x1178e80, e=0x155cd20) at kernel/qobject.cpp:1202
#36 0x00007f9fb88976df in QWidget::event (this=0x1178e80, event=0x1663950) at kernel/qwidget.cpp:8646
#37 0x00007f9fb8c7f41b in QMainWindow::event (this=0x1178e80, event=0x1663950) at widgets/qmainwindow.cpp:1417
#38 0x00007f9fb96b0683 in KXmlGuiWindow::event (this=0x1080350, ev=0x155cd20) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:130
#39 0x00007f9fb8841fdc in QApplicationPrivate::notify_helper (this=0x109a7d0, receiver=0x1178e80, e=0x1663950) at kernel/qapplication.cpp:4396
#40 0x00007f9fb8847aed in QApplication::notify (this=0x7fff08f5d5f0, receiver=0x1178e80, e=0x1663950) at kernel/qapplication.cpp:4277
#41 0x00007f9fb9594156 in KApplication::notify (this=0x7fff08f5d5f0, receiver=0x1178e80, event=0x1663950) at ../../kdeui/kernel/kapplication.cpp:310
#42 0x00007f9fb7e8bcdc in QCoreApplication::notifyInternal (this=0x7fff08f5d5f0, receiver=0x1178e80, event=0x1663950) at kernel/qcoreapplication.cpp:732
#43 0x00007f9fb7e8ec22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1080350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1080350) at kernel/qcoreapplication.cpp:1373
#45 0x00007f9fb7eb8653 in sendPostedEvents (s=0x109e390) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=0x109e390) at kernel/qeventdispatcher_glib.cpp:277
#47 0x00007f9fb33dc342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x00007f9fb33e02a8 in ?? () from /lib/libglib-2.0.so.0
#49 0x00007f9fb33e045c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x00007f9fb7eb8193 in QEventDispatcherGlib::processEvents (this=0x107fe60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#51 0x00007f9fb88f4a4e in QGuiEventDispatcherGlib::processEvents (this=0x1080350, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f9fb7e8aa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#53 0x00007f9fb7e8adec in QEventLoop::exec (this=0x7fff08f5d540, flags=) at kernel/qeventloop.cpp:201
#54 0x00007f9fb7e8eebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#55 0x000000000040d757 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../ark/app/main.cpp:209

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

Possible duplicates by query: bug 247251.

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-12-28 02:08:05 UTC
What if you open Ark outside Dolphin and try to extract the file?
Comment 2 Jens Weibler 2010-12-28 02:30:12 UTC
I might found the important step to reproduce it: click (or doubleclick - depending on your settings) on the folder pvtrace. An empty window opens which I closed. Now just close ark and the crash occurs.
Comment 3 Raphael Kubo da Costa 2010-12-28 13:31:19 UTC
Two things are involved here:

 * Info-Zip's zipinfo, which is used by Ark to list the archive's contents, incorrectly does not detect that 'pvtrace' is a directory -- otherwise, you shouldn't be able to launch the previewer when clicking on it. I've reported the issue upstream: http://www.info-zip.org/board/board.pl?m-1293539195/

 * The crash is related to the Dolphin Part that is launched when the directory is previewed, so I'm reassigning it to Peter Penz (Dolphin's maintainer) so he can check if this has already been fixed (I can't reproduce it on trunk).

Thanks for the report.
Comment 4 David Faure 2011-10-20 13:05:30 UTC
*** Bug 279464 has been marked as a duplicate of this bug. ***
Comment 5 Peter Penz 2012-02-10 13:23:28 UTC
*** Bug 262686 has been marked as a duplicate of this bug. ***