Bug 268950

Summary: Dolphin crashed upon start
Product: [Applications] dolphin Reporter: Martin Kampas <martin.kampas+kdebugs>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0
Sentry Crash Report:

Description Martin Kampas 2011-03-20 12:04:48 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.1 (4.6.1) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-gentoo-r5 i686
Distribution: "Gentoo Base System release 1.12.14"

-- Information about the crash:
- What I was doing when the application crashed:

Used krunner (Alt+F2) to search for folder known to Nepomuk, then hit enter to open it in Dolphin. Dolphin crashed just after its window got shown. Could not reproduce again. There seem to be similar bugs (e.g. #235166) but I have not found an "exact match"...

The crash does not seem to be reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[Current thread is 1 (Thread 0xb7834930 (LWP 17035))]

Thread 4 (Thread 0xb553cb70 (LWP 17037)):
#0  0x448cf2a6 in clock_gettime (clock_id=1, tp=0xb553bfe0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x44d75959 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x44e437e3 in updateCurrentTime (this=0xb4c00834, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb4c00834, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x44e41fe2 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb553c0cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x44e4207d in timerSourcePrepare (source=0xb4c00800, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x44b57bb6 in g_main_context_prepare (context=<value optimized out>, priority=0xb553c13c) at gmain.c:2469
#8  0x44b58a5b in g_main_context_iterate (context=0x959e620, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2760
#9  0x44b59135 in g_main_context_iteration (context=0x959e620, may_block=1) at gmain.c:2843
#10 0x44e42847 in QEventDispatcherGlib::processEvents (this=0x952e890, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x44e1422a in QEventLoop::processEvents (this=0xb553c290, flags=...) at kernel/qeventloop.cpp:149
#12 0x44e144da in QEventLoop::exec (this=0xb553c290, flags=...) at kernel/qeventloop.cpp:201
#13 0x44d1c25b in QThread::exec (this=0x95f2028) at thread/qthread.cpp:490
#14 0x44df5a0c in QInotifyFileSystemWatcherEngine::run (this=0x95f2028) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x44d1ed0a in QThreadPrivate::start (arg=0x95f2028) at thread/qthread_unix.cpp:285
#16 0x44883b1f in start_thread (arg=0xb553cb70) at pthread_create.c:297
#17 0x447d402e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb479ab70 (LWP 17044)):
[KCrash Handler]
#7  0xb7869424 in __kernel_vsyscall ()
#8  0x44730901 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x447320ee in abort () at abort.c:92
#10 0x4476ba27 in __libc_message (do_abort=2, fmt=0x4482c5b4 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#11 0x447718d1 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0x95bc11f) at malloc.c:6267
#12 0x447743f1 in _int_malloc (av=0x4484c380, bytes=37) at malloc.c:4309
#13 0x44775e9c in __libc_malloc (bytes=37) at malloc.c:3661
#14 0x44d19ece in qMalloc (size=37) at global/qmalloc.cpp:55
#15 0x44d20e30 in QByteArray::QByteArray (this=0xb479a148, str=0x48620025 "kfileitem#comment") at tools/qbytearray.cpp:1279
#16 0x47e8d9a2 in KUrl::KUrl (this=0xb479a24c, str=0x48620025 "kfileitem#comment") at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdecore/io/kurl.cpp:449
#17 0x485e80dd in KLoadFileMetaDataThread::run (this=0x98b9688) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kio/kfile/kloadfilemetadatathread.cpp:160
#18 0x44d1ed0a in QThreadPrivate::start (arg=0x98b9688) at thread/qthread_unix.cpp:285
#19 0x44883b1f in start_thread (arg=0xb479ab70) at pthread_create.c:297
#20 0x447d402e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb3f8ab70 (LWP 17047)):
#0  0xb7869424 in __kernel_vsyscall ()
#1  0x447e1823 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x44777a8a in _L_lock_10328 () from /lib/libc.so.6
#3  0x44776346 in __libc_free (mem=0x9574f08) at malloc.c:3737
#4  0x44b5f5d7 in g_free (mem=0x9574f08) at gmem.c:263
#5  0x44b54c1e in g_source_unref_internal (source=0x9574f08, context=0x9840520, have_lock=0) at gmain.c:1529
#6  0x44e42ce6 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x9417b78, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:369
#7  0x44e42e23 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x9417b78, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:394
#8  0x44d1dfdb in QThreadPrivate::finish (arg=0x958b728) at thread/qthread_unix.cpp:321
#9  0x44d1ed12 in ~__pthread_cleanup_class (arg=0x958b728) at /usr/include/pthread.h:535
#10 QThreadPrivate::start (arg=0x958b728) at thread/qthread_unix.cpp:243
#11 0x44883b1f in start_thread (arg=0xb3f8ab70) at pthread_create.c:297
#12 0x447d402e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb7834930 (LWP 17035)):
#0  0xb7869424 in __kernel_vsyscall ()
#1  0x447e1823 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x44777aa2 in _L_lock_10479 () from /lib/libc.so.6
#3  0x44776483 in __libc_realloc (oldmem=0x96999c8, bytes=248) at malloc.c:3814
#4  0x44733106 in __add_to_environ (name=0x47fc39e8 "TZ", value=0xb4c1ff10 ":Europe/Bratislava", combined=0x0, replace=1) at setenv.c:142
#5  0x44733445 in __setenv (name=0x47fc39e8 "TZ", value=0xb4c1ff10 ":Europe/Bratislava", replace=1) at setenv.c:274
#6  0x47e595bf in KSystemTimeZoneBackend::offset (this=0xb4c1f900, caller=0xbfc172d8, t=1250263147) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdecore/date/ksystemtimezone.cpp:641
#7  0x47e5919e in KSystemTimeZoneBackend::offsetAtUtc (this=0xb4c1f900, caller=0xbfc172d8, utcDateTime=...) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdecore/date/ksystemtimezone.cpp:626
#8  0x47e536c1 in KTimeZone::offsetAtUtc (this=0xbfc172d8, utcDateTime=...) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdecore/date/ktimezone.cpp:802
#9  0x47e57528 in KTimeZone::toZoneTime (this=0xbfc172d8, utcDateTime=..., secondOccurrence=0xbfc1723f) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdecore/date/ktimezone.cpp:771
#10 0x47e3efd5 in KDateTimePrivate::toZone (this=0xb4c293e8, zone=..., local=...) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdecore/date/kdatetime.cpp:726
#11 0x47e3f0ee in KDateTimePrivate::newToZone (this=0xb4c293e8, newd=0xb4c29420, zone=..., local=...) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdecore/date/kdatetime.cpp:742
#12 0x47e44759 in KDateTime::toLocalZone (this=0x95cc840) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdecore/date/kdatetime.cpp:942
#13 0x484e9c9d in KFileItemPrivate::setTime (this=0x95cc800, mappedWhich=KFileItem::ModificationTime, time_t_val=1250263147) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kio/kio/kfileitem.cpp:309
#14 0x484ea052 in KFileItemPrivate::time (this=0x95cc800, mappedWhich=KFileItem::ModificationTime) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kio/kio/kfileitem.cpp:331
#15 0x484eac93 in KFileItem::time (this=0x94159e0, which=KFileItem::ModificationTime) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kio/kio/kfileitem.cpp:609
#16 0x485ab2d7 in KFileMetaDataProvider::Private::slotLoadingFinished (this=0x9751930, finishedThread=0x958b728) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kio/kfile/kfilemetadataprovider.cpp:209
#17 0x485abb22 in KFileMetaDataProvider::qt_metacall (this=0x9412f60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc17618) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1_build/kio/kfilemetadataprovider_p.moc:95
#18 0x44e1b82b in QMetaObject::metacall (object=0x9412f60, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfc17618) at kernel/qmetaobject.cpp:237
#19 0x44e2aad7 in QMetaObject::activate (sender=0x958b728, m=0x486385c8, local_signal_index=0, argv=0xbfc17618) at kernel/qobject.cpp:3272
#20 0x485e6e64 in KLoadFileMetaDataThread::finished (this=0x958b728, _t1=0x958b728) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1_build/kio/kloadfilemetadatathread_p.moc:89
#21 0x485e6e86 in KLoadFileMetaDataThread::slotLoadingFinished (this=0x958b728) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kio/kfile/kloadfilemetadatathread.cpp:175
#22 0x485e6f18 in KLoadFileMetaDataThread::qt_metacall (this=0x958b728, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xb4c1fc50) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1_build/kio/kloadfilemetadatathread_p.moc:77
#23 0x44e1b82b in QMetaObject::metacall (object=0x958b728, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xb4c1fc50) at kernel/qmetaobject.cpp:237
#24 0x44e25fe7 in QMetaCallEvent::placeMetaCall (this=0xb4c1fc60, object=0x958b728) at kernel/qobject.cpp:534
#25 0x44e2a5df in QObject::event (this=0x958b728, e=0xb4c1fc60) at kernel/qobject.cpp:1211
#26 0x4a0bd61c in QApplicationPrivate::notify_helper (this=0x940cc38, receiver=0x958b728, e=0xb4c1fc60) at kernel/qapplication.cpp:4445
#27 0x4a0c2282 in QApplication::notify (this=0xbfc17f00, receiver=0x958b728, e=0xb4c1fc60) at kernel/qapplication.cpp:3845
#28 0x482047cb in KApplication::notify (this=0xbfc17f00, receiver=0x958b728, event=0xb4c1fc60) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#29 0x44e15083 in QCoreApplication::notifyInternal (this=0xbfc17f00, receiver=0x958b728, event=0xb4c1fc60) at kernel/qcoreapplication.cpp:732
#30 0x44e18d75 in sendEvent (receiver=0x0, event_type=0, data=0x93ece80) at kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x93ece80) at kernel/qcoreapplication.cpp:1373
#32 0x44e18f4e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#33 0x44e42695 in sendPostedEvents (s=0x940ef10) at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x940ef10) at kernel/qeventdispatcher_glib.cpp:277
#35 0x44b58692 in g_main_dispatch (context=0x940ee90) at gmain.c:2149
#36 g_main_context_dispatch (context=0x940ee90) at gmain.c:2702
#37 0x44b58e78 in g_main_context_iterate (context=0x940ee90, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#38 0x44b59135 in g_main_context_iteration (context=0x940ee90, may_block=1) at gmain.c:2843
#39 0x44e4280d in QEventDispatcherGlib::processEvents (this=0x93ecb40, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#40 0x4a16faf6 in QGuiEventDispatcherGlib::processEvents (this=0x93ecb40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x44e1422a in QEventLoop::processEvents (this=0xbfc17e44, flags=...) at kernel/qeventloop.cpp:149
#42 0x44e144da in QEventLoop::exec (this=0xbfc17e44, flags=...) at kernel/qeventloop.cpp:201
#43 0x44e19017 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#44 0x4a0bb5c8 in QApplication::exec () at kernel/qapplication.cpp:3719
#45 0x47536955 in kdemain (argc=6, argv=0xbfc180f4) at /var/tmp/portage/kde-base/dolphin-4.6.1/work/dolphin-4.6.1/dolphin/src/main.cpp:98
#46 0x080486cc in main (argc=6, argv=0xbfc180f4) at /var/tmp/portage/kde-base/dolphin-4.6.1/work/dolphin-4.6.1_build/dolphin/src/dolphin_dummy.cpp:3

Possible duplicates by query: bug 266396, bug 265636, bug 265308, bug 264021, bug 264013.

Reported using DrKonqi
Comment 1 Peter Penz 2011-07-18 13:25:53 UTC
Thanks for the report. This is an issue in how Dolphin retrieves the metadata of a file. Dolphin for KDE 4.7 won't
crash anymore in this case (see
http://ppenz.blogspot.com/2011/03/dont-crash-when-reading-metadata.html for
details).