Bug 479319 - konsole crashes with segfault upon command execution
Summary: konsole crashes with segfault upon command execution
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-01-02 22:12 UTC by kth5
Modified: 2024-01-02 22:12 UTC (History)
0 users

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 kth5 2024-01-02 22:12:57 UTC
Application: konsole (23.08.4)
 (Compiled from sources)
Qt Version: 5.15.11
Frameworks Version: 5.113.0
Operating System: Linux 6.6.9-arch1-1 ppc
Windowing System: X11
Distribution: Arch POWER
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Simply entering any command such as "ls" that will produce output seems to trigger an immediate segault. Sometimes just entering 10+ characters already does it.

Seems to only happen on bigendian ppc32. Same sources and dependencies on ppc64, ppc64le and riscv64 produce working binaries.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x009b9e70 in Konsole::TerminalDisplay::getCharacterPosition(QPoint const&, bool) const (this=this@entry=0x17c7c00, widgetPoint=..., edge=<optimized out>) at /usr/src/debug/konsole/konsole-23.08.4/src/terminalDisplay/TerminalDisplay.cpp:1573
#5  0x009c0894 in Konsole::TerminalDisplay::mouseMoveEvent(QMouseEvent*) (this=0x17c7c00, ev=0xafb70418) at /usr/src/debug/konsole/konsole-23.08.4/src/terminalDisplay/TerminalDisplay.cpp:1261
#6  0xa75473d0 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#7  0xa7504cd0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#8  0xa750ab10 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0xa6a213d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0xa7503ee8 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#11 0xa756e8f8 in  () at /usr/lib/libQt5Widgets.so.5
#12 0xa7571224 in  () at /usr/lib/libQt5Widgets.so.5
#13 0xa7504cd0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0xa6a213d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0xa6e19ac4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#16 0xa6df2db0 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#17 0x9ede70c8 in  () at /usr/lib/libQt5XcbQpa.so.5
#18 0xa4549904 in  () at /usr/lib/libglib-2.0.so.0
#19 0xa45ba298 in  () at /usr/lib/libglib-2.0.so.0
#20 0xa4546db8 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#21 0xa6a7c530 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x9ede7184 in  () at /usr/lib/libQt5XcbQpa.so.5
#23 0xa6a14d3c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0xa6a1747c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0xa6a25d0c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x00b43b6c in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konsole/konsole-23.08.4/src/main.cpp:271
[Inferior 1 (process 900) detached]

Reported using DrKonqi