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

            Bug ID: 473795
           Summary: After updating to 23.08.0 dolphin crashes on launch
                    (Konsole::Screen::setReplMode)
    Classification: Applications
           Product: dolphin
           Version: 23.08.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: kdeb...@vorpal.se
                CC: kfm-de...@kde.org
  Target Milestone: ---

SUMMARY
Using command line gdb to get this with debug symbols (drkonqi doesn't seem to
be able to use debuginfod correctly?):

(gdb) bt
#0  QAction::setVisible(bool) (this=0x0, b=true) at kernel/qaction.cpp:1051
#1  0x00007fffdc0d3144 in Konsole::Screen::setReplMode(int)
(this=0x55555615fe30, mode=1) at
/usr/src/debug/konsole/konsole-23.08.0/src/Screen.cpp:2395
#2  0x00007fffdc0ee095 in
Konsole::Vt102Emulation::processSessionAttributeRequest(int, unsigned int)
(this=<optimized out>, tokenSize=<optimized out>, terminator=7)
    at /usr/src/debug/konsole/konsole-23.08.0/src/Vt102Emulation.cpp:1071
#3  0x00007fffdc0df290 in
Konsole::Vt102Emulation::switchState(Konsole::Vt102Emulation::ParserStates,
unsigned int)
    (this=this@entry=0x5555561e6f70,
newState=newState@entry=Konsole::Vt102Emulation::Ground, cc=cc@entry=7) at
/usr/src/debug/konsole/konsole-23.08.0/src/Vt102Emulation.cpp:434
#4  0x00007fffdc0df61c in
Konsole::Vt102Emulation::receiveChars(QVector<unsigned int> const&)
(this=0x5555561e6f70, chars=<optimized out>)
    at /usr/src/debug/konsole/konsole-23.08.0/src/Vt102Emulation.cpp:900
#5  0x00007fffdc0b9bea in Konsole::Emulation::receiveData(char const*, int)
    (this=0x5555561e6f70, text=0x555556383eb8 "^E\b \b\b \b cd /home/arvid\r\n
clear\r\n\033[0m\033[49m\033[39m\033[27m\033[24m\r\033[K\r\n\033[1A\0337\033[0m\033[49m\033[39m\033]133;A\a\033[0m\033[49m\033[38;5;31m\033[1m\033[38;5;31m\033[38;5;39m~\033[0m\033[38;5;39m\033[49m\033[38;5;31m\033[0m\033[38;5;31m\033[49m\033[38;5;31m\033[0m\033[3"...,
length=2613)
    at /usr/src/debug/konsole/konsole-23.08.0/src/Emulation.cpp:233
#6  0x00007ffff5cd1637 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
    (a=0x7fffffffcf60, r=<optimized out>, this=0x5555561ecbe0, this=<optimized
out>, r=<optimized out>, a=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false>(QObject*, int, void**) (sender=0x5555561e9fe0,
signal_index=17, argv=0x7fffffffcf60) at kernel/qobject.cpp:3925
#8  0x00007fffdc0a793b 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
#9  0x00007fffdc0bf7c9 in Konsole::Pty::dataReceived() (this=0x5555561e9fe0) at
/usr/src/debug/konsole/konsole-23.08.0/src/Pty.cpp:101
#10 0x00007ffff5cd1637 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
    (a=0x7fffffffd030, r=<optimized out>, this=0x5555561ecaa0, this=<optimized
out>, r=<optimized out>, a=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false>(QObject*, int, void**) (sender=0x5555561ea210,
signal_index=3, argv=0x7fffffffd030) at kernel/qobject.cpp:3925
#12 0x00007fffe406e0c7 in KPtyDevicePrivate::_k_canRead() (this=0x5555561dd0f0)
at /usr/src/debug/kpty/kpty-5.109.0/src/kptydevice.cpp:291
#13 0x00007fffe406e369 in KPtyDevice::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_c=<optimized out>, _a=0x7fffffffd1c0,
_id=<optimized out>, _o=<optimized out>)
    at
/usr/src/debug/kpty/build/src/KF5Pty_autogen/include/moc_kptydevice.cpp:84
#14 KPtyDevice::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>,
_a=0x7fffffffd1c0)
    at
/usr/src/debug/kpty/build/src/KF5Pty_autogen/include/moc_kptydevice.cpp:77
#15 0x00007ffff5cd17f3 in doActivate<false>(QObject*, int, void**)
(sender=0x5555561ec330, signal_index=5, argv=0x7fffffffd1c0) at
kernel/qobject.cpp:3937
#16 0x00007ffff5cd2ea9 in QSocketNotifier::activated(int,
QSocketNotifier::QPrivateSignal) (this=this@entry=0x5555561ec330,
_t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:185
#17 0x00007ffff5cd2f9b in QSocketNotifier::event(QEvent*) (this=0x5555561ec330,
e=<optimized out>) at kernel/qsocketnotifier.h:115
#18 0x00007ffff697893f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x5555561ec330, e=0x7fffffffd2d0) at
kernel/qapplication.cpp:3640
#19 0x00007ffff5c9c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5555561ec330, event=0x7fffffffd2d0) at
kernel/qcoreapplication.cpp:1064
#20 0x00007ffff5cea276 in socketNotifierSourceDispatch(GSource*, GSourceFunc,
gpointer) (source=0x5555557b5fc0) at kernel/qeventdispatcher_glib.cpp:107
#21 0x00007ffff3d0fa31 in g_main_dispatch (context=0x7fffe8000ee0) at
../glib/glib/gmain.c:3460
#22 g_main_context_dispatch (context=0x7fffe8000ee0) at
../glib/glib/gmain.c:4200
#23 0x00007ffff3d6ccc9 in g_main_context_iterate.isra.0
(context=context@entry=0x7fffe8000ee0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/glib/gmain.c:4276
#24 0x00007ffff3d0d0e2 in g_main_context_iteration (context=0x7fffe8000ee0,
may_block=1) at ../glib/glib/gmain.c:4343
#25 0x00007ffff5ceb51c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x5555557bac10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007ffff5c9b404 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fffffffd550, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#27 0x00007ffff5c9c8a3 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#28 0x00007ffff613bef2 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#29 0x00007ffff6976cda in QApplication::exec() () at
kernel/qapplication.cpp:2832
#30 0x000055555559ddb8 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/dolphin/dolphin-23.08.0/src/main.cpp:255

STEPS TO REPRODUCE
1. Launch dolphin
2. Immediate crash

OBSERVED RESULT
Crashes a fraction of a second after the dolphin window opens

EXPECTED RESULT
No crash!

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Based on the backtrace I guess you need to have the embedded terminal open
since before.

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

Reply via email to