Bug 426195 - Plasma session crash after returning from wayland session.
Summary: Plasma session crash after returning from wayland session.
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.68.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-09-05 01:14 UTC by Leandro
Modified: 2020-09-28 09:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leandro 2020-09-05 01:14:47 UTC
Application: baloo_file (5.68.0)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-45-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Just initiate the normal plasma session after endind the wayland session.

- Unusual behavior I noticed:
It crashes and most of the time I cannot generate bactracing in plasma session.

- Custom settings of the application:
None change on baloo_file_extractor or db mechanisms was done.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__GI___libc_read (nbytes=16, buf=0x7fff4058baa0, fd=3) at ../sysdeps/unix/sysv/linux/read.c:26
[Current thread is 1 (Thread 0x7f3c08325c80 (LWP 8464))]

Thread 3 (Thread 0x7f3c0727c700 (LWP 8573)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f3c0bbb9859 in __GI_abort () at abort.c:79
#8  0x00007f3c0b23ba83 in mdb_assert_fail (env=0x55e2ad710600, expr_txt=expr_txt@entry=0x7f3c0b23e02f "rc == 0", func=func@entry=0x7f3c0b23e978 <__func__.7221> "mdb_page_dirty", line=line@entry=2127, file=0x7f3c0b23e010 "mdb.c") at mdb.c:1542
#9  0x00007f3c0b2306d5 in mdb_page_dirty (mp=<optimized out>, txn=0x55e2ad7109f0) at mdb.c:2114
#10 mdb_page_dirty (txn=0x55e2ad7109f0, mp=<optimized out>) at mdb.c:2114
#11 0x00007f3c0b231966 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f3c0727aee8, mc=<optimized out>) at mdb.c:2308
#12 0x00007f3c0b231ba3 in mdb_page_touch (mc=mc@entry=0x7f3c0727b420) at mdb.c:2495
#13 0x00007f3c0b2337c7 in mdb_cursor_touch (mc=mc@entry=0x7f3c0727b420) at mdb.c:6523
#14 0x00007f3c0b2368f9 in mdb_cursor_put (mc=mc@entry=0x7f3c0727b420, key=key@entry=0x7f3c0727b810, data=data@entry=0x7f3c0727b820, flags=flags@entry=0) at mdb.c:6657
#15 0x00007f3c0b23976b in mdb_put (txn=0x55e2ad7109f0, dbi=5, key=key@entry=0x7f3c0727b810, data=data@entry=0x7f3c0727b820, flags=flags@entry=0) at mdb.c:9022
#16 0x00007f3c0c7124c5 in Baloo::DocumentDB::put (this=this@entry=0x7f3c0727b960, docId=<optimized out>, docId@entry=27041423333263366, list=...) at ./src/engine/documentdb.cpp:79
#17 0x00007f3c0c743da7 in Baloo::WriteTransaction::replaceDocument (this=0x55e2ad7ea340, doc=..., operations=operations@entry=...) at ./src/engine/writetransaction.cpp:232
#18 0x00007f3c0c736b16 in Baloo::Transaction::replaceDocument (this=this@entry=0x7f3c0727bc10, doc=..., operations=operations@entry=...) at ./src/engine/transaction.cpp:295
#19 0x000055e2ac5d6cbc in Baloo::UnindexedFileIndexer::run (this=0x55e2ad79ca20) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:60
#20 0x00007f3c0c177f82 in QThreadPoolThread::run (this=0x55e2ad717f20) at thread/qthreadpool.cpp:99
#21 0x00007f3c0c1749d2 in QThreadPrivate::start (arg=0x55e2ad717f20) at thread/qthread_unix.cpp:361
#22 0x00007f3c0b29d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#23 0x00007f3c0bcb6103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3c07d8f700 (LWP 8472)):
#0  0x00007f3c0bca996f in __GI___poll (fds=0x7f3c000029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3c0ab8b1ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c0ab8b2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c0c394583 in QEventDispatcherGlib::processEvents (this=0x7f3c00000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3c0c33b4db in QEventLoop::exec (this=this@entry=0x7f3c07d8ed70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f3c0c173785 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f3c0c76aefa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f3c0c1749d2 in QThreadPrivate::start (arg=0x7f3c0c7edd80) at thread/qthread_unix.cpp:361
#8  0x00007f3c0b29d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f3c0bcb6103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3c08325c80 (LWP 8464)):
#0  __GI___libc_read (nbytes=16, buf=0x7fff4058baa0, fd=3) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=3, buf=0x7fff4058baa0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f3c0abd389f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c0ab8acfe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3c0ab8b152 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3c0ab8b2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3c0c394565 in QEventDispatcherGlib::processEvents (this=0x55e2ad6fd870, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#7  0x00007f3c0c33b4db in QEventLoop::exec (this=this@entry=0x7fff4058bcb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#8  0x00007f3c0c343246 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#9  0x000055e2ac5c5109 in main (argc=<optimized out>, argv=<optimized out>) at ./src/file/main.cpp:103
[Inferior 1 (process 8464) detached]

The reporter indicates this bug may be a duplicate of or related to bug 419788.

Possible duplicates by query: bug 425735, bug 425266, bug 425142, bug 425017, bug 424911.

Reported using DrKonqi
Comment 1 Christoph Feck 2020-09-28 09:49:57 UTC

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