Bug 50722

Summary: moving a directory where the thumbnailer is currently working can crash konqueror
Product: [Applications] konqueror Reporter: Jens Dagerbo <jens.dagerbo>
Component: generalAssignee: Maksim Orlovich <maksim>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jens Dagerbo 2002-11-14 21:08:52 UTC
Version:           3.0.99 (using KDE 3.0.9)
Compiler:          gcc version 3.2
OS:          Linux (i686) release 2.4.19-gentoo-r10

1. use sidebar tree to enter a directory of non-thumbnailed images
2. before the thumbnailer is done with the images, move the directory, using the sidebar tree, to a location closer to the root of the filesystem

-> crash.

(I could not cause this crash when moving the dir away from the file system root, but have done it 5 times when moving it "upwards". seems quite reproducible.)

backtrace:

[New Thread 1024 (LWP 5912)]
0x411ce439 in wait4 () from /lib/libc.so.6
#0  0x411ce439 in wait4 () from /lib/libc.so.6
#1  0x4124ab10 in __DTOR_END__ () from /lib/libc.so.6
#2  0x410152b5 in waitpid () from /lib/libpthread.so.0
#3  0x4069bb90 in KCrash::defaultCrashHandler(int) ()
   from /opt/kdecvs/lib/libkdecore.so.4
#4  0x41012f76 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x409ce226 in QShared::ref() (this=0xbfffe240) at ../include/qshared.h:49
#7  0x40d307f9 in QString::operator=(QString const&) (this=0xbfffe240, 
    s=@0x8365e18) at tools/qstring.cpp:13384
#8  0x406a1806 in KURL::operator=(KURL const&) ()
   from /opt/kdecvs/lib/libkdecore.so.4
#9  0x4069e7df in KURL::KURL(KURL const&) ()
   from /opt/kdecvs/lib/libkdecore.so.4
#10 0x4023ceda in KIO::PreviewJob::determineNextFile() ()
   from /opt/kdecvs/lib/libkio.so.4
#11 0x4023d76a in KIO::PreviewJob::slotResult(KIO::Job*) ()
   from /opt/kdecvs/lib/libkio.so.4
#12 0x4023b4f9 in KIO::PreviewJob::qt_invoke(int, QUObject*) ()
   from /opt/kdecvs/lib/libkio.so.4
#13 0x40a8f601 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x84fb058, clist=0x840b610, o=0xbfffe450) at kernel/qobject.cpp:2214
#14 0x4016c5a2 in KIO::Job::result(KIO::Job*) ()
   from /opt/kdecvs/lib/libkio.so.4
#15 0x40155f8a in KIO::Job::emitResult() () from /opt/kdecvs/lib/libkio.so.4
#16 0x40157b9e in KIO::SimpleJob::slotFinished() ()
   from /opt/kdecvs/lib/libkio.so.4
#17 0x4015a431 in KIO::TransferJob::slotFinished() ()
   from /opt/kdecvs/lib/libkio.so.4
#18 0x4016deed in KIO::TransferJob::qt_invoke(int, QUObject*) ()
   from /opt/kdecvs/lib/libkio.so.4
#19 0x40a8f601 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x8416418, clist=0x8407948, o=0xbfffe800) at kernel/qobject.cpp:2214
#20 0x40a8f4e2 in QObject::activate_signal(int) (this=0x8416418, signal=6)
    at kernel/qobject.cpp:2188
#21 0x40148ede in KIO::SlaveInterface::finished() ()
   from /opt/kdecvs/lib/libkio.so.4
#22 0x401462e7 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) ()
   from /opt/kdecvs/lib/libkio.so.4
#23 0x401455e0 in KIO::SlaveInterface::dispatch() ()
   from /opt/kdecvs/lib/libkio.so.4
#24 0x40142358 in KIO::Slave::gotInput() () from /opt/kdecvs/lib/libkio.so.4
#25 0x40144a80 in KIO::Slave::qt_invoke(int, QUObject*) ()
   from /opt/kdecvs/lib/libkio.so.4
#26 0x40a8f601 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x83fed30, clist=0x8119198, o=0xbfffebf0) at kernel/qobject.cpp:2214
#27 0x40a8f84c in QObject::activate_signal(int, int) (this=0x83fed30, 
    signal=2, param=25) at kernel/qobject.cpp:2279
#28 0x40d9b411 in QSocketNotifier::activated(int) (this=0x83fed30, t0=25)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:86
#29 0x40aaf407 in QSocketNotifier::event(QEvent*) (this=0x83fed30, 
    e=0xbfffeeb0) at kernel/qsocketnotifier.cpp:268
#30 0x40a28d57 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff2a0, receiver=0x83fed30, e=0xbfffeeb0)
    at kernel/qapplication.cpp:2303
#31 0x40a28390 in QApplication::notify(QObject*, QEvent*) (this=0xbffff2a0, 
    receiver=0x83fed30, e=0xbfffeeb0) at kernel/qapplication.cpp:2067
#32 0x4060ed79 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kdecvs/lib/libkdecore.so.4
#33 0x409cd668 in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x83fed30, event=0xbfffeeb0) at kernel/qapplication.h:478
#34 0x40a03a5b in QEventLoop::activateSocketNotifiers() (this=0x80a2338)
    at kernel/qeventloop_unix.cpp:544
#35 0x409dd4d6 in QEventLoop::processEvents(unsigned) (this=0x80a2338, flags=4)
    at kernel/qeventloop_x11.cpp:307
#36 0x40a3f6d5 in QEventLoop::enterLoop() (this=0x80a2338)
    at kernel/qeventloop.cpp:191
#37 0x40a3f5ee in QEventLoop::exec() (this=0x80a2338)
    at kernel/qeventloop.cpp:138
#38 0x40a28ec7 in QApplication::exec() (this=0xbffff2a0)
    at kernel/qapplication.cpp:2424
#39 0x41856a57 in main () from /opt/kdecvs/lib/konqueror.so
#40 0x0804cbbd in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#41 0x0804d9a3 in handle_launcher_request(int) ()
#42 0x0804de8c in handle_requests(int) ()
#43 0x0804ec6e in main ()
#44 0x4114b476 in __libc_start_main () from /lib/libc.so.6
Comment 1 Maksim Orlovich 2003-05-16 01:40:05 UTC
Cross-reference also to #50722.  
 
Comment 2 Maksim Orlovich 2003-05-16 02:04:12 UTC
Erm, I meant 51215, <blush> 
Comment 3 Waldo Bastian 2003-05-23 13:55:31 UTC
Will be handled as part of BR51215 

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