Bug 246461 - Konqueror crashed while trying to move a file to a diferent hard drive.
Summary: Konqueror crashed while trying to move a file to a diferent hard drive.
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-01 22:39 UTC by Larry
Modified: 2011-02-27 20:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry 2010-08-01 22:39:09 UTC
Application: konqueror (4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723)))
KDE Platform Version: 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723))
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
Konqueror crashed while trying to move a file to a diferent hard drive. As soon as the dialog box opened to say there was already a file by that name, Konqueror crashed. repeted three times, crashed three times.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fbf64e75760 (LWP 6627))]

Thread 4 (Thread 0x7fbf4653a710 (LWP 6650)):
[KCrash Handler]
#6  0x00007fbf5cb54233 in Strigi::StreamAnalyzerPrivate::analyze (this=0x14a8ee0, idx=..., input=0x7fbf465398c0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:394
#7  0x00007fbf5d0fd361 in KFileMetaInfoPrivate::init (this=0x1224840, stream=<value optimized out>, url=<value optimized out>, mtime=1280099416, w=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:210
#8  0x00007fbf5d193bf8 in KFileMetaInfo::KFileMetaInfo (this=0x7fbf46539d20, path=<value optimized out>, w=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:237
#9  0x00007fbf5d19453f in KLoadFileMetaDataThread::run (this=0x129c840) at /usr/src/debug/kdelibs-4.4.95/kio/kfile/kloadfilemetadatathread.cpp:124
#10 0x00007fbf63aadbf5 in QThreadPrivate::start (arg=0x129c840) at thread/qthread_unix.cpp:248
#11 0x00007fbf6381fa4f in start_thread () from /lib64/libpthread.so.0
#12 0x00007fbf6260f82d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbf45d39710 (LWP 6651)):
#0  0x00007fbf62608e13 in select () from /lib64/libc.so.6
#1  0x00007fbf63bba711 in qt_safe_select (nfds=13, fdread=0x7fbf45d38160, fdwrite=0x7fbf45d380e0, fdexcept=0x0, orig_timeout=<value optimized out>) at kernel/qcore_unix.cpp:143
#2  0x00007fbf63b71dea in select_msecs (nfds=<value optimized out>, fdread=<value optimized out>, fdwrite=<value optimized out>, timeout=<value optimized out>) at io/qprocess_unix.cpp:880
#3  0x00007fbf63b73646 in QProcessPrivate::waitForFinished (this=0x162dc80, msecs=-1) at io/qprocess_unix.cpp:1101
#4  0x00007fbf63b333d3 in QProcess::waitForFinished (this=0x7fbf45d38280, msecs=-1) at io/qprocess.cpp:1698
#5  0x00007fbf63b36778 in QProcess::execute (program=..., arguments=...) at io/qprocess.cpp:2092
#6  0x00007fbf63fe7850 in KToolInvocation::startKdeinit() () from /usr/lib64/libkdecore.so.5
#7  0x00007fbf63ff8f1f in KToolInvocation::klauncher() () from /usr/lib64/libkdecore.so.5
#8  0x00007fbf64051b0d in ?? () from /usr/lib64/libkdecore.so.5
#9  0x00007fbf64052695 in KSycoca::findFactory(KSycocaFactoryId) () from /usr/lib64/libkdecore.so.5
#10 0x00007fbf640528f7 in KSycocaFactory::KSycocaFactory(KSycocaFactoryId) () from /usr/lib64/libkdecore.so.5
#11 0x00007fbf6405343b in KServiceTypeFactory::KServiceTypeFactory() () from /usr/lib64/libkdecore.so.5
#12 0x00007fbf640536d8 in KServiceTypeFactory::self() () from /usr/lib64/libkdecore.so.5
#13 0x00007fbf6405cc8b in KServiceTypeTrader::defaultOffers(QString const&, QString const&) const () from /usr/lib64/libkdecore.so.5
#14 0x00007fbf63fd4eb9 in KServiceTypeTrader::query(QString const&, QString const&) const () from /usr/lib64/libkdecore.so.5
#15 0x00007fbf5d15e4b0 in KFileWriterProvider::loadPlugin (this=<value optimized out>, key=...) at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilewriteplugin.cpp:52
#16 0x00007fbf5d19384c in KFileMetaInfoPrivate::initWriters (this=0x1213060, file=...) at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:220
#17 0x00007fbf5d193c94 in KFileMetaInfo::KFileMetaInfo (this=0x7fbf45d38d20, path=<value optimized out>, w=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:239
#18 0x00007fbf5d19453f in KLoadFileMetaDataThread::run (this=0x125a7d0) at /usr/src/debug/kdelibs-4.4.95/kio/kfile/kloadfilemetadatathread.cpp:124
#19 0x00007fbf63aadbf5 in QThreadPrivate::start (arg=0x125a7d0) at thread/qthread_unix.cpp:248
#20 0x00007fbf6381fa4f in start_thread () from /lib64/libpthread.so.0
#21 0x00007fbf6260f82d in clone () from /lib64/libc.so.6
#22 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbf40fe5710 (LWP 6653)):
#0  0x00007fbf62608e13 in select () from /lib64/libc.so.6
#1  0x00007fbf63b74bed in QProcessManager::run (this=0x7fbf63eaaf20) at io/qprocess_unix.cpp:245
#2  0x00007fbf63aadbf5 in QThreadPrivate::start (arg=0x7fbf63eaaf20) at thread/qthread_unix.cpp:248
#3  0x00007fbf6381fa4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbf6260f82d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbf64e75760 (LWP 6627)):
#0  0x00007fbf6382738d in read () from /lib64/libpthread.so.0
#1  0x00007fbf5f71d6a5 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbf5f71dff2 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbf5f71e510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbf63bbd67f in QEventDispatcherGlib::processEvents (this=0x617300, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#5  0x00007fbf62e0a14e in ?? () from /usr/lib64/libQtGui.so.4
#6  0x00007fbf63b94292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbf63b94495 in QEventLoop::exec (this=0x7fff3df95ae0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007fbf632057ee in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#9  0x00007fbf5d1b2783 in KIO::JobUiDelegate::askFileRename (this=<value optimized out>, job=0x12318c0, caption=..., src=..., dest=<value optimized out>, mode=<value optimized out>, newDest=..., 
    sizeSrc=776707413, sizeDest=514463666, ctimeSrc=1280099416, ctimeDest=1278019111, mtimeSrc=1280099416, mtimeDest=1274653224) at /usr/src/debug/kdelibs-4.4.95/kio/kio/jobuidelegate.cpp:83
#10 0x00007fbf5d1f8b8f in KIO::CopyJobPrivate::slotResultRenaming (this=0x1257540, job=0x4c4cc458) at /usr/src/debug/kdelibs-4.4.95/kio/kio/copyjob.cpp:1903
#11 0x00007fbf5d1ee9f7 in KIO::CopyJob::qt_metacall (this=0x12318c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3df964d0)
    at /usr/src/debug/kdelibs-4.4.95/build/kio/copyjob.moc:121
#12 0x00007fbf63ba8a1f in QMetaObject::activate (sender=0x1089630, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3df964d0) at kernel/qobject.cpp:3295
#13 0x00007fbf63f645f2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#14 0x00007fbf63f64630 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#15 0x00007fbf5d20122d in KIO::SimpleJob::slotFinished (this=0x1089630) at /usr/src/debug/kdelibs-4.4.95/kio/kio/job.cpp:522
#16 0x00007fbf5d0ed426 in KIO::SimpleJob::slotError (this=0x1089630, err=<value optimized out>, errorText=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kio/kio/job.cpp:534
#17 0x00007fbf5d0ee088 in KIO::SimpleJob::qt_metacall (this=0x1089630, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3df967a0)
    at /usr/src/debug/kdelibs-4.4.95/build/kio/jobclasses.moc:170
#18 0x00007fbf63ba8a1f in QMetaObject::activate (sender=0xc87660, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3df967a0) at kernel/qobject.cpp:3295
#19 0x00007fbf5d1007a6 in KIO::SlaveInterface::error (this=<value optimized out>, _t1=112, _t2=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/build/kio/slaveinterface.moc:159
#20 0x00007fbf5d20a31d in KIO::SlaveInterface::dispatch (this=0xc87660, _cmd=<value optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.4.95/kio/kio/slaveinterface.cpp:208
#21 0x00007fbf5d17c913 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kio/kio/slaveinterface.cpp:91
#22 0x00007fbf5d178466 in KIO::Slave::gotInput (this=0xc87660) at /usr/src/debug/kdelibs-4.4.95/kio/kio/slave.cpp:344
#23 0x00007fbf5d18031c in KIO::Slave::qt_metacall (this=0xc87660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3df96b90)
    at /usr/src/debug/kdelibs-4.4.95/build/kio/slave.moc:82
#24 0x00007fbf63ba8a1f in QMetaObject::activate (sender=0xc88820, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#25 0x00007fbf5d1800f7 in KIO::ConnectionPrivate::dequeue (this=0xc1a070) at /usr/src/debug/kdelibs-4.4.95/kio/kio/connection.cpp:82
#26 0x00007fbf5d1801ad in KIO::Connection::qt_metacall (this=0xc88820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x11772c0)
    at /usr/src/debug/kdelibs-4.4.95/build/kio/connection.moc:79
#27 0x00007fbf63ba6509 in QObject::event (this=0xc88820, e=0x128a470) at kernel/qobject.cpp:1248
#28 0x00007fbf62d694d4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007fbf62d71aca in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007fbf647fa096 in KApplication::notify (this=0x7fff3df97800, receiver=0xc88820, event=0x128a470) at /usr/src/debug/kdelibs-4.4.95/kdeui/kernel/kapplication.cpp:309
#31 0x00007fbf63b94e4c in QCoreApplication::notifyInternal (this=0x7fff3df97800, receiver=0xc88820, event=0x128a470) at kernel/qcoreapplication.cpp:726
#32 0x00007fbf63b985ba in sendEvent (receiver=0x0, event_type=0, data=0x60f570) at kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60f570) at kernel/qcoreapplication.cpp:1367
#34 0x00007fbf63bbd173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#36 0x00007fbf5f71da93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fbf5f71e270 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fbf5f71e510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fbf63bbd67f in QEventDispatcherGlib::processEvents (this=0x617300, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#40 0x00007fbf62e0a14e in ?? () from /usr/lib64/libQtGui.so.4
#41 0x00007fbf63b94292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fbf63b94495 in QEventLoop::exec (this=0x7fff3df975d0, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007fbf63b9888b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#44 0x00007fbf541b6b7a in kdemain () from /usr/lib64/libkdeinit4_konqueror.so
#45 0x00000000004074a9 in _start ()

Possible duplicates by query: bug 246136, bug 245928, bug 245711, bug 245608, bug 245545.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-15 18:15:12 UTC
[Comment from a bug triager]
This crash is related to the file analyzer ("Strigi")
- Do you still have the files that were related in this crash ?
Regards
Comment 2 Larry 2010-12-15 19:14:49 UTC
No I don't have them any more. I just tried to get it to do it, but everything 
works fine now. Sorry


[Bug 246461] Konqueror crashed while trying to move a file to a diferent hard 
drive.
 From: Dario Andres <andresbajotierra@gmail.com>
 To: lholley@wyoming.com
 
https://bugs.kde.org/show_bug.cgi?id=246461


Dario Andres <andresbajotierra@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andresbajotierra@gmail.com
          Component|general                     |general
         AssignedTo|konq-bugs@kde.org           |peter.penz19@gmail.com
            Product|konqueror                   |dolphin




--- Comment #1 from Dario Andres <andresbajotierra gmail com>  2010-12-15 
18:15:12 ---
[Comment from a bug triager]
This crash is related to the file analyzer ("Strigi")
- Do you still have the files that were related in this crash ?
Regards
Comment 3 Dario Andres 2010-12-21 18:46:23 UTC
[Comment from a bug triager]
Thanks
Comment 4 Peter Penz 2011-02-27 20:11:34 UTC
Git commit d1254968eac95f4d9d8c47552e27f0cc40e6aed9 by Peter Penz.
Committed on 27/02/2011 at 20:01.
Pushed by ppenz into branch 'master'.

KFileMetaDataProvider: Don't crash if a Strigi analyzer crashes

Some Strigi analyzers are still unstable and crash under certain circumstances. This patch moves the reading of the meta-data into a custom process instead of doing it in a thread, which assures that a crashing Strigi analyzer does not result in crashing Dolphin or Konqueror when hovering some items.

FIXED-IN: 4.7.0
BUG: 257964
BUG: 258715
BUG: 262299
BUG: 263468
BUG: 263502
BUG: 264254
BUG: 234799
BUG: 251462
BUG: 251701
BUG: 258918
BUG: 192377
BUG: 195564
BUG: 199368
BUG: 210841
BUG: 245376
BUG: 246461
BUG: 246901
BUG: 249150
BUG: 261952
BUG: 249876
BUG: 179376
BUG: 179417
BUG: 179420
BUG: 181591
BUG: 183269
BUG: 183722
BUG: 185667
BUG: 188596
BUG: 191864
BUG: 193112
BUG: 205813
BUG: 244621
BUG: 245451
BUG: 248214
BUG: 249655
BUG: 249876
BUG: 265549
BUG: 267079

M  +11   -1    kio/CMakeLists.txt     
M  +68   -38   kio/kfile/kfilemetadataprovider.cpp     
M  +2    -1    kio/kfile/kfilemetadataprovider_p.h     
A  +174  -0    kio/kfile/kfilemetadatareader.cpp         [License: LGPL (v2+)]
M  +0    -2    kio/kfile/kfilemetadatawidget.cpp     
D  +0    -178  kio/kfile/kloadfilemetadatathread.cpp     
D  +0    -96   kio/kfile/kloadfilemetadatathread_p.h     

http://commits.kde.org/kdelibs/d1254968eac95f4d9d8c47552e27f0cc40e6aed9