Bug 108815 - Konqueror crashes when image files are rapidly deleted, apparently caused by problems with file previewing.
Summary: Konqueror crashes when image files are rapidly deleted, apparently caused by ...
Status: RESOLVED DUPLICATE of bug 96405
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 3.4.1
Platform: FreeBSD Ports FreeBSD
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 18:15 UTC by Nick Fishman
Modified: 2005-07-10 01:10 UTC (History)
0 users

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 Nick Fishman 2005-07-09 18:15:34 UTC
Version:           3.4.1 (using KDE KDE 3.4.1)
Installed from:    FreeBSD Ports
Compiler:          gcc version 3.4.2 [FreeBSD] 20040728 Thread model: posix
OS:                FreeBSD

I have only tested this issue with Konqueror in local browsing (i.e. not ftp, fish, etc). This seems to affect Konqueror only when “Show file tips” is enabled in the Konqueror preferences. 

The problem is caused by file previewing when rapidly deleting files in Konqueror. In my case, I have only tried this with JPG images, but I'm sure this problem occurs with other file types that are supported by popup-previewing. 

Reproduction: Take a single image file and copy it 5 or 6 times to produce dummy files that will be deleted. Move the mouse over one of the files to see the thumbnail. Quickly click the first image file and -immediately- press Delete on the keyboard. Immediately click the next image file in the directory and immediately press the Delete button again. Konqueror crashes with a segmentation fault. 

This problem disappears when "Show file tips" is disabled in Konqueror preferences. The problem does NOT go away after unsetting the sub-option of “Show previews in file tips”.

This problem occurs both on KDE 3.4.1 and on KDE 3.4, the former on a FreeBSD 5.4-STABLE machine and the latter on a FreeBSD 5.3-RELEASE machine. 

Backtraces 1 and 2 are from a FreeBSD 5.4-STABLE machine running KDE 3.4.1. Backtraces 3 and 4 are from a FreeBSD 5.3-RELEASE machine running KDE 3.4.0. 

Backtrace 1:
[Switching to LWP 100120]
0x292beaaf in wait4 () from /lib/libc.so.5
#0  0x292beaaf in wait4 () from /lib/libc.so.5
#1  0x292aff0f in waitpid () from /lib/libc.so.5
#2  0x292530ad in waitpid () from /usr/lib/libpthread.so.1
#3  0x287b5da2 in KCrash::defaultCrashHandler ()
   from /usr/local/lib/libkdecore.so.6
#4  0x29259928 in sigaction () from /usr/lib/libpthread.so.1
#5  0xbfbfff94 in ?? ()
#6  0x0000000b in ?? ()
#7  0xbfbfd5b0 in ?? ()
#8  0xbfbfd2f0 in ?? ()
#9  0x00000000 in ?? ()
#10 0x2925958c in sigaction () from /usr/lib/libpthread.so.1
#11 0x2828b1e2 in KFileItem::mostLocalURL () from /usr/local/lib/libkio.so.6
#12 0x2828bb1a in KFileItem::determineMimeType ()
   from /usr/local/lib/libkio.so.6
#13 0x2828bd7b in KFileItem::mimetype () from /usr/local/lib/libkio.so.6
#14 0x282b3f21 in KIO::PreviewJob::startPreview ()
   from /usr/local/lib/libkio.so.6
#15 0x282b47d7 in KIO::PreviewJob::qt_invoke ()
   from /usr/local/lib/libkio.so.6
#16 0x28be53ba in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#17 0x28ee24b1 in QSignal::signal () from /usr/X11R6/lib/libqt-mt.so.3
#18 0x28bfd214 in QSignal::activate () from /usr/X11R6/lib/libqt-mt.so.3
#19 0x28c04603 in QSingleShotTimer::event () from /usr/X11R6/lib/libqt-mt.so.3
#20 0x28b8c941 in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#21 0x28b8bd6e in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#22 0x2872a344 in KApplication::notify () from /usr/local/lib/libkdecore.so.6
#23 0x28b7cdbe in QEventLoop::activateTimers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#24 0x28b3c71c in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#25 0x28b9db2f in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#26 0x28b9da88 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#27 0x28b8ca98 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#28 0x296e1e3e in kdemain () from /usr/local/lib/libkdeinit_konqueror.so
#29 0x29696772 in kdeinitmain () from /usr/local/lib/kde3/konqueror.so
#30 0x0804dfe2 in execpath_avoid_loops ()
#31 0x0804e740 in execpath_avoid_loops ()
#32 0x0804eded in execpath_avoid_loops ()
#33 0x0804f41c in main ()

Backtrace 2:
[Switching to LWP 100106]
0x292beaaf in wait4 () from /lib/libc.so.5
#0  0x292beaaf in wait4 () from /lib/libc.so.5
#1  0x292aff0f in waitpid () from /lib/libc.so.5
#2  0x292530ad in waitpid () from /usr/lib/libpthread.so.1
#3  0x287b5da2 in KCrash::defaultCrashHandler ()
   from /usr/local/lib/libkdecore.so.6
#4  0x29259928 in sigaction () from /usr/lib/libpthread.so.1
#5  0xbfbfff94 in ?? ()
#6  0x0000000b in ?? ()
#7  0xbfbfd5b0 in ?? ()
#8  0xbfbfd2f0 in ?? ()
#9  0x00000000 in ?? ()
#10 0x2925958c in sigaction () from /usr/lib/libpthread.so.1
#11 0x2828b1e2 in KFileItem::mostLocalURL () from /usr/local/lib/libkio.so.6
#12 0x2828bb1a in KFileItem::determineMimeType ()
   from /usr/local/lib/libkio.so.6
#13 0x2828bd7b in KFileItem::mimetype () from /usr/local/lib/libkio.so.6
#14 0x282b3f21 in KIO::PreviewJob::startPreview ()
   from /usr/local/lib/libkio.so.6
#15 0x282b47d7 in KIO::PreviewJob::qt_invoke ()
   from /usr/local/lib/libkio.so.6
#16 0x28be53ba in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#17 0x28ee24b1 in QSignal::signal () from /usr/X11R6/lib/libqt-mt.so.3
#18 0x28bfd214 in QSignal::activate () from /usr/X11R6/lib/libqt-mt.so.3
#19 0x28c04603 in QSingleShotTimer::event () from /usr/X11R6/lib/libqt-mt.so.3
#20 0x28b8c941 in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#21 0x28b8bd6e in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#22 0x2872a344 in KApplication::notify () from /usr/local/lib/libkdecore.so.6
#23 0x28b7cdbe in QEventLoop::activateTimers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#24 0x28b3c71c in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#25 0x28b9db2f in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#26 0x28b9da88 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#27 0x28b8ca98 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#28 0x296e1e3e in kdemain () from /usr/local/lib/libkdeinit_konqueror.so
#29 0x29696772 in kdeinitmain () from /usr/local/lib/kde3/konqueror.so
#30 0x0804dfe2 in execpath_avoid_loops ()
#31 0x0804e740 in execpath_avoid_loops ()
#32 0x0804eded in execpath_avoid_loops ()
#33 0x0804f41c in main ()

Backtrace 3:
[Switching to LWP 100160]
0x293434d7 in wait4 () from /lib/libc.so.5
#0  0x293434d7 in wait4 () from /lib/libc.so.5
#1  0x293348df in waitpid () from /lib/libc.so.5
#2  0x292d8089 in waitpid () from /usr/lib/libpthread.so.1
#3  0x28831135 in KCrash::defaultCrashHandler ()
   from /usr/local/lib/libkdecore.so.6
#4  0x292de6ef in sigaction () from /usr/lib/libpthread.so.1
#5  0xbfbfff94 in ?? ()
#6  0x0000000b in ?? ()
#7  0xbfbfdb40 in ?? ()
#8  0xbfbfd880 in ?? ()
#9  0x00000000 in ?? ()
#10 0x292de41c in sigaction () from /usr/lib/libpthread.so.1
#11 0x282c3e32 in KFileItem::mostLocalURL () from /usr/local/lib/libkio.so.6
#12 0x282c0ef4 in KFileItem::determineMimeType ()
   from /usr/local/lib/libkio.so.6
#13 0x282c0e84 in KFileItem::mimetype () from /usr/local/lib/libkio.so.6
#14 0x282e5c50 in KIO::PreviewJob::startPreview ()
   from /usr/local/lib/libkio.so.6
#15 0x282e4de7 in KIO::PreviewJob::qt_invoke ()
   from /usr/local/lib/libkio.so.6
#16 0x28c6a972 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#17 0x28f68191 in QSignal::signal () from /usr/X11R6/lib/libqt-mt.so.3
#18 0x28c827cc in QSignal::activate () from /usr/X11R6/lib/libqt-mt.so.3
#19 0x28c89bbb in QSingleShotTimer::event () from /usr/X11R6/lib/libqt-mt.so.3
#20 0x28c11e91 in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#21 0x28c112be in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#22 0x287a26c1 in KApplication::notify () from /usr/local/lib/libkdecore.so.6
#23 0x28c0230e in QEventLoop::activateTimers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#24 0x28bc1078 in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#25 0x28c230eb in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#26 0x28c23044 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#27 0x28c11fe8 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#28 0x2977785c in kdemain () from /usr/local/lib/libkdeinit_konqueror.so
#29 0x2971c772 in kdeinitmain () from /usr/local/lib/kde3/konqueror.so
#30 0x0804dc7f in execpath_avoid_loops ()
#31 0x0804ec95 in execpath_avoid_loops ()
#32 0x0804f11c in execpath_avoid_loops ()
#33 0x080504b8 in main ()

Backtrace 4:
[Switching to LWP 100113]
0x293434d7 in wait4 () from /lib/libc.so.5
#0  0x293434d7 in wait4 () from /lib/libc.so.5
#1  0x293348df in waitpid () from /lib/libc.so.5
#2  0x292d8089 in waitpid () from /usr/lib/libpthread.so.1
#3  0x28831135 in KCrash::defaultCrashHandler ()
   from /usr/local/lib/libkdecore.so.6
#4  0x292de6ef in sigaction () from /usr/lib/libpthread.so.1
#5  0xbfbfff94 in ?? ()
#6  0x0000000b in ?? ()
#7  0xbfbfda40 in ?? ()
#8  0xbfbfd780 in ?? ()
#9  0x00000000 in ?? ()
#10 0x292de41c in sigaction () from /usr/lib/libpthread.so.1
#11 0x282c0740 in KFileItem::localPath () from /usr/local/lib/libkio.so.6
#12 0x282c3e32 in KFileItem::mostLocalURL () from /usr/local/lib/libkio.so.6
#13 0x282c3d55 in KFileItem::metaInfo () from /usr/local/lib/libkio.so.6
#14 0x282c22e6 in KFileItem::getToolTipText () from /usr/local/lib/libkio.so.6
#15 0x296f01a8 in KonqFileTip::showTip () from /usr/local/lib/libkonq.so.6
#16 0x296f0607 in KonqFileTip::qt_invoke () from /usr/local/lib/libkonq.so.6
#17 0x28c6a972 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#18 0x28c6a886 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#19 0x28f6a0b6 in QTimer::timeout () from /usr/X11R6/lib/libqt-mt.so.3
#20 0x28c89935 in QTimer::event () from /usr/X11R6/lib/libqt-mt.so.3
#21 0x28c11e91 in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#22 0x28c112be in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#23 0x287a26c1 in KApplication::notify () from /usr/local/lib/libkdecore.so.6
#24 0x28c0230e in QEventLoop::activateTimers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#25 0x28bc1078 in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#26 0x28c230eb in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#27 0x28c23044 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#28 0x28c11fe8 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#29 0x2977785c in kdemain () from /usr/local/lib/libkdeinit_konqueror.so
#30 0x2971c772 in kdeinitmain () from /usr/local/lib/kde3/konqueror.so
#31 0x0804dc7f in execpath_avoid_loops ()
#32 0x0804ec95 in execpath_avoid_loops ()
#33 0x0804f11c in execpath_avoid_loops ()
#34 0x080504b8 in main ()
Comment 1 Maksim Orlovich 2005-07-10 01:10:16 UTC
Fixed for the upcoming 3.4.2. You can use the iconview as a workaround

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