Bug 366296 - Baloo file crash
Summary: Baloo file crash
Status: RESOLVED DUPLICATE of bug 367991
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Engine (show other bugs)
Version: 5.23.0
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-07-31 09:42 UTC by Tim Rühsen
Modified: 2016-09-11 21:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Rühsen 2016-07-31 09:42:29 UTC
Application: baloo_file (5.23.0)

Qt Version: 5.6.1
Frameworks Version: 5.23.0
Operating System: Linux 4.6.0-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

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

Just start KDE. I always get this crash. Since a few months.

No matter if the DB is inconsistent or whatever... there should be no crash, just an informative message that tells me what is wrong and how I can (manually) solve it.

Regards, Tim

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6fcec908c0 (LWP 3293))]

Thread 3 (Thread 0x7f6fc28bf700 (LWP 3954)):
[KCrash Handler]
#6  0x00007f6fcde4a2be in  () at /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#7  0x00007f6fcde77a3e in  () at /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#8  0x00007f6fcde76e9f in  () at /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#9  0x00007f6fcde5fb14 in Baloo::PositionDB::get(QByteArray const&) () at /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#10 0x00007f6fcde7495c in Baloo::WriteTransaction::commit() () at /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#11 0x00007f6fcde6b342 in Baloo::Transaction::commit() () at /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#12 0x000000000040fa65 in  ()
#13 0x00007f6fcd780c03 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f6fcd784808 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f6fcc416464 in start_thread (arg=0x7f6fc28bf700) at pthread_create.c:333
#16 0x00007f6fccd9730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f6fc3423700 (LWP 3301)):
#0  0x00007f6fccd8e19d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f6fc9f2b39c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f6fbc003220, timeout=<optimized out>, context=0x7f6fbc000990) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:4135
#2  0x00007f6fc9f2b39c in g_main_context_iterate (context=context@entry=0x7f6fbc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3835
#3  0x00007f6fc9f2b4ac in g_main_context_iteration (context=0x7f6fbc000990, may_block=1) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007f6fcd9ae1cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f6fcd956e4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f6fcd77f9e4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f6fcedad515 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f6fcd784808 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f6fcc416464 in start_thread (arg=0x7f6fc3423700) at pthread_create.c:333
#10 0x00007f6fccd9730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f6fcec908c0 (LWP 3293)):
#0  0x00007f6fccd8a17d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f6fc9f6e740 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fff8ae9fbf0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007f6fc9f6e740 in g_wakeup_acknowledge (wakeup=0x1607330) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gwakeup.c:210
#3  0x00007f6fc9f2ae84 in g_main_context_check (context=context@entry=0x161dfb0, max_priority=2147483647, fds=fds@entry=0x1643050, n_fds=n_fds@entry=3) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3632
#4  0x00007f6fc9f2b340 in g_main_context_iterate (context=context@entry=0x161dfb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3837
#5  0x00007f6fc9f2b4ac in g_main_context_iteration (context=0x161dfb0, may_block=1) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gmain.c:3901
#6  0x00007f6fcd9ae1af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f6fcd956e4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f6fcd95f50c in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x000000000040aa5c in  ()
#10 0x00007f6fcccd0730 in __libc_start_main (main=0x40a6e0, argc=1, argv=0x7fff8aea0178, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8aea0168) at ../csu/libc-start.c:291
#11 0x000000000040ac19 in _start ()

Reported using DrKonqi
Comment 1 Christoph Cullmann 2016-09-11 21:20:46 UTC
Guess thats a follow up of corruption of the vector because of wrong insert.

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