Bug 226706 - Dolphin crashed when clicking a dir in address bar after manual directory change in terminal (F4) [KLoadMetaDataThread::run @ kloadmetadatathread.cpp:110]
Summary: Dolphin crashed when clicking a dir in address bar after manual directory cha...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 227378 229481 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-13 18:52 UTC by Unknown
Modified: 2010-07-24 15:03 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.88 KB, text/plain)
2010-07-24 15:03 UTC, realzork
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2010-02-13 18:52:20 UTC
Application: dolphin (1.4)
KDE Platform Version: 4.4.00 (KDE 4.4.0) (Compiled from sources)
Qt Version: 4.6.1
Operating System: Linux 2.6.32.8 i686
Distribution: "Gentoo Base System release 2.0.1"

-- Information about the crash:
I was in the middle of some large mv and cp, and wanted to test some automagical rename oneliner, so, in the terminal tab (?) (it's under F4) changed dir to /tmp/foo. Tested what I wanted to test, and I tried to return to my previous dir clicking on the dirname in address bar (that didn't refresh after manual dir change in terminal, so that was the quickest way ;). And here I am with the crash.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb527c700 (LWP 24586))]

Thread 4 (Thread 0xb3828b70 (LWP 24590)):
#0  0xb7795424 in __kernel_vsyscall ()
#1  0xb5cf2931 in ?? () from /lib/libc.so.6
#2  0xb6934bb7 in QProcessManager::run (this=0xb6a80890) at io/qprocess_unix.cpp:245
#3  0xb6846dc7 in QThreadPrivate::start (arg=0xb6a80890) at thread/qthread_unix.cpp:248
#4  0xb575b42f in start_thread () from /lib/libpthread.so.0
#5  0xb5cf979e in ?? () from /lib/libc.so.6

Thread 3 (Thread 0xb16ceb70 (LWP 5506)):
#0  0xb7795424 in __kernel_vsyscall ()
#1  0xb575f412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5d06db4 in ?? () from /lib/libc.so.6
#3  0xb23c24c5 in ?? () from /usr/lib/libxine.so.1
#4  0x0aa1d4e8 in ?? ()
#5  0x0aa1d4d0 in ?? ()
#6  0xb16ce34c in ?? ()
#7  0xb16ce34c in ?? ()
#8  0xb16ce354 in ?? ()
#9  0x0aa1d4d0 in ?? ()
#10 0x0aa1d4e8 in ?? ()
#11 0x4b76e23b in ?? ()
#12 0x1b37b660 in ?? ()
#13 0x4b76e236 in ?? ()
#14 0x0006f7bc in ?? ()
#15 0xb576aff4 in ?? () from /lib/libpthread.so.0
#16 0x00000000 in ?? ()

Thread 2 (Thread 0xb2c4db70 (LWP 23151)):
[KCrash Handler]
#6  0x080833de in QList<KLoadMetaDataThread::Item>::node_copy (this=0xa7a1a1c, from=0xafa64cfc, to=0x870b00c0, src=0x32bf990c) at /usr/include/qt4/QtCore/qlist.h:370
#7  0x08083940 in QList<KLoadMetaDataThread::Item>::detach_helper (this=0xa7a1a1c) at /usr/include/qt4/QtCore/qlist.h:606
#8  0x080a7a32 in QList<KLoadMetaDataThread::Item>::append (this=0xa7a1a1c, t=...) at /usr/include/qt4/QtCore/qlist.h:468
#9  0x080a74c8 in KLoadMetaDataThread::run (this=0xa7a1a08) at /home/porttmp/portage/kde-base/dolphin-4.4.0/work/dolphin-4.4.0/dolphin/src/panels/information/kloadmetadatathread.cpp:110
#10 0xb6846dc7 in QThreadPrivate::start (arg=0xa7a1a08) at thread/qthread_unix.cpp:248
#11 0xb575b42f in start_thread () from /lib/libpthread.so.0
#12 0xb5cf979e in ?? () from /lib/libc.so.6

Thread 1 (Thread 0xb527c700 (LWP 24586)):
#0  0xb7795424 in __kernel_vsyscall ()
#1  0xb5cb36c6 in ?? () from /lib/libc.so.6
#2  0xb56af764 in _dbus_get_current_time (tv_sec=0xbfc0fb20, tv_usec=0xbfc0fb1c) at dbus-sysdeps-unix.c:2018
#3  0xb567e165 in _dbus_connection_block_pending_call (pending=0xaa1f398) at dbus-connection.c:2341
#4  0xb569227f in dbus_pending_call_block (pending=0xaa1f398) at dbus-pending-call.c:707
#5  0xb567c2c4 in dbus_connection_send_with_reply_and_block (connection=0xa08e250, message=0xab60eb8, timeout_milliseconds=-1, error=0xbfc0fc50) at dbus-connection.c:3316
#6  0xb6aa5807 in q_dbus_connection_send_with_reply_and_block (this=0xa08bd40, message=..., sendMode=1, timeout=-1) at qdbus_symbols_p.h:133
#7  QDBusConnectionPrivate::sendWithReply (this=0xa08bd40, message=..., sendMode=1, timeout=-1) at qdbusintegrator.cpp:1811
#8  0xb6a91bf1 in QDBusConnection::call (this=0xa090ae0, message=..., mode=QDBus::Block, timeout=-1) at qdbusconnection.cpp:516
#9  0xb6aaf298 in QDBusAbstractInterface::callWithArgumentList (this=0xa0909b8, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:440
#10 0xb6aaf6df in QDBusAbstractInterface::internalConstCall (this=0xa0909b8, mode=QDBus::AutoDetect, method=..., args=...) at qdbusabstractinterface.cpp:763
#11 0xb6a955f2 in QDBusConnectionInterface::isServiceRegistered (this=0xa0909b8, serviceName=...) at qdbusconnectioninterface.cpp:207
#12 0xb6be958f in KToolInvocation::klauncher () at /home/porttmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdecore/kernel/ktoolinvocation.cpp:60
#13 0xb72363ed in KIO::Slave::createSlave (protocol=..., url=..., error=@0xbfc10098, error_text=...) at /home/porttmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/slave.cpp:401
#14 0xb722e347 in KIO::SchedulerPrivate::createSlave (this=0xa22e5e8, protInfo=0xa760f98, job=0xa6feaa0, url=..., enforceLimits=false)
    at /home/porttmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/scheduler.cpp:811
#15 0xb722fda2 in KIO::SchedulerPrivate::startJobDirect (this=0xa22e5e8) at /home/porttmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/scheduler.cpp:697
#16 0xb72301f8 in KIO::SchedulerPrivate::startStep (this=0xa22e5e8) at /home/porttmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/scheduler.cpp:526
#17 0xb72303a6 in KIO::Scheduler::qt_metacall (this=0xa21dae8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfc10208)
    at /home/porttmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0_build/kio/scheduler.moc:108
#18 0xb6962c55 in QMetaObject::metacall (object=0xa21dae8, cl=QMetaObject::InvokeMetaMethod, idx=10, argv=0xbfc10208) at kernel/qmetaobject.cpp:237
#19 0xb6972a3d in QMetaObject::activate (sender=0xa22e5ec, m=0xb6a7f5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3267
#20 0xb69caf38 in QTimer::timeout (this=0xa22e5ec) at .moc/debug-shared/moc_qtimer.cpp:134
#21 0xb697ae8e in QTimer::timerEvent (this=0xa22e5ec, e=0xbfc1085c) at kernel/qtimer.cpp:271
#22 0xb696e2bc in QObject::event (this=0xa22e5ec, e=0xbfc1085c) at kernel/qobject.cpp:1204
#23 0xb5fbc40f in QApplicationPrivate::notify_helper (this=0xa094260, receiver=0xa22e5ec, e=0xbfc1085c) at kernel/qapplication.cpp:4298
#24 0xb5fc4ca4 in QApplication::notify (this=0xbfc10af4, receiver=0xa22e5ec, e=0xbfc1085c) at kernel/qapplication.cpp:3732
#25 0xb6ee0d24 in KApplication::notify (this=0xbfc10af4, receiver=0xa22e5ec, event=0xbfc1085c) at /home/porttmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#26 0xb695bbf2 in QCoreApplication::notifyInternal (this=0xbfc10af4, receiver=0xa22e5ec, event=0xbfc1085c) at kernel/qcoreapplication.cpp:704
#27 0xb698fb0e in QCoreApplication::sendEvent (this=0xa09b074) at kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0xa09b074) at kernel/qeventdispatcher_unix.cpp:603
#29 0xb698bda5 in timerSourceDispatch (source=0xa09b040) at kernel/qeventdispatcher_glib.cpp:184
#30 0xb55b84fb in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x0a09a494 in ?? ()
#32 0x0a09b0e8 in ?? ()
#33 0xb56563b8 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb56563e0 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb698bd80 in ?? () at kernel/qeventdispatcher_glib.cpp:170 from /usr/lib/qt4/libQtCore.so.4
#36 0x00000000 in ?? ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-17 16:03:17 UTC
Probably related to some of the other KLoadMetaDataThread crashes...
Comment 2 Dario Andres 2010-02-17 16:04:06 UTC
From bug 227378:
-- Information about the crash:
browsing a directory, click on a file to open, dolphin crashed - file opened ok
(with kwrite)
Comment 3 Dario Andres 2010-02-17 16:04:13 UTC
*** Bug 227378 has been marked as a duplicate of this bug. ***
Comment 4 Peter Penz 2010-02-28 23:03:18 UTC
SVN commit 1097312 by ppenz:

Backport of SVN commit 1097289: Only access the data of the thread that has been created most recently. Data of older threads will just get ignored.

The fix will be part of KDE SC 4.4.2 (4.4.1 has been tagged already).

BUG: 224848
BUG: 226706
BUG: 222324

 M  +10 -3     kloadmetadatathread.cpp  
 M  +9 -1      kloadmetadatathread_p.h  
 M  +43 -28    kmetadatawidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1097312
Comment 5 Frank Reininghaus 2010-03-05 17:44:31 UTC
*** Bug 229481 has been marked as a duplicate of this bug. ***
Comment 6 realzork 2010-07-24 15:03:52 UTC
Created attachment 49455 [details]
New crash information added by DrKonqi

A folder was opened in tree view and parts of the tree expanded. After dragging two image files from one of the opened tree nodes/ folder onto another and selecting "move to" Dolphin crashed.