Bug 406300

Summary: baloo_file_extractor crashes in Baloo::Baloo::Transaction::abort()
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Vedran <phidrho>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED FIXED    
Severity: crash CC: elvis.angelaccio, nate
Priority: NOR Keywords: drkonqi
Version: 5.44.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vedran 2019-04-07 14:23:39 UTC
Application: dolphin (17.12.3)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-47-generic x86_64
Distribution: Ubuntu 18.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I started "balooctl check", and after that I ran "balooctl monitor" inside Konsole, and after maybe half a minute Dolphin crashed.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f161f1496c0 (LWP 4038))]

Thread 4 (Thread 0x7f15f5d8c700 (LWP 4042)):
#0  0x00007f161e9cabf9 in __GI___poll (fds=0x7f15f00049b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1611926539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f161192664c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1618bde9bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1618b83a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f16189a223a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f16189a717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f1613a976db in start_thread (arg=0x7f15f5d8c700) at pthread_create.c:463
#8  0x00007f161e9d788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1605753700 (LWP 4041)):
#0  0x00007f161e9cabf9 in __GI___poll (fds=0x7f15f801adf0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1611926539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f161192664c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1618bde9bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1618b83a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f16189a223a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f161905bd45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f16189a717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f1613a976db in start_thread (arg=0x7f1605753700) at pthread_create.c:463
#9  0x00007f161e9d788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1607e90700 (LWP 4040)):
#0  0x00007f161e9cabf9 in __GI___poll (fds=0x7f1607e8fca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1611267747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f161126936a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f160ac3d2a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f16189a717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1613a976db in start_thread (arg=0x7f1607e90700) at pthread_create.c:463
#6  0x00007f161e9d788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f161f1496c0 (LWP 4038)):
[KCrash Handler]
#6  0x00007f1610e490c9 in mdb_txn_abort () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#7  0x00007f1610e490ed in mdb_txn_abort () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#8  0x00007f16162f29b2 in Baloo::Transaction::abort() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#9  0x00007f16162f2af2 in Baloo::Transaction::~Transaction() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#10 0x00007f161cc5311b in Baloo::File::load() () from /usr/lib/x86_64-linux-gnu/libKF5Baloo.so.5
#11 0x00007f161e6009da in KFileItemModelRolesUpdater::applyChangedBalooRolesForItem(KFileItem const&) () from /usr/lib/x86_64-linux-gnu/libdolphinprivate.so.5
#12 0x00007f161e601d52 in KFileItemModelRolesUpdater::rolesData(KFileItem const&) () from /usr/lib/x86_64-linux-gnu/libdolphinprivate.so.5
#13 0x00007f161e6056f2 in KFileItemModelRolesUpdater::applyResolvedRoles(int, KFileItemModelRolesUpdater::ResolveHint) () from /usr/lib/x86_64-linux-gnu/libdolphinprivate.so.5
#14 0x00007f161e60734f in KFileItemModelRolesUpdater::slotPreviewFailed(KFileItem const&) () from /usr/lib/x86_64-linux-gnu/libdolphinprivate.so.5
#15 0x00007f1618bb477f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f161d7210b5 in KIO::PreviewJob::failed(KFileItem const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#17 0x00007f161d724996 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#18 0x00007f161d7271d1 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#19 0x00007f1618bb51d2 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f1619b8d83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f1619b95104 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f1618b859e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f1618b8815d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f1618bdf373 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f1611926387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f16119265c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f161192664c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f1618bde99f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f1618b83a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f1618b8cac4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f161eceabaa in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#32 0x00007f161e8d7b97 in __libc_start_main (main=0x5577a5b61730, argc=1, argv=0x7fff45cd3e48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff45cd3e38) at ../csu/libc-start.c:310
#33 0x00005577a5b6176a in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2020-10-26 16:47:00 UTC
No duplicate bug reports seen in almost a year and this report was made against an ancient version of Baloo (5.44; we're at 5.75 now!). After all the bugfixing work done during that time, I think we can call this fixed!