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

            Bug ID: 473836
           Summary: Konsolepart crashes on start
    Classification: Applications
           Product: yakuake
           Version: 23.08.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: h...@kde.org
          Reporter: flying-sh...@web.de
  Target Milestone: ---

Application: yakuake (23.08.0)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.4.12-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
Whenever I open an application that uses Konsolepart (i.e. not Konsole itself,
but Dolphin or Yakuake) it crashes on this line:

https://invent.kde.org/utilities/konsole/-/blob/25ad2a35a72ecb4e073786535f9bdf6cdc67fdf7/src/Screen.cpp#L2395

The crash can be reproduced every time.

-- Backtrace:
Application: Yakuake (yakuake), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  0x00007f1035f7197b in QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> >::operator->() const (this=<optimized out>)
at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#7  qGetPtrHelper<QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> > >(QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> >&) (ptr=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qglobal.h:1151
#8  QAction::d_func() (this=<optimized out>) at
../../include/QtWidgets/../../src/widgets/kernel/qaction.h:63
#9  QAction::setVisible(bool) (this=0x0, b=true) at kernel/qaction.cpp:1051
#10 0x00007f10142d4144 in Konsole::Screen::setReplMode(int)
(this=0x55cfe34fc070, mode=1) at
/usr/src/debug/konsole/konsole-23.08.0/src/Screen.cpp:2395
#11 0x00007f10142ef095 in
Konsole::Vt102Emulation::processSessionAttributeRequest(int, unsigned int)
(this=<optimized out>, tokenSize=<optimized out>, terminator=27) at
/usr/src/debug/konsole/konsole-23.08.0/src/Vt102Emulation.cpp:1071
#12 0x00007f10142e0290 in
Konsole::Vt102Emulation::switchState(Konsole::Vt102Emulation::ParserStates,
unsigned int) (this=this@entry=0x55cfe3b5ed50,
newState=newState@entry=Konsole::Vt102Emulation::Escape, cc=cc@entry=27) at
/usr/src/debug/konsole/konsole-23.08.0/src/Vt102Emulation.cpp:434
#13 0x00007f10142e0473 in
Konsole::Vt102Emulation::receiveChars(QVector<unsigned int> const&)
(this=0x55cfe3b5ed50, chars=<optimized out>) at
/usr/src/debug/konsole/konsole-23.08.0/src/Vt102Emulation.cpp:698
#14 0x00007f10142babea in Konsole::Emulation::receiveData(char const*, int)
(this=0x55cfe3b5ed50, text=0x55cfe3bd8d38
"\033[?25l\033[1;1H\033[J\033[38;5;10m\033]133;A\033\\/home/phil\033]133;B\033\\\033[38;5;14m\343\200\211\342\200\214\033[38;5;5m\0337\033[1;271H2023-08-28
09:03:58\0338\033[0m\033[0m\0337\0338\033[6 q\033[?25h", length=132) at
/usr/src/debug/konsole/konsole-23.08.0/src/Emulation.cpp:233
#15 0x00007f10352d1637 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffcf1cf1010, r=<optimized out>, this=0x55cfe38df430, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0x55cfe38df8e0,
signal_index=17, argv=0x7ffcf1cf1010) at kernel/qobject.cpp:3925
#17 0x00007f10142a893b in Konsole::Pty::receivedData(char const*, int)
(this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at
/usr/src/debug/konsole/build/src/konsoleprivate_autogen/EWIEGA46WW/moc_Pty.cpp:154
#18 0x00007f10142c07c9 in Konsole::Pty::dataReceived() (this=0x55cfe38df8e0) at
/usr/src/debug/konsole/konsole-23.08.0/src/Pty.cpp:101
#19 0x00007f10352d1637 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffcf1cf10e0, r=<optimized out>, this=0x55cfe38df2f0, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false>(QObject*, int, void**) (sender=0x55cfe38df940,
signal_index=3, argv=0x7ffcf1cf10e0) at kernel/qobject.cpp:3925
#21 0x00007f102c0080c7 in KPtyDevicePrivate::_k_canRead() (this=0x55cfe36caf40)
at /usr/src/debug/kpty/kpty-5.109.0/src/kptydevice.cpp:291
#22 0x00007f102c008369 in KPtyDevice::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_c=<optimized out>, _a=0x7ffcf1cf1270,
_id=<optimized out>, _o=<optimized out>) at
/usr/src/debug/kpty/build/src/KF5Pty_autogen/include/moc_kptydevice.cpp:84
#23 KPtyDevice::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>,
_a=0x7ffcf1cf1270) at
/usr/src/debug/kpty/build/src/KF5Pty_autogen/include/moc_kptydevice.cpp:77
#24 0x00007f10352d17f3 in doActivate<false>(QObject*, int, void**)
(sender=0x55cfe38e05a0, signal_index=5, argv=0x7ffcf1cf1270) at
kernel/qobject.cpp:3937
#25 0x00007f10352d2ea9 in QSocketNotifier::activated(int,
QSocketNotifier::QPrivateSignal) (this=this@entry=0x55cfe38e05a0,
_t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:185
#26 0x00007f10352d2f9b in QSocketNotifier::event(QEvent*) (this=0x55cfe38e05a0,
e=<optimized out>) at kernel/qsocketnotifier.h:115
#27 0x00007f1035f7893f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x55cfe38e05a0, e=0x7ffcf1cf1380) at
kernel/qapplication.cpp:3640
#28 0x00007f103529c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x55cfe38e05a0, event=0x7ffcf1cf1380) at
kernel/qcoreapplication.cpp:1064
#29 0x00007f10352ea276 in socketNotifierSourceDispatch(GSource*, GSourceFunc,
gpointer) (source=0x55cfe32a1fd0) at kernel/qeventdispatcher_glib.cpp:107
#30 0x00007f1033a81a31 in g_main_dispatch (context=0x7f1028000ee0) at
../glib/glib/gmain.c:3460
#31 g_main_context_dispatch (context=0x7f1028000ee0) at
../glib/glib/gmain.c:4200
#32 0x00007f1033adecc9 in g_main_context_iterate.isra.0
(context=context@entry=0x7f1028000ee0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#33 0x00007f1033a7f0e2 in g_main_context_iteration (context=0x7f1028000ee0,
may_block=1) at ../glib/glib/gmain.c:4343
#34 0x00007f10352eb53f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55cfe32a1d70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#35 0x00007f103529b404 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffcf1cf1600, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#36 0x00007f103529c8a3 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x00007f103573bef2 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#38 0x00007f1035f76cda in QApplication::exec() () at
kernel/qapplication.cpp:2832
#39 0x000055cfe2e0e017 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /usr/src/debug/yakuake/yakuake-23.08.0/app/main.cpp:74
[Inferior 1 (process 34354) detached]

Reported using DrKonqi

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

Reply via email to