https://bugs.kde.org/show_bug.cgi?id=437153

            Bug ID: 437153
           Summary: filenamesearch crashes in KCoreDirLister
           Product: frameworks-kio
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: k...@privat.broulik.de
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
Filenamesearch crashes in KCoreDirListerCache::slotResult

STEPS TO REPRODUCE
1. Open a folder that is not indexed by Baloo in Dolphin
2. Launch search (Ctrl+F)

OBSERVED RESULT
Crashes

Thread 1 (Thread 0x7faa5f615040 (LWP 415051)):
[KCrash Handler]
#4  0x00007faa6417e0ee in KCoreDirListerCache::slotResult (this=0x7faa641f14a0
<(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>,
j=<optimized out>) at
/home/kaiuwe/Projekte/kf5/kio/src/core/kcoredirlister.cpp:1291
#5  0x00007faa63cf26fe in QtPrivate::QSlotObjectBase::call (a=0x7fff791c6e00,
r=0x7faa641f14a0 <(anonymous
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>,
this=0x565201a06050) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#6  doActivate<false> (sender=0x5652019f5730, signal_index=6,
argv=0x7fff791c6e00) at kernel/qobject.cpp:3886
#7  0x00007faa63cebac7 in QMetaObject::activate
(sender=sender@entry=0x5652019f5730, m=m@entry=0x7faa64010560
<KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3,
argv=argv@entry=0x7fff791c6e00) at kernel/qobject.cpp:3946
#8  0x00007faa63fa9530 in KJob::result (this=this@entry=0x5652019f5730,
_t1=<optimized out>, _t1@entry=0x5652019f5730, _t2=...) at
./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:636
#9  0x00007faa63faa25b in KJob::finishJob (this=0x5652019f5730,
emitResult=<optimized out>) at ./src/lib/jobs/kjob.cpp:94
#10 0x00007faa63faa33a in KJob::emitResult (this=<optimized out>) at
./src/lib/jobs/kjob.cpp:307
#11 0x00007faa641239a8 in KIO::SimpleJob::slotFinished
(this=this@entry=0x5652019f5730) at
/home/kaiuwe/Projekte/kf5/kio/src/core/simplejob.cpp:226
#12 0x00007faa64119e3e in KIO::ListJob::slotFinished (this=0x5652019f5730) at
/home/kaiuwe/Projekte/kf5/kio/src/core/listjob.cpp:234
#13 0x00007faa64121bf0 in KIO::SimpleJob::slotError (this=0x5652019f5730,
err=<optimized out>, errorText=...) at
/home/kaiuwe/Projekte/kf5/kio/src/core/simplejob.cpp:239
#14 0x00007faa63cf26fe in QtPrivate::QSlotObjectBase::call (a=0x7fff791c70a0,
r=0x5652019f5730, this=0x565201a3a510) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x5652019f2710, signal_index=5,
argv=0x7fff791c70a0) at kernel/qobject.cpp:3886
#16 0x00007faa63cebac7 in QMetaObject::activate
(sender=sender@entry=0x5652019f2710, m=m@entry=0x7faa641eae80
<KIO::SlaveInterface::staticMetaObject>,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff791c70a0)
at kernel/qobject.cpp:3946
#17 0x00007faa640f08ba in KIO::SlaveInterface::error
(this=this@entry=0x5652019f2710, _t1=<optimized out>, _t2=...) at
/home/kaiuwe/Projekte/kf5/kio/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:452
#18 0x00007faa640f33d6 in KIO::SlaveInterface::dispatch (this=0x5652019f2710,
_cmd=<optimized out>, rawdata=...) at
/home/kaiuwe/Projekte/kf5/kio/src/core/slaveinterface.cpp:181
#19 0x00007faa640f107f in KIO::SlaveInterface::dispatch (this=0x5652019f2710)
at /home/kaiuwe/Projekte/kf5/kio/src/core/slaveinterface.cpp:78
#20 0x00007faa640fa172 in KIO::Slave::gotInput (this=0x5652019f2710) at
/home/kaiuwe/Projekte/kf5/kio/src/core/slave.cpp:392

EXPECTED RESULT
Does not crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: git master as of 2021-05-21

ADDITIONAL INFORMATION
Offending line is job->uiDelegate()->showErrorMessage();

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to