Bug 443336 - segfault in ibus-ui-emojier-plasma after installing a new emoji font
Summary: segfault in ibus-ui-emojier-plasma after installing a new emoji font
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Emoji Selector (other bugs)
Version First Reported In: 5.22.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-05 06:57 UTC by Adam Fontenot
Modified: 2021-10-09 00:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
backtrace (3.49 KB, text/plain)
2021-10-05 06:57 UTC, Adam Fontenot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Fontenot 2021-10-05 06:57:13 UTC
Created attachment 142161 [details]
backtrace

I have Noto Color Emoji installed system wide (my distribution packages it). I installed the font "TwemojiMozilla" locally (using right click -> install in Dolphin). This font is shipped with Firefox and is available on my system under /usr/lib/firefox/fonts/TwemojiMozilla.ttf

Now, whenever opening the emoji selector, I get a segfault. This happens whether using the keyboard shortcut or running the ibus-ui-emojier-plasma command directly.

I have attached the backtrace I got from gdb.

SOFTWARE/OS VERSIONS
Linux: Arch Linux x86_64 (kernel 5.14.5)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-10-05 17:42:48 UTC
Pasting inline for searchability:

#0  0x00007ffff6821d03 in QTextEngine::shapeText(int) const ()
    at /usr/lib/libQt5Gui.so.5
#1  0x00007ffff6833d01 in QTextLine::layout_helper(int) () at /usr/lib/libQt5Gui.so.5
#2  0x00007ffff7c91d1d in QQuickTextPrivate::setLineGeometry(QTextLine&, double, double&) () at /usr/lib/libQt5Quick.so.5
#3  0x00007ffff7c92b2a in QQuickTextPrivate::setupTextLayout(double*) ()
    at /usr/lib/libQt5Quick.so.5
#4  0x00007ffff7c94c3d in QQuickTextPrivate::updateSize() ()
    at /usr/lib/libQt5Quick.so.5
#5  0x00007ffff7c95e9b in QQuickTextPrivate::updateLayout() ()
    at /usr/lib/libQt5Quick.so.5
#6  0x00007ffff7c97854 in QQuickText::geometryChanged(QRectF const&, QRectF const&) ()
    at /usr/lib/libQt5Quick.so.5
#7  0x00007ffff024140b in QQuickLabel::geometryChanged(QRectF const&, QRectF const&) ()
    at /usr/lib/libQt5QuickTemplates2.so.5
#8  0x00007ffff7c5e24c in QQuickItem::setSize(QSizeF const&) ()
    at /usr/lib/libQt5Quick.so.5
#9  0x00007ffff7c492bc in  () at /usr/lib/libQt5Quick.so.5
#10 0x00007ffff7c4c201 in  () at /usr/lib/libQt5Quick.so.5
#11 0x00007ffff7c69da3 in QQuickItem::componentComplete() ()
    at /usr/lib/libQt5Quick.so.5
#12 0x00007ffff7c9737b in QQuickText::componentComplete() ()
    at /usr/lib/libQt5Quick.so.5
#13 0x00007ffff02412a4 in QQuickLabel::componentComplete() ()
    at /usr/lib/libQt5QuickTemplates2.so.5
#14 0x00007ffff7888c74 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) ()
    at /usr/lib/libQt5Qml.so.5
#15 0x00007ffff781d847 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) ()
    at /usr/lib/libQt5Qml.so.5
#16 0x00007ffff781de5e in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*)
    () at /usr/lib/libQt5Qml.so.5
#17 0x00007ffff5c40d35 in  () at /usr/lib/libQt5QmlModels.so.5
#18 0x00007ffff7d2cbc6 in  () at /usr/lib/libQt5Quick.so.5
#19 0x00007ffff7d1e6fe in  () at /usr/lib/libQt5Quick.so.5
#20 0x00007ffff7d2dc70 in  () at /usr/lib/libQt5Quick.so.5
#21 0x00007ffff7d2f0fb in  () at /usr/lib/libQt5Quick.so.5
#22 0x00007ffff7c7c896 in QQuickWindowPrivate::polishItems() ()
    at /usr/lib/libQt5Quick.so.5
#23 0x00007ffff7c1bcb7 in  () at /usr/lib/libQt5Quick.so.5
#24 0x00007ffff7c1d22d in  () at /usr/lib/libQt5Quick.so.5
#25 0x00007ffff6734635 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#26 0x00007ffff6e26d62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff634f3ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
    at /usr/lib/libQt5Core.so.5
#28 0x00007ffff67295d0 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib/libQt5Gui.so.5
#29 0x00007ffff66fd7e5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#30 0x00007ffff10e2fcc in  () at /usr/lib/libQt5XcbQpa.so.5
#31 0x00007ffff4c8710c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#32 0x00007ffff4cdaba9 in  () at /usr/lib/libglib-2.0.so.0
#33 0x00007ffff4c84871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#34 0x00007ffff63a7fe6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#35 0x00007ffff634dd2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#36 0x00007ffff6356294 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#37 0x0000555555557919 in  ()
#38 0x00007ffff5cdbb25 in __libc_start_main () at /usr/lib/libc.so.6
#39 0x0000555555557a6e in  ()


It doesn't look like any KDE code is involved here. Can you file a bug report with Qt at bugreports.qt.io/? Thanks!