Bug 352365 - Crash when select several files
Summary: Crash when select several files
Status: RESOLVED FIXED
Alias: None
Product: Baloo
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords:
: 352686 353086 353209 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-06 21:19 UTC by blackredprince
Modified: 2015-10-23 20:10 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.15


Attachments
valgrind log of crash (7.38 KB, text/plain)
2015-09-07 21:00 UTC, blackredprince
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blackredprince 2015-09-06 21:19:24 UTC
Clean install of Kubuntu 15.04 and update KDE to 5.4 by ppa:kubuntu-ci/stable.
Dolphin functionality works, but now, when trying slelect some files it crashes.
Info from dmesg (several launches and selects of file)

[30958.624837] dolphin[30762]: segfault at c ip 00007f53c6d69960 sp 00007fffe44ecd18 error 4 in liblmdb.so.0.0.0[7f53c6d65000+13000]
[31409.187834] dolphin[31354]: segfault at c ip 00007f02b5aa0960 sp 00007ffdc6cd47b8 error 4 in liblmdb.so.0.0.0[7f02b5a9c000+13000]
[31417.401164] dolphin[31370]: segfault at c ip 00007fcf21400960 sp 00007ffc20bf4198 error 4 in liblmdb.so.0.0.0[7fcf213fc000+13000]
[31422.883636] dolphin[31381]: segfault at c ip 00007fe85c607960 sp 00007ffe56a64e38 error 4 in liblmdb.so.0.0.0[7fe85c603000+13000]


Reproducible: Always

Steps to Reproduce:
1. Open Dolhin
2. Move to folder
3. Select by some files(by hold shift or mouse)
4. After second dolhin crashed
Comment 1 Emmanuel Pescosta 2015-09-07 20:35:36 UTC
Thanks for the bug report. Could you please provide a backtrace of the crash (and, if possible, also a Valgrind log) and your Dolphin version? See https://community.kde.org/Dolphin/FAQ/Crashes 

Thanks for your help.
Comment 2 blackredprince 2015-09-07 21:00:10 UTC
Created attachment 94462 [details]
valgrind log of crash
Comment 3 blackredprince 2015-09-07 21:02:10 UTC
Dolphin help:

Version 15.08.0
Using:
KDE Frameworks 5.14.0
Qt 5.4.1 (built against 5.4.1)
The xcb windowing system
Comment 4 blackredprince 2015-09-07 21:05:00 UTC
Sorry, but there is no another baktrace or logs available for dolphin
Comment 5 Silvio Frischknecht 2015-09-08 20:24:39 UTC
I used to have this problem too. same backtrace

Version 15.08.0
Using:
KDE Frameworks 5.14.0
Qt 5.4.2 (built against 5.4.2)
The xcb windowing system

then I pushed System Settings -> Search -> Plasma Search -> Clear History and now I can't reproduce it anymore.
Comment 6 blackredprince 2015-09-09 09:44:06 UTC
Update kde to 5.4.1. All the same. Clear history, but this didnt help
Comment 7 Silvio Frischknecht 2015-09-09 12:29:43 UTC
I also turned on and off again "enable File Search" in the next tab. I wasn't sure which of the two did the trick so I wrote the one that I thought more likely. In anycase, the second last function in backtrace was something with baloo, which has something to do with searching, so playing around with those options a bit might get it running again.
Comment 8 blackredprince 2015-09-09 20:35:47 UTC
Silvio, I repeat your steps - turn on and turn off search. then  clear history and all works fine now. Thanx, but bug still exist somewhere )
Comment 9 Silvio Frischknecht 2015-09-09 20:42:19 UTC
I agree. The bug is still there. Probably caused by upgrading (Ubuntu 15.04 to 15.10) with File Search disabled (if anyone wants to try to reproduce it). I'm just a user like you, so it's not up to me.
Comment 10 Frank Reininghaus 2015-09-10 21:32:45 UTC
Thanks for the Valgrind log. Looks like a Baloo issue.

==5686== Warning: set address range perms: large range [0x3a056000, 0x17a056000) (defined)
==5686== Invalid read of size 4
==5686==    at 0x11AC5960: mdb_txn_begin (in /usr/lib/x86_64-linux-gnu/liblmdb.so.0.0.0)
==5686==    by 0x7B53854: Baloo::File::load() (in /usr/lib/x86_64-linux-gnu/libKF5Baloo.so.5.14.0)
==5686==    by 0x75D64C0: ??? (in /usr/lib/x86_64-linux-gnu/libKF5BalooWidgets.so.5.0.0)
==5686==    by 0xA4AF739: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.1)
==5686==    by 0x9703B2B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.1)
==5686==    by 0x9708FFF: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.1)
==5686==    by 0xA47DC2A: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.1)
==5686==    by 0xA47FC9A: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.1)
==5686==    by 0xA4D6842: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.1)
==5686==    by 0xE636C3C: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==5686==    by 0xE636F1F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==5686==    by 0xE636FCB: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==5686==  Address 0xc is not stack'd, malloc'd or (recently) free'd
==5686== 
==5686== 
==5686== Process terminating with default action of signal 11 (SIGSEGV)
==5686==  Access not within mapped region at address 0xC
==5686==    at 0x11AC5960: mdb_txn_begin (in /usr/lib/x86_64-linux-gnu/liblmdb.so.0.0.0)
==5686==    by 0x7B53854: Baloo::File::load() (in /usr/lib/x86_64-linux-gnu/libKF5Baloo.so.5.14.0)
==5686==    by 0x75D64C0: ??? (in /usr/lib/x86_64-linux-gnu/libKF5BalooWidgets.so.5.0.0)
==5686==    by 0xA4AF739: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.1)
==5686==    by 0x9703B2B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.1)
==5686==    by 0x9708FFF: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.1)
==5686==    by 0xA47DC2A: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.1)
==5686==    by 0xA47FC9A: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.1)
==5686==    by 0xA4D6842: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.1)
==5686==    by 0xE636C3C: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==5686==    by 0xE636F1F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==5686==    by 0xE636FCB: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
Comment 11 Vishesh Handa 2015-09-15 21:10:13 UTC
*** Bug 352686 has been marked as a duplicate of this bug. ***
Comment 12 Frank Reininghaus 2015-09-23 19:51:50 UTC
*** Bug 353086 has been marked as a duplicate of this bug. ***
Comment 13 Emmanuel Pescosta 2015-09-26 14:00:23 UTC
*** Bug 353209 has been marked as a duplicate of this bug. ***
Comment 14 James Ruan 2015-10-03 12:36:39 UTC
I had similar situation like this.
Dolphin opened and flashed and then automatically closed.

When I try to debug that, also a SIGSEGV. And Valgrind trace back to Baloo::File::load() and finally mdb_txn_begin of liblmdb.

I found that I didn't have baloo-kf5 installed in my system. Then I installed it. Nothing changed.
Then I clean the search just as Silvio Frischknecht said: "System Settings -> Search -> Plasma Search -> Clear History" and it vanished as the same.