[konsole] [Bug 467691] New: Segfault in libqt causes Konsole to crash based on scaling

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Mar 22 14:28:55 GMT 2023


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

            Bug ID: 467691
           Summary: Segfault in libqt causes Konsole to crash based on
                    scaling
    Classification: Applications
           Product: konsole
           Version: 22.12.2
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: font
          Assignee: konsole-devel at kde.org
          Reporter: schwarzl.marteun at gmail.com
  Target Milestone: ---

SUMMARY
Scaling up the Konsole w/ ctrl++ and the global KDE scaling settings (display
configuration) causes a segfault in libqt when starting Konsole. 
Not sure yet if the bug could be exploitable. 

Stacktrace:
#0  0x00007f5faf781a90 in ?? () from /usr/lib/libQt5Gui.so.5
#1  0x00007f5fafa1f67c in QRasterPaintEngine::fillRect(QRectF const&,
QSpanData*) () from /usr/lib/libQt5Gui.so.5
#2  0x00007f5fafa377f8 in QPainter::fillRect(QRect const&, QColor const&) ()
from /usr/lib/libQt5Gui.so.5
#3  0x00007f5fad209923 in
QtWaylandClient::QWaylandShmBackingStore::beginPaint(QRegion const&) () from
/usr/lib/libQt5WaylandClient.so.5
#4  0x00007f5faf95032e in QBackingStore::beginPaint(QRegion const&) () from
/usr/lib/libQt5Gui.so.5
#5  0x00007f5fafe6b758 in ?? () from /usr/lib/libQt5Widgets.so.5
#6  0x00007f5fafe822d0 in QWidgetPrivate::syncBackingStore(QRegion const&) ()
from /usr/lib/libQt5Widgets.so.5
#7  0x00007f5fafeb71cb in ?? () from /usr/lib/libQt5Widgets.so.5
#8  0x00007f5fafe5fb5c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#9  0x00007f5faf329f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#10 0x00007f5faf7bb804 in
QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*)
() from /usr/lib/libQt5Gui.so.5
#11 0x00007f5faf79a885 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Gui.so.5
#12 0x00007f5fad24aa75 in ?? () from /usr/lib/libQt5WaylandClient.so.5
#13 0x00007f5fad49d82b in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#14 0x00007f5fad4f4cc9 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f5fad49c0e2 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#16 0x00007f5faf374c6c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#17 0x00007f5faf3226ec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#18 0x00007f5faf32d219 in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#19 0x000055d9f8623b65 in ?? ()
#20 0x00007f5faec9e790 in __libc_start_call_main
(main=main at entry=0x55d9f8622020, argc=argc at entry=0x1,
argv=argv at entry=0x7ffd00463398) at ../sysdeps/nptl/libc_start_call_main.h:58



STEPS TO REPRODUCE
1. Increase font size to 16pt HACK. 
2. Scale up to maximum with ctrl++ in Konsole.
3. Additionally in the Display Configuration of KDE Scale up to 150-175% 

OBSERVED RESULT
Konsole crashes ion startup due the scaling issue in libqt.

EXPECTED RESULT
Konsole should start.

SOFTWARE/OS VERSIONS
Linux: 5.15.102-1-MANJARO
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list