Bug 368572

Summary: Baloo Crash at Startup
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Jean-Paul Lambrechts <jlambrec>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jean-Paul Lambrechts 2016-09-11 00:24:21 UTC
Application: baloo_file (5.25.0)

Qt Version: 5.6.1
Frameworks Version: 5.25.0
Operating System: Linux 4.7.2-201.fc24.x86_64 x86_64
Distribution: "Fedora release 24 (Twenty Four)"

-- Information about the crash:
- What I was doing when the application crashed: The system was booting up.
I have noticed that Baloo crashes at startup - during the booting seuence - on several x86_64 computers that use. Here is a description of the system used for this report:
System:    Host: jplx-linux Kernel: 4.7.2-201.fc24.x86_64 x86_64 (64 bit) 
           Desktop: KDE 5 Distro: Fedora release 24 (Twenty Four)
Machine:   Mobo: ASRock model: G31M-GS. Bios: American Megatrends version: P1.90 date: 05/16/2012
CPU:       Quad core Intel Core2 Quad CPU Q8400 (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) 
           Clock Speeds: 1: 2670.165 MHz 2: 2670.165 MHz 3: 2670.165 MHz 4: 2670.165 MHz
Graphics:  Card: Intel 82G33/G31 Express Integrated Graphics Controller 
           Fedora X.org: 118.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1280x1024@60.02hz 
           GLX Renderer: Mesa DRI Intel G33 GLX Version: 2.1 Mesa 12.0.1
Audio:     Card: Intel NM10/ICH7 Family High Definition Audio Controller driver: snd_hda_intel 
           Sound: Advanced Linux Sound Architecture ver: k4.7.2-201.fc24.x86_64
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169 
           IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: bc:5f:f4:b7:16:86
Drives:    HDD Total Size: 1046.3GB (10.2% used) 1: id: /dev/sda model: IBM size: 46.1GB 
           2: id: /dev/sdb model: Hitachi_HDS72101 size: 1000.2GB 
Partition: ID: / size: 25G used: 13G (56%) fs: ext4 ID: /home size: 789G used: 76G (11%) fs: ext4 
           ID: /boot size: 964M used: 134M (15%) fs: ext4 ID: swap-1 size: 4.30GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 220 Uptime: 6 min Memory: 1026.0/3942.8MB Client: Shell inxi: 1.8.20

The crash can be reproduced sometimes.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb98806d8c0 (LWP 2094))]

Thread 3 (Thread 0x7fb974c43700 (LWP 2622)):
[KCrash Handler]
#6  0x00007fb985cc06f5 in raise () at /lib64/libc.so.6
#7  0x00007fb985cc22fa in abort () at /lib64/libc.so.6
#8  0x00007fb986904a32 in  () at /lib64/liblmdb.so.0.0.0
#9  0x00007fb9868f9a45 in mdb_page_dirty () at /lib64/liblmdb.so.0.0.0
#10 0x00007fb9868faa56 in mdb_page_alloc.isra () at /lib64/liblmdb.so.0.0.0
#11 0x00007fb9868fb239 in mdb_page_touch () at /lib64/liblmdb.so.0.0.0
#12 0x00007fb9868fce94 in mdb_cursor_touch () at /lib64/liblmdb.so.0.0.0
#13 0x00007fb986900062 in mdb_cursor_put () at /lib64/liblmdb.so.0.0.0
#14 0x00007fb986902c10 in mdb_put () at /lib64/liblmdb.so.0.0.0
#15 0x00007fb98723b12d in Baloo::IdTreeDB::put(unsigned long long, QVector<unsigned long long>) () at /lib64/libKF5BalooEngine.so.5
#16 0x00007fb987234302 in Baloo::DocumentUrlDB::add(unsigned long long, unsigned long long, QByteArray const&) () at /lib64/libKF5BalooEngine.so.5
#17 0x00007fb987234684 in Baloo::DocumentUrlDB::put(unsigned long long, QByteArray const&) () at /lib64/libKF5BalooEngine.so.5
#18 0x00007fb987255daa in Baloo::WriteTransaction::addDocument(Baloo::Document const&) () at /lib64/libKF5BalooEngine.so.5
#19 0x000055bdcec3f208 in Baloo::NewFileIndexer::run() ()
#20 0x00007fb986bac76f in QThreadPoolThread::run() () at /lib64/libQt5Core.so.5
#21 0x00007fb986baf99a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#22 0x00007fb984ef85ca in start_thread () at /lib64/libpthread.so.0
#23 0x00007fb985d8ef6d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fb975746700 (LWP 2096)):
#0  0x00007fb9815fba24 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x00007fb9815b6f4c in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x00007fb9815b792b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007fb9815b7b1c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007fb986d9d24b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fb986d4c5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fb986bab343 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007fb98818f559 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#8  0x00007fb986baf99a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007fb984ef85ca in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb985d8ef6d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fb98806d8c0 (LWP 2094)):
#0  0x00007fb984f00c5c in __lll_robust_lock_wait () at /lib64/libpthread.so.0
#1  0x00007fb984efa691 in __pthread_mutex_lock_full () at /lib64/libpthread.so.0
#2  0x00007fb9868f8fe2 in mdb_txn_renew0 () at /lib64/liblmdb.so.0.0.0
#3  0x00007fb9868fa2dc in mdb_txn_begin () at /lib64/liblmdb.so.0.0.0
#4  0x00007fb98724e72b in Baloo::Transaction::Transaction(Baloo::Database const&, Baloo::Transaction::TransactionType) () at /lib64/libKF5BalooEngine.so.5
#5  0x000055bdcec4edaf in Baloo::MetadataMover::removeFileMetadata(QString const&) ()
#6  0x00007fb986d75ebc in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#7  0x000055bdcec58825 in Baloo::PendingFileQueue::removeFileIndex(QString const&) ()
#8  0x000055bdcec4d186 in Baloo::PendingFileQueue::processCache() ()
#9  0x00007fb986d75ebc in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#10 0x00007fb986d81f88 in QTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#11 0x00007fb986d76b8b in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#12 0x00007fb986d4d69a in doNotify(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#13 0x00007fb986d4d7aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#14 0x00007fb986d9c7ab in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#15 0x00007fb986d9cd39 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#16 0x00007fb9815b76ba in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#17 0x00007fb9815b7a70 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#18 0x00007fb9815b7b1c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#19 0x00007fb986d9d22f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#20 0x00007fb986d4c5ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#21 0x00007fb986d5417c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#22 0x000055bdcec35efc in main ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2016-09-11 20:55:43 UTC

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