Bug 480349

Summary: konsole crash with run cargo run command
Product: [Applications] konsole Reporter: fantasy <fantasysquare>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: fanzhuyifan, kde
Priority: NOR Keywords: drkonqi
Version: 22.12.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
attachment-2487629-0.html

Description fantasy 2024-01-26 01:48:30 UTC
Application: konsole (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-16-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
knosole crashed when I run cargo run compile a rust code that is running repeatedly.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f509e311bca in Konsole::Screen::setSelectionEnd(int, int, bool) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#5  0x00007f509e313f4f in ?? () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#6  0x00007f509e375e0c in Konsole::TerminalDisplay::extendSelection(QPoint const&) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#7  0x00007f509e3761ca in Konsole::TerminalDisplay::mouseMoveEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#8  0x00007f509dba4db8 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f509db62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f509db6b552 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f509ceb16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f509db6965e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f509dbbdbd8 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f509dbc0f60 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f509db62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f509ceb16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f509d33d3ed in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007f509d311cac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007f50966fbeca in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#20 0x00007f509b0607a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f509b060a38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f509b060acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f509cf09836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f509ceb017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f509ceb82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x000055bae1616e4c in ?? ()
#27 0x00007f509ca461ca in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#28 0x00007f509ca46285 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#29 0x000055bae1617301 in ?? ()
[Inferior 1 (process 2031) detached]

Reported using DrKonqi
Comment 1 fanzhuyifan 2024-01-26 07:32:04 UTC
I'm afraid konsole 22.12.3 is unfortunately no longer eligible for support or maintenance from KDE.

Plasma is a fast-moving project, and bugs in one version are often fixed in the next one. Please update to konsole 23.08.4 as soon as your distro offers it to you. If you need support for konsole 22.12.3, please contact your distro, who bears the responsibility of providing support for older non-LTS releases.

If this issue is still reproducible in konsole 23.08.4 or konsole 24.02, feel free to re-open this bug report.

Thanks for understanding!
Comment 2 Renan LE CARO 2024-05-02 05:59:15 UTC
Created attachment 169085 [details]
New crash information added by DrKonqi

konsole (22.12.3) using Qt 5.15.8

I ran npm start on a project (meteor app), then at some point (i might have selected some text) it crashed. I'm running i3 on debian.

-- Backtrace (Reduced):
#4  0x00007f89d0467bca in Konsole::Screen::setSelectionEnd(int, int, bool) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
[...]
#6  0x00007f89d04cbe0c in Konsole::TerminalDisplay::extendSelection(QPoint const&) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#7  0x00007f89d04cc1ca in Konsole::TerminalDisplay::mouseMoveEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#8  0x00007f89cfba4db8 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f89cfb62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 3 tcanabrava 2024-05-02 07:59:00 UTC
Created attachment 169091 [details]
attachment-2487629-0.html

fixed in newer versions, just update.

On Thu, 2 May 2024 at 07:59 Renan LE CARO <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=480349
>
> --- Comment #2 from Renan LE CARO <kde@lecaro.me> ---
> Created attachment 169085 [details]
>   --> https://bugs.kde.org/attachment.cgi?id=169085&action=edit
> New crash information added by DrKonqi
>
> konsole (22.12.3) using Qt 5.15.8
>
> I ran npm start on a project (meteor app), then at some point (i might have
> selected some text) it crashed. I'm running i3 on debian.
>
> -- Backtrace (Reduced):
> #4  0x00007f89d0467bca in Konsole::Screen::setSelectionEnd(int, int, bool)
> ()
> from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
> [...]
> #6  0x00007f89d04cbe0c in Konsole::TerminalDisplay::extendSelection(QPoint
> const&) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
> #7  0x00007f89d04cc1ca in
> Konsole::TerminalDisplay::mouseMoveEvent(QMouseEvent*) () from
> /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
> #8  0x00007f89cfba4db8 in QWidget::event(QEvent*) () from
> /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #9  0x00007f89cfb62fae in QApplicationPrivate::notify_helper(QObject*,
> QEvent*)
> () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.