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

            Bug ID: 461410
           Summary: Crash on closing ssh connection
    Classification: Applications
           Product: konsole
           Version: 22.08.1
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-de...@kde.org
          Reporter: k...@carewolf.com
  Target Milestone: ---

Application: konsole (22.08.1)
 (Compiled from sources)
Qt Version: 5.15.11
Frameworks Version: 5.100.0
Operating System: Linux 5.15.0-52-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.1 LTS
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
Seems the whole of konsole now crashes when I close an ssh connection with
CTRL+D.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  QHash<Konsole::Profile::Property, QVariant>::findNode (ahp=0x0,
akey=<synthetic pointer>: Konsole::Profile::Name, this=0x55a7e4281800) at
/opt/qt5/include/QtCore/qhash.h:940
#7  QHash<Konsole::Profile::Property, QVariant>::contains (akey=<synthetic
pointer>: Konsole::Profile::Name, this=0x55a7e4281800) at
/opt/qt5/include/QtCore/qhash.h:920
#8  Konsole::Profile::property<QVariant> (p=Konsole::Profile::Name,
this=0x55a7e42817f0) at
/src/kdesrc/kde/applications/konsole/src/profile/Profile.h:830
#9  Konsole::Profile::property<QString> (p=Konsole::Profile::Name,
this=0x55a7e42817f0) at
/src/kdesrc/kde/applications/konsole/src/profile/Profile.h:824
#10 Konsole::Profile::name (this=0x55a7e42817f0) at
/src/kdesrc/kde/applications/konsole/src/profile/Profile.h:469
#11 operator() (pr=..., __closure=<optimized out>, pr=..., __closure=<optimized
out>) at
/src/kdesrc/kde/applications/konsole/src/plugins/SSHManager/sshmanagermodel.cpp:232
#12 0x00007f6ac4f5bb88 in
__gnu_cxx::__ops::_Iter_pred<SSHManagerModel::triggerProfileChange(const
QString&)::<lambda(const Ptr&)>
>::operator()<QList<QExplicitlySharedDataPointer<Konsole::Profile> >::iterator>
(__it=..., this=<synthetic pointer>) at
/usr/include/c++/11/bits/predefined_ops.h:317
#13 std::__find_if<QList<QExplicitlySharedDataPointer<Konsole::Profile>
>::iterator,
__gnu_cxx::__ops::_Iter_pred<SSHManagerModel::triggerProfileChange(const
QString&)::<lambda(const Ptr&)> > > (__pred=..., __last=..., __first=...) at
/usr/include/c++/11/bits/stl_algobase.h:2094
#14 std::__find_if<QList<QExplicitlySharedDataPointer<Konsole::Profile>
>::iterator,
__gnu_cxx::__ops::_Iter_pred<SSHManagerModel::triggerProfileChange(const
QString&)::<lambda(const Ptr&)> > > (__first=..., __last=..., __first=...,
__last=..., __pred=...) at /usr/include/c++/11/bits/stl_algobase.h:2115
#15 std::find_if<QList<QExplicitlySharedDataPointer<Konsole::Profile>
>::iterator, SSHManagerModel::triggerProfileChange(const
QString&)::<lambda(const Ptr&)> > (__first=..., __last=..., __first=...,
__last=..., __pred=...) at /usr/include/c++/11/bits/stl_algo.h:3911
#16 SSHManagerModel::triggerProfileChange (this=0x55a7e41e0f90, sshHost=...) at
/src/kdesrc/kde/applications/konsole/src/plugins/SSHManager/sshmanagermodel.cpp:233
#17 0x00007f6accb295ce in QtPrivate::QSlotObjectBase::call (a=0x7ffed2929e10,
r=0x55a7e41e0f90, this=0x55a7e48d2560) at
../../include/QtCore/../../../../qtbase/src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x55a7e4714e40, signal_index=22,
argv=0x7ffed2929e10) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:3925
#19 0x00007f6accb223c7 in QMetaObject::activate
(sender=sender@entry=0x55a7e4714e40, m=m@entry=0x7f6ace0470e0
<Konsole::Session::staticMetaObject>,
local_signal_index=local_signal_index@entry=19, argv=argv@entry=0x7ffed2929e10)
at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:3985
#20 0x00007f6acdf943a9 in Konsole::Session::hostnameChanged
(this=this@entry=0x55a7e4714e40, _t1=...) at
/src/kdesrc/build/kde/applications/konsole/src/session/konsolesession_autogen/EWIEGA46WW/moc_Session.cpp:833
#21 0x00007f6acdf9b95d in Konsole::Session::getDynamicTitle
(this=0x55a7e4714e40) at
/src/kdesrc/kde/applications/konsole/src/session/Session.cpp:1132
#22 0x00007f6acdfb0460 in Konsole::SessionController::snapshot
(this=0x55a7e469d9d0) at
/src/kdesrc/kde/applications/konsole/src/session/SessionController.cpp:329
#23 0x00007f6accb295ce in QtPrivate::QSlotObjectBase::call (a=0x7ffed292a100,
r=0x55a7e469d9d0, this=0x55a7e47b5220) at
../../include/QtCore/../../../../qtbase/src/corelib/kernel/qobjectdefs_impl.h:398
#24 doActivate<false> (sender=0x55a7e45f5db0, signal_index=3,
argv=0x7ffed292a100) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:3925
#25 0x00007f6accb223c7 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f6accdd5cc0 <QTimer::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffed292a100)
at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:3985
#26 0x00007f6accb2d6ce in QTimer::timeout (this=<optimized out>, _t1=...) at
.moc/moc_qtimer.cpp:205
#27 0x00007f6accb1ec1f in QObject::event (this=0x55a7e45f5db0,
e=0x7ffed292a280) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:1369
#28 0x00007f6acd737e33 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55a7e45f5db0, e=0x7ffed292a280) at
/src/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3640
#29 0x00007f6accaf03e8 in QCoreApplication::notifyInternal2
(receiver=0x55a7e45f5db0, event=0x7ffed292a280) at
/src/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1064
#30 0x00007f6accb4bf91 in QTimerInfoList::activateTimers (this=0x55a7e4161c30)
at /src/qt5/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:643
#31 0x00007f6accb4c904 in timerSourceDispatch (source=<optimized out>) at
/src/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:183
#32 idleTimerSourceDispatch (source=<optimized out>) at
/src/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:230
#33 0x00007f6acab7ed1b in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f6acabd36f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f6acab7c3c3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f6accb4ccaa in QEventDispatcherGlib::processEvents
(this=0x55a7e4161360, flags=...) at
/src/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#37 0x00007f6accaeecfb in QEventLoop::exec (this=this@entry=0x7ffed292a4d0,
flags=..., flags@entry=...) at
../../include/QtCore/../../../../qtbase/src/corelib/global/qflags.h:69
#38 0x00007f6accaf76d4 in QCoreApplication::exec () at
../../include/QtCore/../../../../qtbase/src/corelib/global/qflags.h:121
#39 0x00007f6accfe0c10 in QGuiApplication::exec () at
/src/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1870
#40 0x00007f6acd737da9 in QApplication::exec () at
/src/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2832
#41 0x000055a7e27d44a7 in main (argc=<optimized out>, argv=<optimized out>) at
/src/kdesrc/kde/applications/konsole/src/main.cpp:252
[Inferior 1 (process 93504) detached]

Reported using DrKonqi

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

Reply via email to