Bug 182958 - Ark crashes when changing the archive type
Summary: Ark crashes when changing the archive type
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
Keywords: triaged
: 191941 192682 196157 (view as bug list)
Depends on:
Reported: 2009-02-03 09:03 UTC by Toni Helenius
Modified: 2018-09-27 20:33 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:

Ark going down in flames (4.32 KB, text/plain)
2009-02-03 17:24 UTC, Toni Helenius

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Helenius 2009-02-03 09:03:59 UTC
Version:            (using KDE 4.2.0)
Installed from:    Ubuntu Packages

When creating an archive if the archive name is still left empty and user changes the archive type; instant crash.

Sorry, writing from Windows at work, I can't explain it better.
Comment 1 Dario Andres 2009-02-03 13:17:51 UTC
Can you reproduce it and post more info when you are at home?
When you said "change archive type" do you mean selecting the extension from the file-dialog combobox? or writing it ?
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here?
There is a related file-dialog bug reported.

Thanks :)
Comment 2 Toni Helenius 2009-02-03 17:24:53 UTC
Created attachment 30918 [details]
Ark going down in flames
Comment 3 Dario Andres 2009-02-03 17:30:23 UTC
Pasted backtrace from comment 2:

Application: Ark (ark), signal SIGSEGV

Thread 1 (Thread 0xb602a8d0 (LWP 6841)):
[KCrash Handler]
#6  0xb7cff558 in KDirModelNode::rowNumber (this=0x0) at /build/buildd/kde4libs-4.2.0/kio/kio/kdirmodel.cpp:115
#7  0xb7d035b9 in KDirModelPrivate::_k_slotDeleteItems (this=0x9389e28, items=@0xbfa8ed88) at /build/buildd/kde4libs-4.2.0/kio/kio/kdirmodel.cpp:472
#8  0xb7d05005 in KDirModel::qt_metacall (this=0x93893f0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfa8ecbc) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kio/kdirmodel.moc:78
#9  0xb6aa9a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb6aaa7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb7ce9333 in KDirLister::itemsDeleted (this=0x9389940, _t1=@0xbfa8ed88) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kio/kdirlister.moc:287
#12 0xb7cf5e6e in KDirLister::Private::emitChanges (this=0x9389328) at /build/buildd/kde4libs-4.2.0/kio/kio/kdirlister.cpp:1951
#13 0xb7cf6550 in KDirLister::emitChanges (this=0x9389940) at /build/buildd/kde4libs-4.2.0/kio/kio/kdirlister.cpp:1903
#14 0xb7ee0e0b in KDirOperator::updateDir (this=0x927f720) at /build/buildd/kde4libs-4.2.0/kfile/kdiroperator.cpp:1105
#15 0xb7f02dd6 in KFileWidgetPrivate::_k_slotFilterChanged (this=0x91dfeb0) at /build/buildd/kde4libs-4.2.0/kfile/kfilewidget.cpp:1318
#16 0xb7f03047 in KFileWidget::qt_metacall (this=0x91e04b8, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfa8eec8) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kfile/kfilewidget.moc:129
#17 0xb6aa9a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb6aaa7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb7ef74c7 in KFileFilterCombo::filterChanged (this=0x944ec68) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kfile/kfilefiltercombo.moc:80
#20 0xb7ef7743 in KFileFilterCombo::qt_metacall (this=0x944ec68, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa8f00c)
    at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kfile/kfilefiltercombo.moc:69
#21 0xb6aa9a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb6aaa7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb72a0ee3 in QComboBox::activated () from /usr/lib/libQtGui.so.4
#24 0xb72a31ee in ?? () from /usr/lib/libQtGui.so.4
#25 0xb72a5445 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb72aaa4e in QComboBox::qt_metacall () from /usr/lib/libQtGui.so.4
#27 0xb7b184ba in KComboBox::qt_metacall (this=0x944ec68, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfa8f20c) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kcombobox.moc:99
#28 0xb7ef76fa in KFileFilterCombo::qt_metacall (this=0x944ec68, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfa8f20c)
    at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kfile/kfilefiltercombo.moc:64
#29 0xb6aa9a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb6aaa7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb7535fa3 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb72a2c79 in ?? () from /usr/lib/libQtGui.so.4
#33 0xb6a9404a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#34 0xb6f468ca in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#35 0xb6f4f0e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#36 0xb7a5ffed in KApplication::notify (this=0xbfa900d4, receiver=0x944f278, event=0xbfa8f738) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#37 0xb6a94e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#38 0xb6f4e36e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#39 0xb6fb88de in ?? () from /usr/lib/libQtGui.so.4
#40 0xb6fb79e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#41 0xb6fe17aa in ?? () from /usr/lib/libQtGui.so.4
#42 0xb63576f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb635ada3 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0xb635af61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb6abf478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#46 0xb6fe0ea5 in ?? () from /usr/lib/libQtGui.so.4
#47 0xb6a9352a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#48 0xb6a936ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#49 0xb73b3987 in QDialog::exec () from /usr/lib/libQtGui.so.4
#50 0x080590ed in _start ()

Comment 4 Toni Helenius 2009-02-03 17:35:39 UTC
Yes, sorry for the lack of detail. It actually doesn't seem to happen EVERY TIME, only when I have chosen to compress a folder. And then no matter what is or what is not filled on the dialog "compress to archive" --> every time  I select the archive type from the combobox --> KRASH!

So to reproduce:
1) Right-click a folder in Dolphin
2) Select Compress -> Add to archive...
3) Try the filter combobox...
Comment 5 Dario Andres 2009-02-03 17:52:40 UTC
This may be related to bug 176916 (also related to filter changes on a file
Comment 6 Alexey Shildyakov 2009-05-08 00:14:30 UTC
Crash for me not every time too. And not when i compress folder. I tried to compress folder in my home directory and it's ok.
My problem is:
1) I have some access points in quick launch toolbar in Dolpin. This quick access points (path to folder) is for all applications not for Dolphin only.
2) I have point "A" for path: "/tmp/test/"
3) I have point "B" for path: "/tmp/test/new_folder/"

It's compressed successfull outside point "B" also in /tmp/test/ directory.
When i try to compress file (or folder) or folder in point "B" (path started from "/tmp/test/new_folder" directory) and change type of archive Ark crashed.
Comment 7 Dario Andres 2009-05-15 00:25:17 UTC
*** Bug 191941 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2009-06-12 15:38:31 UTC
*** Bug 196157 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Stachowski 2009-08-30 12:36:52 UTC
*** Bug 192682 has been marked as a duplicate of this bug. ***
Comment 10 Alexey Shildyakov 2010-09-01 07:10:42 UTC
Cannot reproduce this in Ark 2.15 using KDE 4.5.0
Comment 11 Christoph Feck 2013-09-12 21:40:46 UTC
This crash report is at least 3 years old and there were no further comments or status updates since then.

Therefore we believe that this crash is already fixed in recent KDE 4 versions or the backtrace is no longer applicable to the current KDE 4 sources.

If the crash still happens with a recent KDE version (4.10.5 or 4.11), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or CONFIRMED)
Comment 12 Andrew Crouthamel 2018-09-24 02:22:17 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 set the bug status 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 13 Alexey Shildyakov 2018-09-27 06:23:57 UTC
I couldn't reproduce this on current system Ark 17.12.3
Comment 14 Andrew Crouthamel 2018-09-27 20:33:54 UTC
Great, thanks for the update!