Bug 417699 - Kwin crashes on emoji in titlebar
Summary: Kwin crashes on emoji in titlebar
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.18.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 418075 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-15 11:51 UTC by der_fenix
Modified: 2020-02-24 05:07 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.18.2


Attachments
kwin_x11 strace log (2.27 MB, text/plain)
2020-02-18 20:06 UTC, der_fenix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description der_fenix 2020-02-15 11:51:26 UTC
Probably chromium-related

STEPS TO REPRODUCE
1. Open chromium 
2. Open any site which have an emoji in its title

OBSERVED RESULT
Kwin crashes

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Kernel Version: 5.5.3-arch1-1
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 1700 Eight-Core Processor
Memory: 31.4 GiB of RAM


ADDITIONAL INFORMATION

LC_ALL=C kwin_x11 --replace
Icon theme "mate-icon-theme" not found.
Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2156, resource id: 136314966, major code: 18 (ChangeProperty), minor code: 0
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 Radeon RX Vega (VEGA10, DRM 3.36.0, 5.5.3-arch1-1, LLVM 9.0.1)
OpenGL version string:                  4.5 (Compatibility Profile) Mesa 19.3.4
OpenGL shading language version string: 4.50
Driver:                                 RadeonSI
GPU class:                              Vega
OpenGL version:                         4.5
GLSL version:                           4.50
Mesa version:                           19.3.4
X server version:                       1.20.7
Linux kernel version:                   5.5.3
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2685, resource id: 136314970, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2686, resource id: 136314970, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 4190, resource id: 136315082, major code: 2 (ChangeWindowAttributes), minor code: 0
malloc(): invalid size (unsorted)
Application::crashHandler() called with signal 6; recent crashes: 1
Comment 1 der_fenix 2020-02-15 11:54:09 UTC
Crashing example: https://www.youtube.com/results?search_query=%F0%9F%98%80
Comment 2 deadite66 2020-02-15 20:45:59 UTC
Seeing this too, trying to use Discord always triggers this for me.
Comment 3 deadite66 2020-02-15 20:51:08 UTC
[lee@Plasma ~]$ LC_ALL=C kwin_x11 --replace
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 178, resource id: 96468999, major code: 20 (GetProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 179, resource id: 96468999, major code: 20 (GetProperty), minor code: 0
Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2979, resource id: 31457409, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2980, resource id: 31457409, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 10895, resource id: 33554940, major code: 18 (ChangeProperty), minor code: 0
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15152, resource id: 157286401, major code: 15 (QueryTree), minor code: 0
malloc(): invalid size (unsorted)
Application::crashHandler() called with signal 6; recent crashes: 1
Comment 4 Nate Graham 2020-02-16 21:10:59 UTC
Does this happen for any other windows too? For example in Kate, if you open a file with an emoji in its name, does KWin still crash? Or is it on;y reproducible in Chromium or Electron apps?
Comment 5 der_fenix 2020-02-16 21:14:15 UTC
Just checked: created file named with emoji and open it in kate - kwin crashed
Comment 6 deadite66 2020-02-16 21:33:54 UTC
if its at all relevent i'm also on Arch linux and a Vega gpu.
Comment 7 Nate Graham 2020-02-16 22:01:53 UTC
Thanks. Cannot reproduce, BTW.
Comment 8 David Edmundson 2020-02-16 23:01:59 UTC
Crashes should have a backtrace
Comment 9 der_fenix 2020-02-16 23:07:15 UTC
I know they should, but haven't actually. 

All we have is:
  malloc(): invalid size (unsorted)
  Application::crashHandler() called with signal 6; recent crashes: 1

May be arch packages have no debug info or something else is missing, but even drkonqi was sleeping.
Comment 10 deadite66 2020-02-17 06:33:40 UTC
i don't see drkongi during the crash, if i log out and back in then i do sometimes see this from it.

Application: kdeinit5 (kdeinit5), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f29150f6ce5 in raise () from /usr/lib/libc.so.6
#7  0x00007f29150e0857 in abort () from /usr/lib/libc.so.6
#8  0x00007f291530f96c in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#9  0x00007f291174206d in KIO::SlaveBase::waitForAnswer(int, int, QByteArray&, int*) () from /usr/lib/libKF5KIOCore.so.5
#10 0x00007f29117431ae in KIO::SlaveBase::canResume(unsigned long long) () from /usr/lib/libKF5KIOCore.so.5
#11 0x00007f29160ccdd6 in ?? () from /usr/lib/qt/plugins/kf5/kio/file.so
#12 0x00007f2911748510 in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /usr/lib/libKF5KIOCore.so.5
#13 0x00007f2911748c26 in KIO::SlaveBase::dispatchLoop() () from /usr/lib/libKF5KIOCore.so.5
#14 0x00007f29160cb394 in kdemain () from /usr/lib/qt/plugins/kf5/kio/file.so
#15 0x0000558a2a003b9c in ?? ()
#16 0x0000558a2a00505a in ?? ()
#17 0x0000558a2a0059ce in ?? ()
#18 0x0000558a2a000b54 in ?? ()
#19 0x00007f29150e2023 in __libc_start_main () from /usr/lib/libc.so.6
#20 0x0000558a2a00176e in ?? ()
[Inferior 1 (process 294263) detached]
Comment 11 deadite66 2020-02-17 17:21:10 UTC
GNU gdb (GDB) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 113123
[New LWP 113124]
[New LWP 113125]
[New LWP 113126]
[New LWP 113127]
[New LWP 113128]
[New LWP 113129]
[New LWP 113130]
[New LWP 113131]
[New LWP 113132]
[New LWP 113133]
[New LWP 113134]
[New LWP 113135]
[New LWP 113136]
[New LWP 113137]
[New LWP 113138]
[New LWP 113139]
[New LWP 113140]
[New LWP 113141]
[New LWP 113142]
[New LWP 113143]
[New LWP 113144]
[New LWP 113145]
[New LWP 113146]
[New LWP 113147]
[New LWP 113148]
[New LWP 113149]
[New LWP 113150]
[New LWP 113151]
[New LWP 113152]
[New LWP 113153]
[New LWP 113154]
[New LWP 113155]
[New LWP 113158]
[New LWP 113159]
[New LWP 113160]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f6bcc6c9cf5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
(gdb) coin[K[Kntinue
Continuing.
[New Thread 0x7f6a98dff700 (LWP 116694)]

Thread 1 "kwin_x11" received signal SIGABRT, Aborted.
0x00007f6bcecdfce5 in raise () from /usr/lib/libc.so.6
(gdb) thread 1
[Switching to thread 1 (Thread 0x7f6bc71350c0 (LWP 113123))]
#0  0x00007f6bcecdfce5 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007f6bcecdfce5 in raise () at /usr/lib/libc.so.6
#1  0x00007f6bcecc9857 in abort () at /usr/lib/libc.so.6
#2  0x00007f6bced232b0 in __libc_message () at /usr/lib/libc.so.6
#3  0x00007f6bced2a74a in  () at /usr/lib/libc.so.6
#4  0x00007f6bced2d6b4 in _int_malloc () at /usr/lib/libc.so.6
#5  0x00007f6bced2efb9 in malloc () at /usr/lib/libc.so.6
#6  0x00007f6bcdae904b in QImageData::create(QSize const&, QImage::Format) () at /usr/lib/libQt5Gui.so.5
#7  0x00007f6bcdae918d in QImage::QImage(QSize const&, QImage::Format) () at /usr/lib/libQt5Gui.so.5
#8  0x00007f6bcdae91ca in QImage::QImage(int, int, QImage::Format) () at /usr/lib/libQt5Gui.so.5
#9  0x00007f6bcdaea13c in QImage::copy(QRect const&) const () at /usr/lib/libQt5Gui.so.5
#10 0x00007f6bcdaea6a5 in QImage::detach() () at /usr/lib/libQt5Gui.so.5
#11 0x00007f6bcdaebe7b in QImage::setColor(int, unsigned int) () at /usr/lib/libQt5Gui.so.5
#12 0x00007f6bc6d5a968 in  () at /usr/lib/libQt5XcbQpa.so.5
#13 0x00007f6bcddb60de in QTextureGlyphCache::textureMapForGlyph(unsigned int, QFixed) const () at /usr/lib/libQt5Gui.so.5
#14 0x00007f6bcde46bfe in QOpenGLTextureGlyphCache::fillTexture(QTextureGlyphCache::Coord const&, unsigned int, QFixed) () at /usr/lib/libQt5Gui.so.5
#15 0x00007f6bcddb7dd5 in QTextureGlyphCache::fillInPendingGlyphs() () at /usr/lib/libQt5Gui.so.5
#16 0x00007f6bcc1566d1 in  () at /usr/lib/libQt5Quick.so.5
#17 0x00007f6bcc1522eb in  () at /usr/lib/libQt5Quick.so.5
#18 0x00007f6bcc2271ce in QQuickTextNode::addGlyphs(QPointF const&, QGlyphRun const&, QColor const&, QQuickText::TextStyle, QColor const&, QSGNode*) ()
    at /usr/lib/libQt5Quick.so.5
#19 0x00007f6bcc22c679 in  () at /usr/lib/libQt5Quick.so.5
#20 0x00007f6bcc228231 in QQuickTextNode::addTextLayout(QPointF const&, QTextLayout*, QColor const&, QQuickText::TextStyle, QColor const&, QColor const&, QColor const&, QColor const&, int, int, int, int) () at /usr/lib/libQt5Quick.so.5
#21 0x00007f6bcc226a5f in QQuickText::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) () at /usr/lib/libQt5Quick.so.5
#22 0x00007f6bcc1cbd58 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#23 0x00007f6bcc1cc61c in QQuickWindowPrivate::updateDirtyNodes() () at /usr/lib/libQt5Quick.so.5
#24 0x00007f6bcc1cdd42 in QQuickWindowPrivate::syncSceneGraph() () at /usr/lib/libQt5Quick.so.5
#25 0x00007f6bcc29855a in QQuickRenderControl::sync() () at /usr/lib/libQt5Quick.so.5
#26 0x00007f6bcc501a19 in KWin::EffectQuickView::update() () at /usr/lib/libkwineffects.so.12
#27 0x00007f6bcd70f46e in  () at /usr/lib/libQt5Core.so.5
#28 0x00007f6bcd7131d8 in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#29 0x00007f6bcd707185 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#30 0x00007f6bce173362 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007f6bce17c819 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007f6bcd6d9962 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#33 0x00007f6bcd7313bd in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#34 0x00007f6bcd72f799 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#35 0x00007f6bc6cf7f5f in  () at /usr/lib/libQt5XcbQpa.so.5
#36 0x00007f6bcd6d84cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#37 0x00007f6bcd6e04d6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#38 0x00007f6bcee72379 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#39 0x00007f6bceccb023 in __libc_start_main () at /usr/lib/libc.so.6
#40 0x000055d1e3a4705e in _start ()
(gdb) thread 2
[Switching to thread 2 (Thread 0x7f6bc69d9700 (LWP 113124))]
#0  0x00007f6bced98abf in poll () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007f6bced98abf in poll () at /usr/lib/libc.so.6
#1  0x00007f6bcd416630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f6bcd4182db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f6bc6cf6b81 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f6bcd4fdfc6 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f6bcc6c346f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f6bceda33d3 in clone () at /usr/lib/libc.so.6
(gdb) quit
A debugging session is active.

	Inferior 1 [process 113123] will be detached.

Quit anyway? (y or n) y
Detaching from program: /usr/bin/kwin_x11, process 113123
[Inferior 1 (process 113123) detached]
Comment 12 David Edmundson 2020-02-17 17:28:38 UTC
Ooh thank you! 

We've had a bunch of crashes in aurorae without any sort of clue as to what was triggering it!

Can you tell me which window decoration you're using?
Comment 13 David Edmundson 2020-02-17 17:33:32 UTC
and which font
Comment 14 deadite66 2020-02-17 17:55:11 UTC
Decoration is Plastik
font is Segoe UI, fixed width font is Hack

clean backup user i made to test this is using Plastik and noto sans.

i tested it with both accounts, its Plastik causing this, tried and Breeze and Oxygen and Discord works without issue.
Comment 15 der_fenix 2020-02-17 18:07:33 UTC
I'm using breeze decoration and Noto fonts for text, and noto-sans-emoji for emoji
Comment 16 deadite66 2020-02-17 18:20:00 UTC
i have noto-sans-emoji installed too.
Comment 17 David Edmundson 2020-02-17 18:56:41 UTC
>I'm using breeze decoration and Noto fonts for text, and noto-sans-emoji for emoji

If you use breeze your backtrace would be very different. Could you attach that please.
Comment 18 der_fenix 2020-02-18 20:06:26 UTC
Created attachment 126141 [details]
kwin_x11 strace log

I have some troubles with gdm - it is freeze all gui or prints the same data as in my first comment. I make strace log, by starting kwin_x11 by strace when have already opened window with emoji, may be it will be usefull
Comment 19 deadite66 2020-02-18 20:28:46 UTC
i followed this guide for debugging kwin_x11, the screen locks up until you type continue in gdb, so ran gdb in another tty.

https://community.kde.org/KWin/Debugging
Comment 20 der_fenix 2020-02-18 20:59:04 UTC
Thanks, got it.

GNU gdb (GDB) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kwin_x11...
(No debugging symbols found in kwin_x11)
(gdb) run
Starting program: /usr/bin/kwin_x11 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffefad6700 (LWP 82157)]
[New Thread 0x7fffef25b700 (LWP 82158)]
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 178, resource id: 132120583, major code: 20 (GetProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 179, resource id: 132120583, major code: 20 (GetProperty), minor code: 0
[New Thread 0x7fffeea5a700 (LWP 82159)]
[New Thread 0x7fffed5de700 (LWP 82161)]
Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
Icon theme "mate-icon-theme" not found.
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7fffddb62700 (LWP 82185)]
[New Thread 0x7fffdd220700 (LWP 82186)]
[New Thread 0x7fffdca1f700 (LWP 82187)]
[New Thread 0x7fffd31ba700 (LWP 82188)]
[New Thread 0x7fffd29b9700 (LWP 82189)]
[New Thread 0x7fffd21b8700 (LWP 82190)]
[New Thread 0x7fffd19b7700 (LWP 82191)]
[New Thread 0x7fffd11b6700 (LWP 82192)]
[New Thread 0x7fffd09b5700 (LWP 82193)]
[New Thread 0x7fffabfff700 (LWP 82194)]
[New Thread 0x7fffab7fe700 (LWP 82195)]
[New Thread 0x7fffaaffd700 (LWP 82196)]
[New Thread 0x7fffaa7fc700 (LWP 82197)]
[New Thread 0x7fffa9ffb700 (LWP 82198)]
[New Thread 0x7fffa97fa700 (LWP 82199)]
[New Thread 0x7fffa8ff9700 (LWP 82201)]
[New Thread 0x7fff8bfff700 (LWP 82202)]
[New Thread 0x7fff83fff700 (LWP 82203)]
[New Thread 0x7fff8b7fe700 (LWP 82204)]
[New Thread 0x7fff8affd700 (LWP 82205)]
[New Thread 0x7fff8a7fc700 (LWP 82206)]
[New Thread 0x7fff89ffb700 (LWP 82207)]
[New Thread 0x7fff897fa700 (LWP 82210)]
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7fff88ff9700 (LWP 82211)]
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7fff837fe700 (LWP 82213)]
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7fff82ffd700 (LWP 82217)]
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7fff827fc700 (LWP 82218)]
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7fff81ffb700 (LWP 82219)]
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
aurorae: Couldn't find QML Decoration  "__aurorae__svg__Simply_Circles"
file:///usr/share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml:92: TypeError: Cannot read property 'borderSize' of null
file:///usr/lib/qt/qml/org/kde/kwin/decoration/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7fff817fa700 (LWP 82220)]
[New Thread 0x7fff80ff9700 (LWP 82221)]
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2571, resource id: 140509188, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2769, resource id: 140509189, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2773, resource id: 140509188, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3022, resource id: 140509189, major code: 18 (ChangeProperty), minor code: 0
[New Thread 0x7fff4bfff700 (LWP 82222)]
[New Thread 0x7fff4b7fe700 (LWP 82223)]
[Thread 0x7fff4b7fe700 (LWP 82223) exited]
[New Thread 0x7fff4b7fe700 (LWP 82224)]
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 Radeon RX Vega (VEGA10, DRM 3.36.0, 5.5.4-arch1-1, LLVM 9.0.1)
OpenGL version string:                  4.5 (Compatibility Profile) Mesa 19.3.4
OpenGL shading language version string: 4.50
Driver:                                 RadeonSI
GPU class:                              Vega
OpenGL version:                         4.5
GLSL version:                           4.50
Mesa version:                           19.3.4
X server version:                       1.20.7
Linux kernel version:                   5.5.4
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
[New Thread 0x7fff4affd700 (LWP 82225)]
[New Thread 0x7fff4a7fc700 (LWP 82227)]
malloc(): invalid size (unsorted)

Thread 1 "kwin_x11" received signal SIGABRT, Aborted.
0x00007ffff7ddece5 in raise () from /usr/lib/libc.so.6
(gdb) quit
A debugging session is active.

	Inferior 1 [process 82152] will be killed.

Quit anyway? (y or n) y
Comment 21 David Edmundson 2020-02-18 21:16:01 UTC
der_fenix, that log proves you're not using Breeze.

Which is good news for me, as it puts us back as having one bug.
Comment 22 der_fenix 2020-02-18 21:18:13 UTC
But I can provide screenshot of systemsettings window with breeze selected as window decorator :)
Comment 23 David Edmundson 2020-02-18 21:29:17 UTC
Then there's another independent bug with the systemsettings UI.
Comment 24 der_fenix 2020-02-18 21:33:47 UTC
Hmm, got it. That's why I have no shadows... :)
Comment 25 David Edmundson 2020-02-18 22:30:43 UTC
Minimal crashing example:

```
import QtQuick 2.5

Text {
    textFormat: Text.PlainText
    color: "red"
    text: "results?search_query=😀"
    font.family: "Noto Color Emoji"
    style: Text.Raised // This line causes the crash
}
```

Will write up a Qt bug report with this and submit a hack for plastik disabling the styling.
Comment 26 David Edmundson 2020-02-19 08:27:44 UTC
Git commit 39798bffb1398d6b75a067ff5552a63ea6b182f7 by David Edmundson.
Committed on 19/02/2020 at 08:27.
Pushed by davidedmundson into branch 'Plasma/5.18'.

[plastik] Disable problematic text hints

Summary:
Use of "style: Text.Raised" combined with UTF-8 emoji characters
currently crashes deep in font rendering code.

A report has been submitted upstream:
https://bugreports.qt.io/browse/QTBUG-82311

Given this crash is surprisingly common, this patch removes the text
shadow. I normally would be against removing features, but this was a
subtle effect anyway and frankly just made things look blurry. I doubt
it'll be missed.
Related: bug 413179

Test Plan:
Made unit test for the crash in qmlscene
Fixed the issue there

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D27488

M  +0    -3    plugins/kdecorations/aurorae/themes/plastik/package/contents/config/main.xml
M  +0    -11   plugins/kdecorations/aurorae/themes/plastik/package/contents/ui/config.ui
M  +0    -4    plugins/kdecorations/aurorae/themes/plastik/package/contents/ui/main.qml

https://commits.kde.org/kwin/39798bffb1398d6b75a067ff5552a63ea6b182f7
Comment 27 Nate Graham 2020-02-24 05:07:30 UTC
*** Bug 418075 has been marked as a duplicate of this bug. ***