[konsole] [Bug 471955] New: Konsole crashed after replacing the file for the selected font
Tomaz Canabrava
tcanabrava at kde.org
Tue Jul 4 21:30:25 BST 2023
The crash seems to happen inside of Qt, so it’s an upstream issue :/
On Tue, 4 Jul 2023 at 20:27 Ben Blank <bugzilla_noreply at kde.org> wrote:
> https://bugs.kde.org/show_bug.cgi?id=471955
>
> Bug ID: 471955
> Summary: Konsole crashed after replacing the file for the
> selected font
> Classification: Applications
> Product: konsole
> Version: 22.12.3
> Platform: Kubuntu
> OS: Linux
> Status: REPORTED
> Keywords: drkonqi
> Severity: crash
> Priority: NOR
> Component: general
> Assignee: konsole-devel at kde.org
> Reporter: ben.blank at gmail.com
> Target Milestone: ---
>
> Application: konsole (22.12.3)
>
> Qt Version: 5.15.8
> Frameworks Version: 5.104.0
> Operating System: Linux 6.2.0-24-generic x86_64
> Windowing System: X11
> Distribution: Ubuntu 23.04
> DrKonqi: 5.27.4 [KCrashBackend]
>
> -- Information about the crash:
> I had two tabs open; the first was running Python through Bash, but I
> hadn't
> interacted with it in a bit. In the active tab, I had recently used Bash to
> copy v0.050 of the JuliaMono TTF files into ~/.fonts/j/, replacing the
> v0.045
> files already there. This was almost certainly a foolish thing to do, as
> JuliaMono was the font selected in Konsole's settings for displaying the
> terminal.
>
> The crash didn't happen right away; I moved some other files around via
> Bash,
> then switched to another application. Upon switching back to Konsole, I
> attempted to run the command "man curl", at which point Konsole decided it
> didn't like me any more. After relaunching Konsole, "man curl" runs just
> fine
> (unsurprisingly).
>
> While I have no evidence to support the conjecture, replacing in-use TTF
> files
> seems highly likely to cause problems.
>
> The crash does not seem to be reproducible.
>
> -- Backtrace:
> Application: Konsole (konsole), signal: Segmentation fault
>
> [KCrash Handler]
> #4 0x00007fe16b3a95a0 in ?? () from /lib/x86_64-linux-gnu/libfreetype.so.6
> #5 0x00007fe16b3a9688 in ?? () from /lib/x86_64-linux-gnu/libfreetype.so.6
> #6 0x00007fe16b367c80 in FT_Get_Char_Index () from
> /lib/x86_64-linux-gnu/libfreetype.so.6
> #7 0x00007fe16955a2c6 in ?? () from
> /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
> #8 0x00007fe16fc17d77 in QFontEngineMulti::stringToCMap(QChar const*, int,
> QGlyphLayout*, int*, QFlags<QFontEngine::ShaperFlag>) const () from
> /lib/x86_64-linux-gnu/libQt5Gui.so.5
> #9 0x00007fe16fc3a8a5 in QTextEngine::shapeText(int) const () from
> /lib/x86_64-linux-gnu/libQt5Gui.so.5
> #10 0x00007fe16fc4041b in QTextEngine::shapeLine(QScriptLine const&) ()
> from
> /lib/x86_64-linux-gnu/libQt5Gui.so.5
> #11 0x00007fe16fe227c8 in QPainter::drawText(QPointF const&, QString
> const&,
> int, int) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
> #12 0x00007fe170db58a0 in ?? () from
> /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
> #13 0x00007fe170d5a91e in ?? () from
> /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
> #14 0x00007fe170d473d3 in
> Konsole::TerminalDisplay::paintEvent(QPaintEvent*) ()
> from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
> #15 0x00007fe1703aec28 in QWidget::event(QEvent*) () from
> /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #16 0x00007fe17036bf92 in QApplicationPrivate::notify_helper(QObject*,
> QEvent*)
> () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #17 0x00007fe16f6bae38 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*)
> () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #18 0x00007fe1703a6e59 in QWidgetPrivate::sendPaintEvent(QRegion const&) ()
> from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #19 0x00007fe1703a7751 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
> const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*,
> QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #20 0x00007fe17037d421 in ?? () from
> /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #21 0x00007fe1703aeee8 in QWidget::event(QEvent*) () from
> /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #22 0x00007fe170c25e4d in KXmlGuiWindow::event(QEvent*) () from
> /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
> #23 0x00007fe17036bf92 in QApplicationPrivate::notify_helper(QObject*,
> QEvent*)
> () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #24 0x00007fe16f6bae38 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*)
> () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #25 0x00007fe16f6bdea1 in
> QCoreApplicationPrivate::sendPostedEvents(QObject*,
> int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #26 0x00007fe16f7157b7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #27 0x00007fe16d9d249d in g_main_context_dispatch () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #28 0x00007fe16da2d178 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #29 0x00007fe16d9d11b0 in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #30 0x00007fe16f714e7a in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> ()
> from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #31 0x00007fe16f6b97cb in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #32 0x00007fe16f6c1c1a in QCoreApplication::exec() () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #33 0x000055771231c7c1 in ?? ()
> #34 0x00007fe16ec23a90 in __libc_start_call_main
> (main=main at entry=0x55771231ace0, argc=argc at entry=1,
> argv=argv at entry=0x7fff4e538a28) at
> ../sysdeps/nptl/libc_start_call_main.h:58
> #35 0x00007fe16ec23b49 in __libc_start_main_impl (main=0x55771231ace0,
> argc=1,
> argv=0x7fff4e538a28, init=<optimized out>, fini=<optimized out>,
> rtld_fini=<optimized out>, stack_end=0x7fff4e538a18) at
> ../csu/libc-start.c:360
> #36 0x000055771231d055 in ?? ()
> [Inferior 1 (process 9431) detached]
>
> Reported using DrKonqi
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20230704/a69b04c4/attachment.htm>
More information about the konsole-devel
mailing list