Bug 225573

Summary: ark crashed during zip-delete operation
Product: [Applications] ark Reporter: Per (phobie) <kdebugs.phobie>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED WAITINGFORINFO    
Severity: crash CC: elvis.angelaccio, kdebugs.phobie, rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Per (phobie) 2010-02-05 02:12:38 UTC
Application that crashed: ark
Version of the application: 2.13
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-7.slh.4-sidux-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
- Selected some files on a autofs-smb-mount in Dolphin,
- r-clicked and selected compress --> as zip-archive.
- Opened the created zip-file with ark and mentioned that the files have been saved with a wired path
  (../../../../../../somedir/someautofssymlink/subdir1/subdir2/subdir3/subdir4/)
- Selected the root dir ".." and pressed the delete button
- Ark crashed

I am unable to reproduce the crash.
(The directory-structure is always wired)

The automounter lives in "/media/.auto/"
The symlink "/media/somedir/someautofssymlink" directs to "/media/.auto/somevirtualdir"
Path in Dolphin addressbar: "/media/somedir/someautofssymlink/subdir1/subdir2/subdir3/subdir4"
Real path: "/media/.auto/somevirtualdir/subdir1/subdir2/subdir3/subdir4"

 -- Backtrace:
Application: Ark (ark), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fe4159fd750 (LWP 6343))]

Thread 2 (Thread 0x7fe405ffa910 (LWP 6350)):
#0  0x00007fe412e20783 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe40f1960ac in g_main_context_poll (context=0x9ba4f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2904
#2  g_main_context_iterate (context=0x9ba4f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2586
#3  0x00007fe40f1963f0 in IA__g_main_context_iteration (context=0x9ba4f0, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#4  0x00007fe41353e3b6 in QEventDispatcherGlib::processEvents (this=0xa16bc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007fe413514562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe413514934 in QEventLoop::exec (this=0x7fe405ff9fd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fe41342d5a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007fe4155f5d10 in Kerfuffle::ThreadExecution::run (this=<value optimized out>) at ../../../ark/kerfuffle/threading.cpp:43
#9  0x00007fe4134304a5 in QThreadPrivate::start (arg=0xac1c50) at thread/qthread_unix.cpp:188
#10 0x00007fe40ef4173a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fe412e2b6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe4159fd750 (LWP 6343)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x797b70, receivedEntry=<value optimized out>, behaviour=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QList (this=0x797b70, receivedEntry=<value optimized out>, behaviour=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:111
#7  QForeachContainer (this=0x797b70, receivedEntry=<value optimized out>, behaviour=<value optimized out>) at /usr/include/qt4/QtCore/qglobal.h:2058
#8  ArchiveDirNode::find (this=0x797b70, receivedEntry=<value optimized out>, behaviour=<value optimized out>) at ../../../ark/part/archivemodel.cpp:138
#9  ArchiveModel::newEntry (this=0x797b70, receivedEntry=<value optimized out>, behaviour=<value optimized out>) at ../../../ark/part/archivemodel.cpp:740
#10 0x00007fe409a124b1 in ArchiveModel::qt_metacall (this=0x797b70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fe400013780) at ./archivemodel.moc:96
#11 0x00007fe4135256c8 in QObject::event (this=0x797b70, e=0x7fe4000030a0) at kernel/qobject.cpp:1110
#12 0x00007fe4139e401d in QApplicationPrivate::notify_helper (this=0x67f1b0, receiver=0x797b70, e=0x7fe4000030a0) at kernel/qapplication.cpp:4065
#13 0x00007fe4139ec07a in QApplication::notify (this=0x7ffff0df0ea0, receiver=0x797b70, e=0x7fe4000030a0) at kernel/qapplication.cpp:4030
#14 0x00007fe414ac8e06 in KApplication::notify (this=0x7ffff0df0ea0, receiver=0x797b70, event=0x7fe4000030a0) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007fe413515c9c in QCoreApplication::notifyInternal (this=0x7ffff0df0ea0, receiver=0x797b70, event=0x7fe4000030a0) at kernel/qcoreapplication.cpp:610
#16 0x00007fe4135168e4 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x664950) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x664950) at kernel/qcoreapplication.cpp:1247
#18 0x00007fe41353e7d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#19 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#20 0x00007fe40f19290e in g_main_dispatch (context=0x681d20) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:1960
#21 IA__g_main_context_dispatch (context=0x681d20) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2513
#22 0x00007fe40f1962c8 in g_main_context_iterate (context=0x681d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2591
#23 0x00007fe40f1963f0 in IA__g_main_context_iteration (context=0x681d20, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#24 0x00007fe41353e39c in QEventDispatcherGlib::processEvents (this=0x664160, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#25 0x00007fe413a7af1f in QGuiEventDispatcherGlib::processEvents (this=0x7fe4130afe60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x00007fe413514562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007fe413514934 in QEventLoop::exec (this=0x7ffff0df0df0, flags=...) at kernel/qeventloop.cpp:201
#28 0x00007fe413516ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x0000000000409966 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../ark/app/main.cpp:209

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-02-27 01:37:37 UTC
Can you please check if the issue persists with 4.3.5 or 4.4.0?
Comment 2 Per (phobie) 2010-02-27 04:35:25 UTC
Ark 4.4 is not yet available on Debian/Sid!
As told before I am unable to reproduce the crash.
The ".."-Problem still exists in the current 4:4.3.4-2.
Comment 3 Raphael Kubo da Costa 2010-10-24 05:46:05 UTC
Hi, would you please check if these problems still exist on more recent KDE releases?
Comment 4 Raphael Kubo da Costa 2010-12-08 02:19:21 UTC
Changing the default assignee in the currently open Ark bug reports to me.
Comment 5 Elvis Angelaccio 2015-10-09 16:43:46 UTC
I'm closing this bug due to the lack of response from the submitter. Feel free to reopen if you can reproduce it on a more recent version of Ark.