Bug 360089

Summary: Dolphin crashes on startup
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Martin Bednar <martin+kde>
Component: EngineAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aspotashev, christoph, emmanuelpescosta099, pinak.ahuja
Priority: NOR Keywords: drkonqi
Version: 5.19.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Bednar 2016-03-04 19:18:43 UTC
Application: dolphin (15.12.2)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.4.0-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
Upon dolphin startup, it directly crashes. 

Additional information : Seeing that the crash goes into Baloo, I feel it might be related to the disk failure I experienced lately. Data was recovered, but to be honest, I can't guarantee integrity. I believe it shouldn't crash though  :)

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f592b927840 (LWP 18596))]

Thread 3 (Thread 0x7f591d4e0700 (LWP 18598)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5922be0053 in cnd_wait (mtx=0x159f860, cond=<optimized out>) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:159
#2  pipe_semaphore_wait (sema=0x159f860) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/os/os_thread.h:259
#3  radeon_drm_cs_emit_ioctl (param=param@entry=0x159f430) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:680
#4  0x00007f5922bdf877 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/include/c11/threads_posix.h:87
#5  0x00007f5934291314 in start_thread (arg=0x7f591d4e0700) at pthread_create.c:333
#6  0x00007f593cf5e6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f591969c700 (LWP 18599)):
#0  0x00007f593cf55aed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f59321f1f14 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f5914003020, timeout=-1, context=0x7f5914000990) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f5914000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmain.c:3835
#3  0x00007f59321f202c in g_main_context_iteration (context=0x7f5914000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmain.c:3901
#4  0x00007f5937e8037b in QEventDispatcherGlib::processEvents (this=0x7f59140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f5937e3575b in QEventLoop::exec (this=this@entry=0x7f591969bd90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f5937c9551a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f5937c99b63 in QThreadPrivate::start (arg=0x19e20e0) at thread/qthread_unix.cpp:331
#8  0x00007f5934291314 in start_thread (arg=0x7f591969c700) at pthread_create.c:333
#9  0x00007f593cf5e6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f592b927840 (LWP 18596)):
[KCrash Handler]
#6  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:36
#7  0x00007f5937c9bd7c in memcpy (__len=28884880, __src=0x7f593d5dc8c8, __dest=<optimized out>) at /usr/include/bits/string3.h:53
#8  QByteArray::QByteArray (this=0x7fff14d06620, data=0x7f593d5dc8c8 "", size=28884880) at tools/qbytearray.cpp:1452
#9  0x00007f5934b0dca0 in Baloo::DocumentDataDB::get (this=this@entry=0x7fff14d065c0, docId=docId@entry=1103806595116) at /var/tmp/portage/kde-frameworks/baloo-5.19.0/work/baloo-5.19.0/src/engine/documentdatadb.cpp:89
#10 0x00007f5934b1fc3e in Baloo::Transaction::documentData (this=this@entry=0x7fff14d06630, id=id@entry=1103806595116) at /var/tmp/portage/kde-frameworks/baloo-5.19.0/work/baloo-5.19.0/src/engine/transaction.cpp:144
#11 0x00007f593ada327f in Baloo::File::load (this=this@entry=0x7fff14d06750) at /var/tmp/portage/kde-frameworks/baloo-5.19.0/work/baloo-5.19.0/src/lib/file.cpp:111
#12 0x00007f593b33fc2b in Baloo::FileFetchJob::doStart (this=0x1a83990) at /var/tmp/portage/kde-apps/baloo-widgets-15.12.2/work/baloo-widgets-15.12.2/src/filefetchjob.cpp:58
#13 0x00007f5937e5dcee in QObject::event (this=0x1a83990, e=<optimized out>) at kernel/qobject.cpp:1239
#14 0x00007f59388288fc in QApplicationPrivate::notify_helper (this=this@entry=0x1525ba0, receiver=receiver@entry=0x1a83990, e=e@entry=0x1b8c3f0) at kernel/qapplication.cpp:3716
#15 0x00007f593882d748 in QApplication::notify (this=0x7fff14d06ef0, receiver=0x1a83990, e=0x1b8c3f0) at kernel/qapplication.cpp:3499
#16 0x00007f5937e36b0d in QCoreApplication::notifyInternal (this=0x7fff14d06ef0, receiver=0x1a83990, event=event@entry=0x1b8c3f0) at kernel/qcoreapplication.cpp:965
#17 0x00007f5937e390e7 in QCoreApplication::sendEvent (event=0x1b8c3f0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1524450) at kernel/qcoreapplication.cpp:1593
#19 0x00007f5937e39698 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#20 0x00007f5937e806b3 in postEventSourceDispatch (s=0x15d1360) at kernel/qeventdispatcher_glib.cpp:271
#21 0x00007f59321f1d34 in g_main_dispatch (context=0x7f59240016f0) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmain.c:3154
#22 g_main_context_dispatch (context=context@entry=0x7f59240016f0) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmain.c:3769
#23 0x00007f59321f1f88 in g_main_context_iterate (context=context@entry=0x7f59240016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmain.c:3840
#24 0x00007f59321f202c in g_main_context_iteration (context=0x7f59240016f0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmain.c:3901
#25 0x00007f5937e8035c in QEventDispatcherGlib::processEvents (this=0x15d1910, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#26 0x00007f5937e3575b in QEventLoop::exec (this=this@entry=0x7fff14d06da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#27 0x00007f5937e3c586 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#28 0x00007f593835feac in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527
#29 0x00007f5938825075 in QApplication::exec () at kernel/qapplication.cpp:2976
#30 0x00007f593d26c847 in kdemain (argc=1, argv=<optimized out>) at /var/tmp/portage/kde-apps/dolphin-15.12.2/work/dolphin-15.12.2/src/main.cpp:150
#31 0x00007f593ce98855 in __libc_start_main (main=0x400790 <main(int, char**)>, argc=1, argv=0x7fff14d07068, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff14d07058) at libc-start.c:289
#32 0x00000000004007c9 in _start ()

Possible duplicates by query: bug 335214.

Reported using DrKonqi
Comment 1 Emmanuel Pescosta 2016-03-06 18:44:42 UTC
Thanks for the bug report, I'll reassign it to Baloo.
Comment 2 Christoph Cullmann 2016-09-11 21:52:45 UTC

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