Bug 107760 - ark fails when attempting to extract multiple .zip files with the "Extract Here" konqueror menu option
Summary: ark fails when attempting to extract multiple .zip files with the "Extract He...
Status: RESOLVED DUPLICATE of bug 91158
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-20 02:22 UTC by David C Maurer
Modified: 2006-03-11 13:54 UTC (History)
1 user (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 David C Maurer 2005-06-20 02:22:17 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Fedora RPMs
Compiler:          3.4.2 
OS:                Linux

If I attempt to select multiple .zip files in a folder (10 .zip files or so), and select the "Extract->Extract Here" konquerer right-click menu option, ark fails to extract the contents of all selected .zip files.  Usually, it will only extract the contents of 1-4 of the selected files.

If I attempt to click "Extract->Extract Here" again on the same selected files, then ark does actually attempt to extract the contents of all selected .zip files.  In the process, ark opens a Please Wait dialog box for each .zip file I attempt to open.  Also, an Error Dialog box is opened for each .zip file that was already extracted before.

Besides that, ark apparently has another bug, one that hangs Konqueror and other apps because it's stuck in a loop or race condition that pegs the CPU usage.  If I attempt to "Extract Here" more than 15 .zip files at a time, ark hangs after attempting to open an individual dialog box for each .zip file.  I have usually have to kill X for the system to be released.

This bug is reproducible, and has been for versions of ark back to KDE 3.0 and before.
Comment 1 David C Maurer 2005-06-20 03:32:11 UTC
Ark will sometimes crash kicker with a signal 11.  Here is the Backtrace of the dump:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208117568 (LWP 7727)]
[KCrash handler]
#7  0x45c0f5bd in NETWinInfo::mappingState () from /usr/lib/libkdecore.so.4
#8  0x45c6a5f0 in KWin::WindowInfo::valid () from /usr/lib/libkdecore.so.4
#9  0xb7bd03e8 in Task::isIconified () from /usr/lib/libtaskmanager.so.1
#10 0xb7becc78 in TaskBarContainer::qt_invoke () from /usr/lib/libtaskbar.so.1
#11 0x48fd3cc6 in QButton::paintEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#12 0x48f79c9c in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x48ee50b9 in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x48ee524a in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#15 0x45bf6e08 in KApplication::notify () from /usr/lib/libkdecore.so.4
#16 0x48eb3680 in QWidget::repaint () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x48ee61fe in QApplication::sendPostedEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x48ee62a2 in QApplication::sendPostedEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x48e93418 in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x48efa755 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x48efa6ae in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#22 0x48ee42bb in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x4652eb90 in kdemain () from /usr/lib/libkdeinit_kicker.so
#24 0x080485e6 in ?? ()
#25 0x00000001 in ?? ()
#26 0xbfffe2f4 in ?? ()
#27 0x080496cc in ?? ()
#28 0x4893aff4 in ?? () from /lib/tls/libc.so.6
#29 0x00000000 in ?? ()
#30 0x480cac80 in ?? () from /lib/ld-linux.so.2
#31 0xbfffe2c8 in ?? ()
#32 0x48829e33 in __libc_start_main () from /lib/tls/libc.so.6
Comment 2 Dik Takken 2005-06-20 14:39:58 UTC
> ark hangs after attempting to open an individual dialog box for each .zip file

Might be related to the crashes you are getting. KWin sends updates to Kicker's taskbar applet which crashes. 

Could you try to reproduce the hanging konqueror and look which processes are eating your CPU time? Maybe Ark spawns so many processes that the desktop itself is having a hard time getting some CPU time to interact with the user.
Comment 3 David C Maurer 2005-06-24 21:41:59 UTC
When I reproduce the hang, ark appears to peg the CPU meter.  It does attempt to spawn multiple unzip processes, but these are listed as defunt in ps.  The unzip processes do not appear to be taking up cpu time.

Perhaps ark should only spawn one unzip child at a time to reduce overhead if multiple zip files are selected for extraction.

Comment 4 Haris Kouzinopoulos 2006-03-11 13:54:37 UTC

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