Application: dolphin (1.5) KDE Platform Version: 4.5.1 (KDE 4.5.1) Qt Version: 4.7.0 Operating System: Linux 2.6.32-24-generic-pae i686 Distribution: Ubuntu 10.04.1 LTS -- Information about the crash: - What I was doing when the application crashed: I tried to copy a specific file to a specific folder overwriting the old one. It fails everytime that I tried to copy it when it tries to show the overwrite confirmation dialog. It doesn't happen with any other file in any other folder, even overwriting. The crash can be reproduced every time. -- Backtrace: Application: Dolphin (dolphin), signal: Aborted [Current thread is 1 (Thread 0xb4d57710 (LWP 11256))] Thread 4 (Thread 0xb0eb7b70 (LWP 11260)): #0 0xb5651f5b in __pthread_mutex_lock (mutex=0x92841c4) at pthread_mutex_lock.c:61 #1 0xb7751ba6 in pthread_mutex_lock (mutex=0x92841c4) at forward.c:182 #2 0xb535bb03 in g_main_context_prepare () from /lib/libglib-2.0.so.0 #3 0xb535bee9 in ?? () from /lib/libglib-2.0.so.0 #4 0xb535c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0xb5cd682f in QEventDispatcherGlib::processEvents (this=0x903fdb8, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #6 0xb5ca6a99 in QEventLoop::processEvents (this=0xb0eb7290, flags=) at kernel/qeventloop.cpp:149 #7 0xb5ca6f1a in QEventLoop::exec (this=0xb0eb7290, flags=...) at kernel/qeventloop.cpp:201 #8 0xb5ba3c5e in QThread::exec (this=0x90b4668) at thread/qthread.cpp:490 #9 0xb5c859ab in QInotifyFileSystemWatcherEngine::run (this=0x90b4668) at io/qfilesystemwatcher_inotify.cpp:248 #10 0xb5ba6f39 in QThreadPrivate::start (arg=0x90b4668) at thread/qthread_unix.cpp:266 #11 0xb564f96e in start_thread (arg=0xb0eb7b70) at pthread_create.c:300 #12 0xb7744a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xb04ffb70 (LWP 11262)): [KCrash Handler] #7 0xb7878430 in __kernel_vsyscall () #8 0xb76a1651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #9 0xb76a4a82 in *__GI_abort () at abort.c:92 #10 0xb769a718 in *__GI___assert_fail (assertion=0xb5518f4c "m_path.size() > m_parent->p->m_path.size()+1", file=0xb5518f08 "/build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp", line=134, function=0xb5519240 "Strigi::AnalysisResult::Private::Private(const std::string&, const char*, time_t, Strigi::AnalysisResult&, Strigi::AnalysisResult&)") at assert.c:81 #11 0xb54cb0a1 in Strigi::AnalysisResult::Private::Private(std::string const&, char const*, long, Strigi::AnalysisResult&, Strigi::AnalysisResult&) () from /usr/lib/libstreamanalyzer.so.0 #12 0xb54cb193 in Strigi::AnalysisResult::AnalysisResult(std::string const&, char const*, long, Strigi::AnalysisResult&) () from /usr/lib/libstreamanalyzer.so.0 #13 0xb54cbac7 in Strigi::AnalysisResult::indexChild(std::string const&, long, Strigi::StreamBase<char>*) () from /usr/lib/libstreamanalyzer.so.0 #14 0xb550975b in ?? () from /usr/lib/libstreamanalyzer.so.0 #15 0xb54ee9e2 in ?? () from /usr/lib/libstreamanalyzer.so.0 #16 0xb70a9692 in KFileMetaInfoPrivate::init (this=0xb0509d60, stream=..., url=..., mtime=1284646486, w=...) at ../../kio/kio/kfilemetainfo.cpp:270 #17 0xb70ab808 in KFileMetaInfo (this=0xb04ff2c0, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:299 #18 0xb71ad1ab in KLoadFileMetaDataThread::run (this=0x93bb128) at ../../kio/kfile/kloadfilemetadatathread.cpp:130 #19 0xb5ba6f39 in QThreadPrivate::start (arg=0x93bb128) at thread/qthread_unix.cpp:266 #20 0xb564f96e in start_thread (arg=0xb04ffb70) at pthread_create.c:300 #21 0xb7744a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xafcfeb70 (LWP 11263)): #0 0xb7878430 in __kernel_vsyscall () #1 0xb5654015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0xb77519dd in __pthread_cond_wait (cond=0xb0507448, mutex=0xb0507430) at forward.c:139 #3 0xb5ba6012 in QMutexPrivate::wait (this=0xb0507418, timeout=-1) at thread/qmutex_unix.cpp:84 #4 0xb5ba16c2 in QMutex::lock (this=0xb7205620) at thread/qmutex.cpp:204 #5 0xb71ad13c in KLoadFileMetaDataThread::run (this=0x92db8d8) at ../../kio/kfile/kloadfilemetadatathread.cpp:127 #6 0xb5ba6f39 in QThreadPrivate::start (arg=0x92db8d8) at thread/qthread_unix.cpp:266 #7 0xb564f96e in start_thread (arg=0xafcfeb70) at pthread_create.c:300 #8 0xb7744a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb4d57710 (LWP 11256)): #0 0xb7878430 in __kernel_vsyscall () #1 0xb7736b86 in *__GI___poll (fds=0xb77ccff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0xb51cdd60 in ?? () from /usr/lib/libxcb.so.1 #3 0xb51cf9b2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1 #4 0xb588ff96 in _XReply () from /usr/lib/libX11.so.6 #5 0xb586d2d6 in XGetWindowProperty () from /usr/lib/libX11.so.6 #6 0xb4a8cd49 in Bespin::XProperty::handleProperty(unsigned long, unsigned long, unsigned char**, Bespin::XProperty::Type, unsigned long) () from /usr/lib/libQtBespin.so #7 0xb4aef229 in ?? () from /usr/lib/qt4/plugins/styles/libbespin.so #8 0xb4aa9dd6 in ?? () from /usr/lib/qt4/plugins/styles/libbespin.so #9 0xb6289ac7 in QWidgetPrivate::paintBackground (this=0x92ddd78, painter=0x0, rgn=..., flags=<value optimized out>) at kernel/qwidget.cpp:2312 #10 0xb628aa1d in QWidgetPrivate::drawWidget (this=0x92ddd78, pdev=0x937b1b4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x93909c0) at kernel/qwidget.cpp:5369 #11 0xb647cf90 in QWidgetBackingStore::sync (this=0x93909c0) at painting/qbackingstore.cpp:1328 #12 0xb647d3da in QWidgetBackingStore::sync (this=0x93909c0, exposedWidget=0xbf933290, exposedRegion=...) at painting/qbackingstore.cpp:1130 #13 0xb627c6c2 in QWidgetPrivate::syncBackingStore (this=0x92ddd78, region=...) at kernel/qwidget.cpp:1791 #14 0xb62aa568 in QETWidget::translatePaintEvent (this=0xbf933290, event=0xbf932f1c) at kernel/qapplication_x11.cpp:5117 #15 0xb62b7cc2 in QApplication::x11ProcessEvent (this=0xbf9343b0, event=0xbf932f1c) at kernel/qapplication_x11.cpp:3436 #16 0xb62e756a in x11EventSourceDispatch (s=0x900f800, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #17 0xb53585e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #18 0xb535c2d8 in ?? () from /lib/libglib-2.0.so.0 #19 0xb535c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #20 0xb5cd67f5 in QEventDispatcherGlib::processEvents (this=0x8fed3d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415 #21 0xb62e6de5 in QGuiEventDispatcherGlib::processEvents (this=0x8fed3d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #22 0xb5ca6a99 in QEventLoop::processEvents (this=0xbf933210, flags=) at kernel/qeventloop.cpp:149 #23 0xb5ca6f1a in QEventLoop::exec (this=0xbf933210, flags=...) at kernel/qeventloop.cpp:201 #24 0xb678d8c3 in QDialog::exec (this=0xbf933290) at dialogs/qdialog.cpp:552 #25 0xb705ab87 in KIO::JobUiDelegate::askFileRename (this=0x938b9e8, job=0x92dd070, caption=..., src=..., dest=..., mode=KIO::M_OVERWRITE, newDest=..., sizeSrc=352420, sizeDest=350520, ctimeSrc=-1, ctimeDest=-1, mtimeSrc=1284646486, mtimeDest=1284621327) at ../../kio/kio/jobuidelegate.cpp:83 #26 0xb701cc6f in KIO::CopyJobPrivate::slotResultConflictCopyingFiles (this=0x92de5e0, job=0x9352588) at ../../kio/kio/copyjob.cpp:1332 #27 0xb701a0e2 in KIO::CopyJob::qt_metacall (this=0x92dd070, _c=QMetaObject::InvokeMetaMethod, _id=43, _a=0xbf933518) at ./copyjob.moc:121 #28 0xb5cadd4a in QMetaObject::metacall (object=0x92dd070, cl=QMetaObject::ReadProperty, idx=43, argv=0xbf933518) at kernel/qmetaobject.cpp:237 #29 0xb5cc0ab5 in QMetaObject::activate (sender=0x9352588, m=0xb60dfb48, local_signal_index=3, argv=0xbf933518) at kernel/qobject.cpp:3280 #30 0xb5f6cb13 in KJob::result (this=0x9352588, _t1=0x9352588) at ./kjob.moc:194 #31 0xb5f6ce78 in KJob::emitResult (this=0x9352588) at ../../kdecore/jobs/kjob.cpp:312 #32 0xb704f4e0 in KIO::SimpleJob::slotFinished (this=0x9352588) at ../../kio/kio/job.cpp:522 #33 0xb705013d in KIO::StatJob::slotFinished (this=0x9352588) at ../../kio/kio/job.cpp:920 #34 0xb704e873 in KIO::StatJob::qt_metacall (this=0x9352588, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf93372c) at ./jobclasses.moc:252 #35 0xb5cadd4a in QMetaObject::metacall (object=0x9352588, cl=QMetaObject::ReadProperty, idx=42, argv=0xbf93372c) at kernel/qmetaobject.cpp:237 #36 0xb5cc0ab5 in QMetaObject::activate (sender=0x926a0d8, m=0xb71fe944, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3280 #37 0xb7108077 in KIO::SlaveInterface::finished (this=0x926a0d8) at ./slaveinterface.moc:171 #38 0xb710b818 in KIO::SlaveInterface::dispatch (this=0x926a0d8, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175 #39 0xb7108533 in KIO::SlaveInterface::dispatch (this=0x926a0d8) at ../../kio/kio/slaveinterface.cpp:91 #40 0xb70fb088 in KIO::Slave::gotInput (this=0x926a0d8) at ../../kio/kio/slave.cpp:344 #41 0xb70fb293 in KIO::Slave::qt_metacall (this=0x926a0d8, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf933a4c) at ./slave.moc:82 #42 0xb5cadd4a in QMetaObject::metacall (object=0x926a0d8, cl=QMetaObject::ReadProperty, idx=30, argv=0xbf933a4c) at kernel/qmetaobject.cpp:237 #43 0xb5cc0ab5 in QMetaObject::activate (sender=0x91f19a0, m=0xb71fb500, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280 #44 0xb7014e27 in KIO::Connection::readyRead (this=0x91f19a0) at ./connection.moc:92 #45 0xb701718e in KIO::ConnectionPrivate::dequeue (this=0x9241308) at ../../kio/kio/connection.cpp:82 #46 0xb70172be in KIO::Connection::qt_metacall (this=0x91f19a0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x932ace0) at ./connection.moc:79 #47 0xb5cadd4a in QMetaObject::metacall (object=0x91f19a0, cl=QMetaObject::ReadProperty, idx=5, argv=0x932ace0) at kernel/qmetaobject.cpp:237 #48 0xb5cb9226 in QMetaCallEvent::placeMetaCall (this=0x9390fc8, object=0x91f19a0) at kernel/qobject.cpp:534 #49 0xb5cbaac2 in QObject::event (this=0x91f19a0, e=0xffffffff) at kernel/qobject.cpp:1219 #50 0xb622577c in QApplicationPrivate::notify_helper (this=0x9010ee0, receiver=0x91f19a0, e=0x9390fc8) at kernel/qapplication.cpp:4396 #51 0xb622b7ce in QApplication::notify (this=0xbf9343b0, receiver=0x91f19a0, e=0x9390fc8) at kernel/qapplication.cpp:3798 #52 0xb6da8a9a in KApplication::notify (this=0xbf9343b0, receiver=0x91f19a0, event=0x9390fc8) at ../../kdeui/kernel/kapplication.cpp:310 #53 0xb5ca7feb in QCoreApplication::notifyInternal (this=0xbf9343b0, receiver=0x91f19a0, event=0x9390fc8) at kernel/qcoreapplication.cpp:732 #54 0xb5cab24b in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8fed1f8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8fed1f8) at kernel/qcoreapplication.cpp:1373 #56 0xb5cab40d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266 #57 0xb5cd6d04 in QCoreApplication::sendPostedEvents (s=0x900ed10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #58 postEventSourceDispatch (s=0x900ed10) at kernel/qeventdispatcher_glib.cpp:277 #59 0xb53585e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #60 0xb535c2d8 in ?? () from /lib/libglib-2.0.so.0 #61 0xb535c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #62 0xb5cd67f5 in QEventDispatcherGlib::processEvents (this=0x8fed3d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415 #63 0xb62e6de5 in QGuiEventDispatcherGlib::processEvents (this=0x8fed3d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #64 0xb5ca6a99 in QEventLoop::processEvents (this=0xbf934304, flags=) at kernel/qeventloop.cpp:149 #65 0xb5ca6f1a in QEventLoop::exec (this=0xbf934304, flags=...) at kernel/qeventloop.cpp:201 #66 0xb5cab4cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #67 0xb62245a7 in QApplication::exec () at kernel/qapplication.cpp:3672 #68 0xb78272bb in kdemain (argc=5, argv=0xbf9345a4) at ../../../../apps/dolphin/src/main.cpp:98 #69 0x080485fb in main (argc=5, argv=0xbf9345a4) at dolphin_dummy.cpp:3 Possible duplicates by query: bug 234428. Reported using DrKonqi
Thanks for the report! Would it be possible that you attach those 2 files to the bug-report?
Created attachment 51756 [details] File causing the crash
I've attached the file. If I copy it to a folder and then try to copy it again, it fails when it shows the overwrite dialog.
I've tried to reproduce this in trunk with the attached file, but the Overwrite dialog is shown fine for me.
I don't know then what's wrong with my configuration then. It crashes reliabily only with this file on my system.
I tried changing the theme since I was using Bespin but it crashes with Oxygen and QtCurve too. I use Dolphin 4.5.1, maybe in trunk it's fixed somehow?
I've just tried with a freshly installed Kubuntu 10.10 system (beta updated to today) and it crashes everytime that I try to copy this file to somewhere. I'm using the default configuration and theme.
As Dolphin seems to have problems with the current version of DBus, I've updated it to 1.4 but I get the same crash so it's not related to DBus (at least, it's not related to this bug: https://bugs.kde.org/show_bug.cgi?id=226725
I can actually reproduce the crash with my 4.5 branch build which uses a somewhat outdated Strigi, but not with my trunk build, which uses a quite up-to-date Strigi from trunk. So it seems that this bug might have been fixed in the meantime. Looks like bug 258918.
*** Bug 252152 has been marked as a duplicate of this bug. ***
Could you please test against latest trunk? I tried two versions, 0.7.3 (never officially released) crashes, 0.7.3.99 (latest trunk) doesn't, so I assume this is fixed in the latest version.
Created attachment 57366 [details] New crash information added by DrKonqi dolphin (1.5) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0 Hovered over zip and dolphin crashes. -- Backtrace (Reduced): #8 0x00007fbdd581da71 in __assert_fail (assertion=0x7fbdcea98a30 "m_path.size() > m_parent->p->m_path.size()+1", file=<value optimized out>, line=134, function=0x7fbdcea98d20 "Strigi::AnalysisResult::Private::Private(const std::string&, const char*, time_t, Strigi::AnalysisResult&, Strigi::AnalysisResult&)") at assert.c:81 #9 0x00007fbdcea5097f in Strigi::AnalysisResult::Private::Private(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, long, Strigi::AnalysisResult&, Strigi::AnalysisResult&) () from /usr/lib/libstreamanalyzer.so.0 #10 0x00007fbdcea50a55 in Strigi::AnalysisResult::AnalysisResult(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, long, Strigi::AnalysisResult&) () from /usr/lib/libstreamanalyzer.so.0 #11 0x00007fbdcea5158f in Strigi::AnalysisResult::indexChild(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, long, Strigi::StreamBase<char>*) () from /usr/lib/libstreamanalyzer.so.0 [...] [...] #14 0x00007fbdd3bb51f5 in KFileMetaInfoPrivate::init (this=<value optimized out>, stream=<value optimized out>, url=<value optimized out>, mtime=1298079468, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:270
Created attachment 57501 [details] New crash information added by DrKonqi dolphin (1.5) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.1 - What I was doing when the application crashed: Hovered a tar.gz file. strigi-libs-0.7.2-5.fc14.x86_64 -- Backtrace (Reduced): #8 0x0000003afaa2b905 in __assert_fail (assertion=0x3b03265448 "m_path.size() > m_parent->p->m_path.size()+1", file=<value optimized out>, line=134, function=<value optimized out>) at assert.c:81 #9 0x0000003b0321ab2f in Strigi::AnalysisResult::Private::Private (this=0x7febe817e990, p="/home/diego/Kynetics/Progetti/InsielMercato/Rozzano/adweb-repository-files.zip/", name=<value optimized out>, mt=<value optimized out>, t=@0x7febe8126ff0, parent=@0x7febf74a48b0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134 #10 0x0000003b0321abf5 in Strigi::AnalysisResult::AnalysisResult (this=0x7febe8126ff0, path="/home/diego/Kynetics/Progetti/InsielMercato/Rozzano/adweb-repository-files.zip/", name=0x7febe8127077 "", mt=1289221598, parent=@0x7febf74a48b0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140 #11 0x0000003b0321af22 in Strigi::AnalysisResult::indexChild (this=0x7febf74a48b0, name=<value optimized out>, mt=1289221598, file=0x7febe8182fb0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249 #12 0x0000003b03257fd8 in ZipEndAnalyzer::analyze (this=0x7febe801c3f0, idx=..., in=0x7febe8063740) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62
I ran Strigi on the mentioned .jar file (it will go into the .zip, and thus still test the jars) using xmlindexer, and get no crash: $ xmlindexer oha-common-lib-2.0-SNAPSHOT.jar Tons of XML output and an undefined symbol ("xmlindexer: symbol lookup error: /usr/lib/libldap_r-2.4.so.2: undefined symbol: ldap_int_tls_destroy, version OPENLDAP_2.4_2"), but no crash. As such, I wonder if it is really the streamanalyzers that are buggy, because then I would have gotten the crash too. KDE 4.4.5, Strigi 0.7.2 on Debian Squeeze 32 bit. I also tried it in threaded mode, again without crash: $ xmlindexer -8 querydsl-jpa-2.0.5-full-deps.zip Can those who do get the crash, perhaps try to run Strigi on those files with xmlindexer too?
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