Bug 460097 - Crash after leaving search view
Summary: Crash after leaving search view
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 15:20 UTC by ratijas
Modified: 2023-12-08 14:42 UTC (History)
2 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 ratijas 2022-10-07 15:20:32 UTC
SUMMARY

Very easy to reproduce.

STEPS TO REPRODUCE
1. Open some folder, e.g. "/usr/share/icons/".
2. Press Ctrl+F, enter search term, e.g. "start-here-kde" for Filename, From Here.
3. Enter some path in location bar again, e.g. press Ctrl+L and paste the same "/usr/share/icons/".
4. Press Enter.

OBSERVED RESULT
Dolphin crashes.

EXPECTED RESULT
Welp, it should've opened specified directory.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE: git-master
Qt Version: 5.15.6
Kernel Version: 5.19.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: G752VT
System Version: 1.0
Comment 1 ratijas 2022-10-07 15:35:48 UTC
The KDE Crash Handler told me that the backtrace "is not useful", but it doesn't look that bad to me, so I'll paste it here anyway.

Application: Dolphin (dolphin), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007f43c3ee949c in ?? () from /usr/lib/libc.so.6
#6  0x00007f43c3e99958 in raise () from /usr/lib/libc.so.6
#7  0x00007f43c3e8353d in abort () from /usr/lib/libc.so.6
#8  0x00007f43c4428ede in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#9  0x00007f43c4428f9d in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/libQt5Core.so.5
#10 0x00007f43c72541a0 in Utils::appendSlash (path=...) at /home/ratijas/kde/src/frameworks/kio/src/filewidgets/../utils_p.h:46
#11 0x00007f43c72fbb9d in Utils::slashAppended (path=...) at /home/ratijas/kde/src/frameworks/kio/src/filewidgets/../utils_p.h:58
#12 0x00007f43c72f29e0 in KUrlNavigatorPrivate::applyUncommittedUrl (this=0x55a5f154c0f0) at /home/ratijas/kde/src/frameworks/kio/src/filewidgets/kurlnavigator.cpp:348
#13 0x00007f43c72f2b8f in KUrlNavigatorPrivate::slotReturnPressed (this=0x55a5f154c0f0) at /home/ratijas/kde/src/frameworks/kio/src/filewidgets/kurlnavigator.cpp:375
#14 0x00007f43c72f163d in operator() (__closure=0x55a5f1555820) at /home/ratijas/kde/src/frameworks/kio/src/filewidgets/kurlnavigator.cpp:260
#15 0x00007f43c72fb54d in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KUrlNavigatorPrivate::KUrlNavigatorPrivate(const QUrl&, KUrlNavigator*, KFilePlacesModel*)::<lambda()> >::call(struct {...} &, void **) (f=..., arg=0x7fff27b991f0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#16 0x00007f43c72faf79 in QtPrivate::Functor<KUrlNavigatorPrivate::KUrlNavigatorPrivate(const QUrl&, KUrlNavigator*, KFilePlacesModel*)::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=..., arg=0x7fff27b991f0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#17 0x00007f43c72fa4c8 in QtPrivate::QFunctorSlotObject<KUrlNavigatorPrivate::KUrlNavigatorPrivate(const QUrl&, KUrlNavigator*, KFilePlacesModel*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x55a5f1555810, r=0x55a5f14beb40, a=0x7fff27b991f0, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#18 0x00007f43c4646381 in ?? () from /usr/lib/libQt5Core.so.5
#19 0x00007f43c6abb24e in KComboBox::returnPressed (this=0x55a5f1540180, _t1=...) at /home/ratijas/kde/build/frameworks/kcompletion/src/KF5Completion_autogen/include/moc_kcombobox.cpp:306
#20 0x00007f43c6abdd2d in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (KComboBox::*)(QString const&)>::call (f=(void (KComboBox::*)(KComboBox * const, const QString &)) 0x7f43c6abb1f0 <KComboBox::returnPressed(QString const&)>, o=0x55a5f1540180, arg=0x7fff27b993c0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#21 0x00007f43c6abd92a in QtPrivate::FunctionPointer<void (KComboBox::*)(QString const&)>::call<QtPrivate::List<QString const&>, void> (f=(void (KComboBox::*)(KComboBox * const, const QString &)) 0x7f43c6abb1f0 <KComboBox::returnPressed(QString const&)>, o=0x55a5f1540180, arg=0x7fff27b993c0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#22 0x00007f43c6abd3e3 in QtPrivate::QSlotObject<void (KComboBox::*)(QString const&), QtPrivate::List<QString const&>, void>::impl (which=1, this_=0x55a5f15cd100, r=0x55a5f1540180, a=0x7fff27b993c0, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#23 0x00007f43c4646381 in ?? () from /usr/lib/libQt5Core.so.5
#24 0x00007f43c6adf74a in KLineEdit::returnKeyPressed (this=0x55a5f1540a20, _t1=...) at /home/ratijas/kde/build/frameworks/kcompletion/src/KF5Completion_autogen/include/moc_klineedit.cpp:385
#25 0x00007f43c6ada522 in KLineEdit::keyPressEvent (this=0x55a5f1540a20, e=0x7fff27b99a80) at /home/ratijas/kde/src/frameworks/kcompletion/src/klineedit.cpp:579
#26 0x00007f43c50c05d1 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007f43c6adcbc2 in KLineEdit::event (this=0x55a5f1540a20, ev=0x7fff27b99a80) at /home/ratijas/kde/src/frameworks/kcompletion/src/klineedit.cpp:1079
#28 0x00007f43c50c05d1 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007f43c5089b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007f43c508edf8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#31 0x00007f43c4615b88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#32 0x00007f43c50e018b in ?? () from /usr/lib/libQt5Widgets.so.5
#33 0x00007f43c5089b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#34 0x00007f43c4615b88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#35 0x00007f43c49e9b50 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#36 0x00007f43c49d2985 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#37 0x00007f43bec8e6c0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#38 0x00007f43c2072b2b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007f43c20c8e79 in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x00007f43c2070252 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007f43c466050c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#42 0x00007f43c460e32c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#43 0x00007f43c4618e59 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#44 0x000055a5f0fbdb06 in main (argc=1, argv=0x7fff27b9a018) at /home/ratijas/kde/src/kde/applications/dolphin/src/main.cpp:250
[Inferior 1 (process 584732) detached]
Comment 2 Akseli Lahtinen 2023-12-08 11:43:15 UTC
Can't reproduce.

Have you been able to reproduce this on newer version of Dolphin? Please install debug symbols to Dolphin, KIO and KIO-Extras and send a backtrace if it still crashes. Thank you!
Comment 3 ratijas 2023-12-08 14:42:04 UTC
Can't repro either. Let's assume it has been fixed at some point.