Bug 429810 - Konsole crash on "Set Encoding" item of the context menu
Summary: Konsole crash on "Set Encoding" item of the context menu
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-29 16:16 UTC by Andrey
Modified: 2020-12-02 19:26 UTC (History)
1 user (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 Andrey 2020-11-29 16:16:24 UTC
Application: konsole (20.07.70)
 (Compiled from sources)
Qt Version: 5.15.1
Frameworks Version: 5.77.0
Operating System: Linux 5.9.10-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (Container Image)

-- Information about the crash:
- What I was doing when the application crashed:
* Select some text
* right-click to open context menu
* try to unfold "Set Encoding" menu item

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Content of s_kcrashErrorMessage: (null)
[KCrash Handler]
#5  0x00007f6a3ea93b82 in QMenuSloppyState::setSubMenuPopup(QRect const&, QAction*, QMenu*) () from /lib64/libQt5Widgets.so.5
#6  0x00007f6a3ea98b67 in QMenu::internalDelayedPopup() () from /lib64/libQt5Widgets.so.5
#7  0x00007f6a3deb9d7f in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#8  0x00007f6a3e91d15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#9  0x00007f6a3de92be8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#10 0x00007f6a3dedcdd3 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#11 0x00007f6a3dedd654 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#12 0x00007f6a3c5527ef in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#13 0x00007f6a3c5a45d8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#14 0x00007f6a3c54fbc3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#15 0x00007f6a3dedda2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#16 0x00007f6a3de9164b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#17 0x00007f6a3ea9847c in QMenuPrivate::exec(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) () from /lib64/libQt5Widgets.so.5
#18 0x00007f6a3ea985af in QMenu::exec(QPoint const&, QAction*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f6a3fc8707a in Konsole::SessionController::showDisplayContextMenu (this=0x1d7f670, position=...) at /home/bam/kde/src/konsole/src/SessionController.cpp:1723
#20 0x00007f6a3dec1256 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#21 0x00007f6a3fc19815 in Konsole::TerminalDisplay::configureRequest (this=this@entry=0x1d76790, _t1=...) at /var/home/bam/kde/build/konsole/src/konsoleprivate_autogen/EWIEGA46WW/moc_TerminalDisplay.cpp:453
#22 0x00007f6a3fc9ec5d in Konsole::TerminalDisplay::mousePressEvent (this=0x1d76790, ev=0x7ffed2111ac0) at /home/bam/kde/src/konsole/src/TerminalDisplay.cpp:2246
#23 0x00007f6a3e95cfbe in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f6a3e91d15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007f6a3e92404b in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#26 0x00007f6a3de92be8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#27 0x00007f6a3e923076 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#28 0x00007f6a3e975021 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#29 0x00007f6a3e97834e in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#30 0x00007f6a3e91d15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007f6a3de92be8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#32 0x00007f6a3e31b8f0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#33 0x00007f6a3e2fd94b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#34 0x00007f6a39f692aa in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#35 0x00007f6a3c5527ef in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#36 0x00007f6a3c5a45d8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#37 0x00007f6a3c54fbc3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#38 0x00007f6a3dedda2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#39 0x00007f6a3de9164b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#40 0x00007f6a3de99010 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#41 0x00007f6a3fd3a217 in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/bam/kde/src/konsole/src/main.cpp:229
#42 0x00007f6a3d74b1e2 in __libc_start_main () from /lib64/libc.so.6
#43 0x000000000040107e in _start ()
[Inferior 1 (process 213379) detached]

Possible duplicates by query: bug 429643, bug 429538, bug 429504, bug 429420, bug 429344.

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2020-12-01 15:00:30 UTC
A fresh Fedora VM installs Konsole 20.08.3 - I can't reproduce the crash.
Comment 2 Andrey 2020-12-01 15:24:44 UTC
Oh, sorry I didn't realize I had not fresh Konsole!
Will retest, thanks.
Comment 3 Andrey 2020-12-02 19:26:35 UTC
Can't reproduce on latest konsole version