Bug 474351

Summary: Opening Terminal panel in Kate/Dolphin crashes the program if there is Semantic shell integration code in .bashrc
Product: [Applications] konsole Reporter: EP <bertyfogs+kdebugs>
Component: kpartAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 23.08.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description EP 2023-09-10 04:06:35 UTC
SUMMARY
After setting up the Semantic shell integration, i.e. pressing Ctrl+Alt+] to generate the necessary commands and putting them into .bashrc, the applications using the Terminal panel like Kate and Dolphin are crashing when opening the panel.

STEPS TO REPRODUCE
1. Put Semantic shell integration code into your .bashrc
2. Open a fresh instance of Dolphin
3. Open the Terminal panel in Dolphin

OBSERVED RESULT
The application crashes

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-1-MANJARO (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Maybe there is a sliver of something useful:
Stack trace of thread 1315254:
#0  0x00007f766a37197b _ZN7QAction10setVisibleEb (libQt5Widgets.so.5 + 0x17197b)
#1  0x00007f7634221144 _ZN7Konsole6Screen11setReplModeEi (libkonsoleprivate.so.1 + 0x99144)
#2  0x00007f763423c095 _ZN7Konsole14Vt102Emulation30processSessionAttributeRequestEij (libkonsoleprivate.so.1 + 0xb4095)
#3  0x00007f763422d290 _ZN7Konsole14Vt102Emulation11switchStateENS0_12ParserStatesEj (libkonsoleprivate.so.1 + 0xa5290)
#4  0x00007f763422d61c _ZN7Konsole14Vt102Emulation12receiveCharsERK7QVectorIjE (libkonsoleprivate.so.1 + 0xa561c)
#5  0x00007f7634207bea _ZN7Konsole9Emulation11receiveDataEPKci (libkonsoleprivate.so.1 + 0x7fbea)
#6  0x00007f76696d1637 n/a (libQt5Core.so.5 + 0x2d1637)
#7  0x00007f76341f593b _ZN7Konsole3Pty12receivedDataEPKci (libkonsoleprivate.so.1 + 0x6d93b)
#8  0x00007f763420d7c9 _ZN7Konsole3Pty12dataReceivedEv (libkonsoleprivate.so.1 + 0x857c9)
#9  0x00007f76696d1637 n/a (libQt5Core.so.5 + 0x2d1637)
#10 0x00007f76596000c7 n/a (libKF5Pty.so.5 + 0x70c7)
#11 0x00007f7659600369 n/a (libKF5Pty.so.5 + 0x7369)
#12 0x00007f76696d17f3 n/a (libQt5Core.so.5 + 0x2d17f3)
#13 0x00007f76696d2ea9 _ZN15QSocketNotifier9activatedEiNS_14QPrivateSignalE (libQt5Core.so.5 + 0x2d2ea9)
#14 0x00007f76696d2f9b _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5 + 0x2d2f9b)
#15 0x00007f766a37893f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17893f)
#16 0x00007f766969c6f8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x29c6f8)
#17 0x00007f76696ea276 n/a (libQt5Core.so.5 + 0x2ea276)
#18 0x00007f766770fa31 g_main_context_dispatch (libglib-2.0.so.0 + 0x5aa31)
#19 0x00007f766776ccc9 n/a (libglib-2.0.so.0 + 0xb7cc9)
#20 0x00007f766770d0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2)
#21 0x00007f76696eb51c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2eb51c)
#22 0x00007f766969b404 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29b404)
#23 0x00007f766969c8a3 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x29c8a3)
#24 0x000055f2235f8db8 n/a (dolphin + 0x49db8)
#25 0x00007f7668c27cd0 n/a (libc.so.6 + 0x27cd0)
#26 0x00007f7668c27d8a __libc_start_main (libc.so.6 + 0x27d8a)
#27 0x000055f2235f9575 n/a (dolphin + 0x4a575)
Comment 1 Antonio Rojas 2023-09-10 06:45:02 UTC

*** This bug has been marked as a duplicate of bug 473043 ***