Bug 476204 - KFind crashes when searching for "$_SERVER" in "*" files in a directory
Summary: KFind crashes when searching for "$_SERVER" in "*" files in a directory
Status: REPORTED
Alias: None
Product: kfind
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-10-28 16:42 UTC by phd
Modified: 2023-10-28 16:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phd 2023-10-28 16:42:59 UTC
Application: kfind (23.04.3)

Qt Version: 5.15.8
Frameworks Version: 5.110.0
Operating System: Linux 6.5.8-x64v3-xanmod1 x86_64
Windowing System: X11
Distribution: Ubuntu 23.04
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
KFind crashed when searching for "$_SERVER" in "*" files in a directory.
This is reproducible every time.

The crash can be reproduced every time.

-- Backtrace:
Application: KFind (kfind), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007ff84a03c3b6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007ff84a02287c in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007ff84a4a4ee6 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007ff84a4b6e9c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007ff84a4b6f07 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007ff84a4b7168 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ff84a88ffd7 in qBadAlloc () at global/qglobal.cpp:3356
#14 0x00007ff84a89559d in QString::reallocData (this=this@entry=0x5620c8de7c58, alloc=1073753973, grow=grow@entry=true) at text/qstring.cpp:2376
#15 0x00007ff84a951ac5 in QString::append (this=this@entry=0x5620c8de7c58, str=...) at text/qstring.cpp:2684
#16 0x00007ff84ab47187 in QString::operator+= (s=..., this=0x5620c8de7c58) at ../../include/QtCore/../../src/corelib/text/qstring.h:569
#17 QTextStreamPrivate::fillReadBuffer (this=this@entry=0x5620c8de7bd0, maxBytes=maxBytes@entry=-1) at serialization/qtextstream.cpp:491
#18 0x00007ff84ab4a155 in QTextStreamPrivate::scan (delimiter=QTextStreamPrivate::EndOfLine, maxlen=<optimized out>, length=<synthetic pointer>, ptr=<synthetic pointer>, this=0x5620c8de7bd0) at serialization/qtextstream.cpp:699
#19 QTextStream::readLineInto (this=this@entry=0x5620c91290d0, line=line@entry=0x7ffcbc36ffb8, maxlen=maxlen@entry=0) at serialization/qtextstream.cpp:1718
#20 0x00007ff84ab4a412 in QTextStream::readLine (this=this@entry=0x5620c91290d0, maxlen=maxlen@entry=0) at serialization/qtextstream.cpp:1676
#21 0x00005620c7935e28 in KQuery::processQuery (this=this@entry=0x5620c85bc970, file=...) at /usr/src/kfind-4:23.04.3-0ubuntu1~ubuntu23.04~ppa1/src/kquery.cpp:446
#22 0x00005620c7937142 in KQuery::checkEntries (this=0x5620c85bc970) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:245
#23 0x00007ff84aaf39af in QtPrivate::QSlotObjectBase::call (a=0x7ffcbc3701d0, r=0x5620c85bc970, this=0x5620c83666f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#24 doActivate<false> (sender=0x5620c8528f90, signal_index=25, argv=0x7ffcbc3701d0) at kernel/qobject.cpp:3923
#25 0x00007ff84aaeca47 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ff84c2bb1c0 <KIO::ListJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcbc3701d0) at kernel/qobject.cpp:3983
#26 0x00007ff84c1e0548 in KIO::ListJob::entries (this=<optimized out>, _t1=<optimized out>, _t2=...) at /usr/src/kio-5.110.0-0ubuntu1~ubuntu23.04~ppa1/obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_listjob.cpp:237
#27 0x00007ff84aaf39af in QtPrivate::QSlotObjectBase::call (a=0x7ffcbc3702d0, r=0x5620c8528f90, this=0x5620c8628d70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#28 doActivate<false> (sender=0x5620c8371940, signal_index=25, argv=0x7ffcbc3702d0) at kernel/qobject.cpp:3923
#29 0x00007ff84aaeca47 in QMetaObject::activate (sender=sender@entry=0x5620c8371940, m=m@entry=0x7ff84c2bb1c0 <KIO::ListJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcbc3702d0) at kernel/qobject.cpp:3983
#30 0x00007ff84c1e0548 in KIO::ListJob::entries (this=this@entry=0x5620c8371940, _t1=<optimized out>, _t1@entry=0x5620c8371940, _t2=...) at /usr/src/kio-5.110.0-0ubuntu1~ubuntu23.04~ppa1/obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_listjob.cpp:237
#31 0x00007ff84c1e1a17 in KIO::ListJobPrivate::slotListEntries (this=<optimized out>, list=...) at /usr/src/kio-5.110.0-0ubuntu1~ubuntu23.04~ppa1/src/core/listjob.cpp:168
#32 0x00007ff84aaf39af in QtPrivate::QSlotObjectBase::call (a=0x7ffcbc3704d0, r=0x5620c8371940, this=0x5620c8481910) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#33 doActivate<false> (sender=0x5620c8039890, signal_index=9, argv=0x7ffcbc3704d0) at kernel/qobject.cpp:3923
#34 0x00007ff84aaeca47 in QMetaObject::activate (sender=sender@entry=0x5620c8039890, m=m@entry=0x7ff84c2babc0 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffcbc3704d0) at kernel/qobject.cpp:3983
#35 0x00007ff84c1c7b39 in KIO::SlaveInterface::listEntries (this=this@entry=0x5620c8039890, _t1=...) at /usr/src/kio-5.110.0-0ubuntu1~ubuntu23.04~ppa1/obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:478
#36 0x00007ff84c1c9c8a in KIO::SlaveInterface::dispatch (this=0x5620c8039890, _cmd=<optimized out>, rawdata=...) at /usr/src/kio-5.110.0-0ubuntu1~ubuntu23.04~ppa1/src/core/slaveinterface.cpp:166
#37 0x00007ff84c1c82da in KIO::SlaveInterface::dispatch (this=0x5620c8039890) at /usr/src/kio-5.110.0-0ubuntu1~ubuntu23.04~ppa1/src/core/slaveinterface.cpp:78
#38 0x00007ff84c1cd431 in KIO::Slave::gotInput (this=0x5620c8039890) at /usr/src/kio-5.110.0-0ubuntu1~ubuntu23.04~ppa1/src/core/slave.cpp:354
#39 0x00007ff84aaf39af in QtPrivate::QSlotObjectBase::call (a=0x7ffcbc370700, r=0x5620c8039890, this=0x5620c8614500) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#40 doActivate<false> (sender=0x5620c86085f0, signal_index=3, argv=0x7ffcbc370700) at kernel/qobject.cpp:3923
#41 0x00007ff84aae7de0 in QObject::event (this=0x5620c86085f0, e=0x5620c836c570) at kernel/qobject.cpp:1347
#42 0x00007ff84b76bf92 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5620c86085f0, e=0x5620c836c570) at kernel/qapplication.cpp:3640
#43 0x00007ff84aabae38 in QCoreApplication::notifyInternal2 (receiver=0x5620c86085f0, event=0x5620c836c570) at kernel/qcoreapplication.cpp:1064
#44 0x00007ff84aabb012 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#45 0x00007ff84aabdea1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5620c7d7cf50) at kernel/qcoreapplication.cpp:1821
#46 0x00007ff84aabe32c in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#47 0x00007ff84ab157b7 in postEventSourceDispatch (s=0x5620c7e5bed0) at kernel/qeventdispatcher_glib.cpp:277
#48 0x00007ff84948749d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007ff8494e2178 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007ff8494861b0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007ff84ab14e7a in QEventDispatcherGlib::processEvents (this=0x5620c7e60b40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007ff84aab97cb in QEventLoop::exec (this=this@entry=0x7ffcbc370af0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#53 0x00007ff84b97ba87 in QDialog::exec (this=this@entry=0x7ffcbc370d10) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#54 0x00005620c792674b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/kfind-4:23.04.3-0ubuntu1~ubuntu23.04~ppa1/src/main.cpp:82
[Inferior 1 (process 539206) detached]

Reported using DrKonqi