Bug 386607

Summary: Konsole crashes when trying to display Noto Color Emoji
Product: [Applications] konsole Reporter: feynman.liang
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UPSTREAM    
Severity: crash CC: simonandric5
Priority: NOR Keywords: drkonqi
Version: 17.04.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description feynman.liang 2017-11-06 23:38:18 UTC
Application: konsole (17.04.3)

Qt Version: 5.9.1
Frameworks Version: 5.38.0
Operating System: Linux 4.13.0-16-lowlatency x86_64
Distribution: Ubuntu 17.10

-- Information about the crash:
- What I was doing when the application crashed:

Open Konsole, paste  👍

I am getting the same results using the version distributed with Kubuntu 17.10 (17.04.3) as well as building from source.

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5657126d80 (LWP 4675))]

Thread 3 (Thread 0x7f563774c700 (LWP 4677)):
#0  0x00007f5656a4c901 in __GI___poll (fds=0x7f5630002de0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f564cbbd169 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f564cbbd27c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5652fcc49b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5652f71e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5652d913ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5651135e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f5652d9629d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f564e8307fc in start_thread (arg=0x7f563774c700) at pthread_create.c:465
#9  0x00007f5656a58b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5641fdc700 (LWP 4676)):
#0  0x00007f5656a4c901 in __GI___poll (fds=0x7f5641fdbbb8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f564ec56747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f564ec5853a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f5644536f09 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f5652d9629d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f564e8307fc in start_thread (arg=0x7f5641fdc700) at pthread_create.c:465
#6  0x00007f5656a58b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5657126d80 (LWP 4675)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f565697cf5d in __GI_abort () at abort.c:90
#8  0x00007f56569c528d in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f5656aec4e8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:181
#9  0x00007f56569cc64a in malloc_printerr (action=<optimized out>, str=0x7f5656ae8dae "corrupted size vs. prev_size", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5425
#10 0x00007f56569cf04a in _int_free (av=0x7f5656d1ec20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4336
#11 0x00007f56569d33fe in __GI___libc_free (mem=<optimized out>) at malloc.c:3144
#12 0x00007f5653806334 in QImage::~QImage() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007f5653806359 in QImage::~QImage() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#14 0x00007f5653962097 in QBackingStore::beginPaint(QRegion const&) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#15 0x00007f5653f8d844 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f5653f8dcc5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f5653fa753f in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f5653fbef38 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f56540acbab in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f5655f67cd7 in KMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#21 0x00007f5655fad255 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#22 0x00007f5653f7e46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f5653f85d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f5652f73de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f5652f7655d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f5652fcce53 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f564cbbcfb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f564cbbd1f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f564cbbd27c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f5652fcc47f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f5652f71e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f5652f7ada4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f5656d4c130 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#34 0x00007f56569651c1 in __libc_start_main (main=0x55e2303cd730, argc=1, argv=0x7fffc8d44d98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc8d44d88) at ../csu/libc-start.c:308
#35 0x000055e2303cd76a in _start ()

Possible duplicates by query: bug 381268, bug 379212, bug 379096, bug 378562, bug 378512.

Reported using DrKonqi
Comment 1 Christoph Feck 2017-11-23 01:32:07 UTC
This probably is https://bugreports.qt.io/browse/QTBUG-64239

If this is still reproducible with Qt 5.9.3, please report this issue directly to Qt developers via https://bugreports.qt.io/