Bug 438072 - Can't Search other than Home Directory
Summary: Can't Search other than Home Directory
Status: RESOLVED BACKTRACE
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.82.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-04 07:31 UTC by Nowshed H. Imran
Modified: 2021-10-16 17:37 UTC (History)
4 users (show)

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 Nowshed H. Imran 2021-06-04 07:31:03 UTC
SUMMARY
I have an external hard-disk in my system which is configured using fstab. The partition format is ext4. Whenever I try to search something from that partition dolphin crashes. I also have kio-fuse installed.

STEPS TO REPRODUCE
1. Open a partition other than Home/Root
2. Search anything using ctrl+f

OBSERVED RESULT
Crash resport.
Application: kdeinit5 (kdeinit5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007efc55df398f in ?? () from /usr/lib/libKF5KIOCore.so.5
#5  0x00007efc59c773bb in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007efc5975fd4d in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/libKF5CoreAddons.so.5
#7  0x00007efc59760a9c in KJob::finishJob(bool) () from /usr/lib/libKF5CoreAddons.so.5
#8  0x00007efc59c773bb in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007efc55d98057 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib/libKF5KIOCore.so.5
#10 0x00007efc55d9a484 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libKF5KIOCore.so.5
#11 0x00007efc55d987ba in KIO::SlaveInterface::dispatch() () from /usr/lib/libKF5KIOCore.so.5
#12 0x00007efc55d9c2bb in KIO::Slave::gotInput() () from /usr/lib/libKF5KIOCore.so.5
#13 0x00007efc59c773bb in ?? () from /usr/lib/libQt5Core.so.5
#14 0x00007efc59c6d15f in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007efc59c3ffd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#16 0x00007efc59c43109 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#17 0x00007efc59c99604 in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007efc5828502c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007efc582d8b59 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007efc58282781 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007efc59c98c36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#22 0x00007efc59c3e97c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#23 0x00007efc5a7e2beb in ?? () from /usr/lib/qt/plugins/kf5/kio/filenamesearch.so
#24 0x00007efc5a7e2eed in ?? () from /usr/lib/qt/plugins/kf5/kio/filenamesearch.so
#25 0x00007efc5a7e2eed in ?? () from /usr/lib/qt/plugins/kf5/kio/filenamesearch.so
#26 0x00007efc5a7e2eed in ?? () from /usr/lib/qt/plugins/kf5/kio/filenamesearch.so
#27 0x00007efc5a7e2eed in ?? () from /usr/lib/qt/plugins/kf5/kio/filenamesearch.so
#28 0x00007efc5a7e3453 in ?? () from /usr/lib/qt/plugins/kf5/kio/filenamesearch.so
#29 0x00007efc55d8993f in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /usr/lib/libKF5KIOCore.so.5
#30 0x00007efc55d8a436 in KIO::SlaveBase::dispatchLoop() () from /usr/lib/libKF5KIOCore.so.5
#31 0x00007efc5a7e377c in kdemain () from /usr/lib/qt/plugins/kf5/kio/filenamesearch.so
#32 0x000055caa9c855bd in ?? ()
#33 0x000055caa9c86a59 in ?? ()
#34 0x000055caa9c87237 in ?? ()
#35 0x000055caa9c82b54 in ?? ()
#36 0x00007efc597e2b25 in __libc_start_main () from /usr/lib/libc.so.6
#37 0x000055caa9c836be in ?? ()
[Inferior 1 (process 21328) detached]


EXPECTED RESULT
Searching the partition and showing result.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.9-arch1-1
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 3.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Comment 1 Nate Graham 2021-06-04 10:18:44 UTC
Unfortunately the backtrace is incomplete and missing debug symbols that we need to figure out exactly what's going wrong.

If this crash is reproducible in the latest Plasma version, could you please install debug symbols for KIO, reproduce it, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks!
Comment 2 Nowshed H. Imran 2021-06-06 07:16:21 UTC
This is the backtrace I am getting from gdb:

(gdb) bt
#0  0x00007f8bc1c1b323 in pselect () from /usr/lib/libc.so.6
#1  0x00007f8bbcee7524 in ?? () from /usr/lib/libusbmuxd-2.0.so.6
#2  0x00007f8bbcee88a9 in ?? () from /usr/lib/libusbmuxd-2.0.so.6
#3  0x00007f8bbe3a0259 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f8bc1c235e3 in clone () from /usr/lib/libc.so.6
Comment 3 Nowshed H. Imran 2021-06-06 08:57:16 UTC
gdb dolphin
GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
--Type <RET> for more, q to quit, c to continue without paging--c
Reading symbols from dolphin...
(No debugging symbols found in dolphin)
(gdb) run
Starting program: /usr/bin/dolphin 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff036e640 (LWP 95635)]
[New Thread 0x7fffef79e640 (LWP 95636)]
[New Thread 0x7fffee58d640 (LWP 95637)]
[New Thread 0x7fffed16e640 (LWP 95638)]
[New Thread 0x7fffec96d640 (LWP 95639)]
[New Thread 0x7fffd8b1b640 (LWP 95640)]
[New Thread 0x7fffcbfff640 (LWP 95641)]
[New Thread 0x7fffcb7fe640 (LWP 95642)]
[New Thread 0x7fffcaffd640 (LWP 95643)]
[New Thread 0x7fffca7fc640 (LWP 95644)]
[New Thread 0x7fffc9ffb640 (LWP 95645)]
[New Thread 0x7fffc97fa640 (LWP 95646)]
[Thread 0x7fffcb7fe640 (LWP 95642) exited]
[Thread 0x7fffc9ffb640 (LWP 95645) exited]
[Thread 0x7fffcaffd640 (LWP 95643) exited]
[Thread 0x7fffca7fc640 (LWP 95644) exited]
--Type <RET> for more, q to quit, c to continue without paging--fini

Thread 4 "dolphin" received signal SIG32, Real-time event 32.
[Switching to Thread 0x7fffee58d640 (LWP 95637)]
0x00007ffff7dd4323 in pselect () from /usr/lib/libc.so.6
Comment 4 Nowshed H. Imran 2021-06-06 08:58:13 UTC
I am not an advanced user. Archlinux doesn't provide any official debugger.
Anything else I can do?
Comment 5 Nate Graham 2021-06-07 13:47:07 UTC
Your practical options are to learn how to install debug symbols in Arch (https://wiki.archlinux.org/title/Debugging/Getting_traces), or use a distro more suited to your level of experience and desire to be exposed to this sort of thing. :)
Comment 6 Nowshed H. Imran 2021-06-08 15:11:10 UTC
I might be able to learn to compile, however, my hardware is not robust enough to compile the package with all dependencies. 
Closing the issue for now.
Comment 7 amyspark 2021-10-16 17:32:09 UTC
*** Bug 443817 has been marked as a duplicate of this bug. ***
Comment 8 Nowshed H. Imran 2021-10-16 17:37:10 UTC
I have a workaround now. 
Go to:
Settings>Search>File Search
Then add the drive location in which the crash is happening.

For me, all external drive was located in /media.
After adding that, searching works again.