<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>426195</bug_id>
          
          <creation_ts>2020-09-05 01:14:47 +0000</creation_ts>
          <short_desc>Plasma session crash after returning from wayland session.</short_desc>
          <delta_ts>2020-09-28 09:49:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-baloo</product>
          <component>Baloo File Daemon</component>
          <version>5.68.0</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>389848</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Leandro">leo.cod+kde</reporter>
          <assigned_to name="Stefan Brüns">stefan.bruens</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1955205</commentid>
    <comment_count>0</comment_count>
    <who name="Leandro">leo.cod+kde</who>
    <bug_when>2020-09-05 01:14:47 +0000</bug_when>
    <thetext>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 &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
__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 &quot;rc == 0&quot;, func=func@entry=0x7f3c0b23e978 &lt;__func__.7221&gt; &quot;mdb_page_dirty&quot;, line=line@entry=2127, file=0x7f3c0b23e010 &quot;mdb.c&quot;) at mdb.c:1542
#9  0x00007f3c0b2306d5 in mdb_page_dirty (mp=&lt;optimized out&gt;, txn=0x55e2ad7109f0) at mdb.c:2114
#10 mdb_page_dirty (txn=0x55e2ad7109f0, mp=&lt;optimized out&gt;) at mdb.c:2114
#11 0x00007f3c0b231966 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f3c0727aee8, mc=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1960660</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2020-09-28 09:49:57 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 389848 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>