Bug 354342 - Baloo crash - Baloo::ModifiedFileIndexer::run - mdb_txn_begin
Summary: Baloo crash - Baloo::ModifiedFileIndexer::run - mdb_txn_begin
Status: RESOLVED DUPLICATE of bug 391652
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.15.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
: 361009 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-25 10:34 UTC by Eugeny
Modified: 2018-04-14 01:45 UTC (History)
4 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 Eugeny 2015-10-25 10:34:19 UTC
Application: baloo_file (5.15.0)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-16-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
indexer crashed one time when I execute "sudo btrfs quota rescan"

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

Thread 2 (Thread 0x7f0821e95700 (LWP 4889)):
[KCrash Handler]
#6  0x00007f096a5dece7 in __GI___pthread_mutex_lock (mutex=0x7f096cfaa040) at ../nptl/pthread_mutex_lock.c:80
#7  0x00007f09696bd9c2 in mdb_txn_renew0 (txn=txn@entry=0x862190) at mdb.c:2566
#8  0x00007f09696bec10 in mdb_txn_begin (env=0x8ac1a0, parent=parent@entry=0x0, flags=flags@entry=0, ret=ret@entry=0x7f0821e94bf8) at mdb.c:2740
#9  0x00007f096c0274bb in Baloo::Transaction::Transaction (this=0x7f0821e94bf0, db=..., type=Baloo::Transaction::ReadWrite) at ../../../src/engine/transaction.cpp:54
#10 0x000000000041d013 in Baloo::ModifiedFileIndexer::run (this=0x8ffcf0) at ../../../src/file/modifiedfileindexer.cpp:49
#11 0x00007f096b966e73 in QThreadPoolThread::run (this=0x8a89b0) at thread/qthreadpool.cpp:93
#12 0x00007f096b96a2be in QThreadPrivate::start (arg=0x8a89b0) at thread/qthread_unix.cpp:337
#13 0x00007f096a5dc6aa in start_thread (arg=0x7f0821e95700) at pthread_create.c:333
#14 0x00007f096af7aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f096ce2c800 (LWP 993)):
#0  0x00007f096af6b49d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f09681a04e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f096815ccd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f096815d190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f096815d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f096bba129b in QEventDispatcherGlib::processEvents (this=0x850010, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f096bb4775a in QEventLoop::exec (this=this@entry=0x7fffd8012280, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f096bb4f2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#8  0x0000000000415aec in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

Reported using DrKonqi
Comment 1 V字龍(Vdragon) 2016-01-08 16:30:24 UTC
I encounter the (almost) same issue on my Ubuntu 15.10 fresh-installed system.

Application: baloo_file (5.15.0)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-23-generic x86_64
Distribution: Ubuntu 15.10

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

-- 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 0x7f216b142800 (LWP 8967))]

Thread 2 (Thread 0x7f21601f0700 (LWP 9023)):
[KCrash Handler]
#6  0x00007f21679e0b40 in mdb_txn_begin (env=0x0, parent=0x0, flags=0, ret=0x7f21601efbf8) at mdb.c:2650
#7  0x00007f216a3494bb in Baloo::Transaction::Transaction(Baloo::Database const&, Baloo::Transaction::TransactionType) () at /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#8  0x000000000041d013 in Baloo::ModifiedFileIndexer::run() (this=0x158e640) at ../../../src/file/modifiedfileindexer.cpp:49
#9  0x00007f2169c88e73 in QThreadPoolThread::run() (this=0x1590500) at thread/qthreadpool.cpp:93
#10 0x00007f2169c8c2be in QThreadPrivate::start(void*) (arg=0x1590500) at thread/qthread_unix.cpp:337
#11 0x00007f21688fe6aa in start_thread (arg=0x7f21601f0700) at pthread_create.c:333
#12 0x00007f216929ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f216b142800 (LWP 8967)):
#0  0x00007f216928d49d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f21664c24e0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fff95231100, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007f21664c24e0 in g_wakeup_acknowledge (wakeup=0x1365330) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gwakeup.c:210
#3  0x00007f216647ecd4 in g_main_context_check (context=context@entry=0x137c410, max_priority=2147483647, fds=fds@entry=0x1435420, n_fds=n_fds@entry=4) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3632
#4  0x00007f216647f190 in g_main_context_iterate (context=context@entry=0x137c410, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3837
#5  0x00007f216647f2fc in g_main_context_iteration (context=0x137c410, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#6  0x00007f2169ec327f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x137c620, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#7  0x00007f2169e6975a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff95231300, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f2169e712cc in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#9  0x0000000000415aec in main(int, char**) (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

Possible duplicates by query: bug 354342.
Comment 2 Dominik Haumann 2018-04-14 01:45:47 UTC

*** This bug has been marked as a duplicate of bug 391652 ***
Comment 3 Dominik Haumann 2018-04-14 01:45:54 UTC
*** Bug 361009 has been marked as a duplicate of this bug. ***