Bug 392613 - kate crashes under wayland
Summary: kate crashes under wayland
Status: RESOLVED UPSTREAM
Alias: None
Product: kwayland-integration
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-04-01 19:40 UTC by Alexander Miroshnichenko
Modified: 2018-04-16 17:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Miroshnichenko 2018-04-01 19:40:58 UTC
Application: kate (17.12.3)

Qt Version: 5.9.4
Frameworks Version: 5.43.0
Operating System: Linux 4.14.20.a-hardened x86_64
Distribution: "Gentoo Base System release 2.4.1"

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

- start kde plasma wayland session
- run kate application
- app crashes

The problem exists with any KDE apps under wayland session.
The app may crash right after launch or after some time when any actions occurs.

-- Backtrace:
Application: Kate (kate), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x693136df5740 (LWP 6182))]

Thread 9 (Thread 0x6930ff3a3700 (LWP 6191)):
#0  0x000069312d9e0d82 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000693119808cfb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x0000693119808bb6 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x000069312d9d9a03 in start_thread () from /lib64/libpthread.so.0
#4  0x00006931312896bf in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x6930ffba4700 (LWP 6190)):
#0  0x000069312d9e0d82 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000693119808cfb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x0000693119808bb6 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x000069312d9d9a03 in start_thread () from /lib64/libpthread.so.0
#4  0x00006931312896bf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x6931003a5700 (LWP 6189)):
#0  0x000069312d9e0d82 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000693119808cfb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x0000693119808bb6 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x000069312d9d9a03 in start_thread () from /lib64/libpthread.so.0
#4  0x00006931312896bf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x693100ba6700 (LWP 6188)):
#0  0x000069312d9e0d82 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000693119808cfb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x0000693119808bb6 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x000069312d9d9a03 in start_thread () from /lib64/libpthread.so.0
#4  0x00006931312896bf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x6931013a7700 (LWP 6187)):
#0  0x000069312d9e0d82 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000693119808cfb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x0000693119808bb6 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x000069312d9d9a03 in start_thread () from /lib64/libpthread.so.0
#4  0x00006931312896bf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x693101ba8700 (LWP 6186)):
#0  0x000069312d9e0d82 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000693119808cfb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x0000693119808bb6 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x000069312d9d9a03 in start_thread () from /lib64/libpthread.so.0
#4  0x00006931312896bf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x693102be5700 (LWP 6185)):
#0  0x000069312d9e0d82 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000693119808cfb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x0000693119808bb6 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x000069312d9d9a03 in start_thread () from /lib64/libpthread.so.0
#4  0x00006931312896bf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x69311c684700 (LWP 6184)):
#0  0x000069313127d70d in poll () from /lib64/libc.so.6
#1  0x000069312bc05766 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x693114003220, timeout=<optimized out>, context=0x693114000990) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4271
#2  g_main_context_iterate (context=context@entry=0x693114000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3967
#3  0x000069312bc058cb in g_main_context_iteration (context=0x693114000990, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033
#4  0x0000693131f6dfbb in QEventDispatcherGlib::processEvents (this=0x6931140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x0000693131f0e67a in QEventLoop::exec (this=this@entry=0x69311c683e30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x0000693131d35cf3 in QThread::exec (this=this@entry=0x693132616060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#7  0x00006931323950d3 in QDBusConnectionManager::run (this=0x693132616060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x0000693131d3b2d0 in QThreadPrivate::start (arg=0x693132616060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x000069312d9d9a03 in start_thread () from /lib64/libpthread.so.0
#10 0x00006931312896bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x693136df5740 (LWP 6182)):
[KCrash Handler]
#6  0x000069313121a8ab in __memmove_sse2_unaligned_erms () from /lib64/libc.so.6
#7  0x0000693125dc5d96 in memcpy (__len=8847360, __src=0x6930fc3c4000, __dest=<optimized out>) at /usr/include/bits/string3.h:53
#8  QtWaylandClient::QWaylandShmBackingStore::resize (this=this@entry=0xc4212fb9b30, size=...) at qwaylandshmbackingstore.cpp:280
#9  0x0000693125dc5fb4 in QtWaylandClient::QWaylandShmBackingStore::ensureSize (this=this@entry=0xc4212fb9b30) at qwaylandshmbackingstore.cpp:200
#10 0x0000693125dc5ff8 in QtWaylandClient::QWaylandShmBackingStore::beginPaint (this=this@entry=0xc4212fb9b30, region=...) at qwaylandshmbackingstore.cpp:177
#11 0x0000693132d874bb in QBackingStore::beginPaint (this=this@entry=0xc4212fc76f0, region=...) at painting/qbackingstore.cpp:176
#12 0x000069313337c56b in QWidgetBackingStore::beginPaint (toCleanIsInTopLevelCoordinates=true, returnInfo=<synthetic pointer>, backingStore=0xc4212fc76f0, widget=<optimized out>, toClean=..., this=0xc4212fc79b0) at kernel/qwidgetbackingstore.cpp:331
#13 QWidgetBackingStore::doSync (this=this@entry=0xc4212fc79b0) at kernel/qwidgetbackingstore.cpp:1341
#14 0x000069313337c979 in QWidgetBackingStore::sync (this=0xc4212fc79b0) at kernel/qwidgetbackingstore.cpp:1162
#15 0x000069313339a05e in QWidgetPrivate::syncBackingStore (this=0xc4212c62330) at kernel/qwidget.cpp:1972
#16 0x00006931333b53f8 in QWidget::event (this=this@entry=0xc4212c84800, event=event@entry=0xc4213047420) at kernel/qwidget.cpp:9218
#17 0x00006931334f21cb in QMainWindow::event (this=this@entry=0xc4212c84800, event=event@entry=0xc4213047420) at widgets/qmainwindow.cpp:1563
#18 0x0000693135a71236 in KMainWindow::event (this=this@entry=0xc4212c84800, ev=ev@entry=0xc4213047420) at /var/tmp/portage/kde-frameworks/kxmlgui-5.43.0/work/kxmlgui-5.43.0/src/kmainwindow.cpp:865
#19 0x0000693135aba594 in KXmlGuiWindow::event (this=0xc4212c84800, ev=0xc4213047420) at /var/tmp/portage/kde-frameworks/kxmlgui-5.43.0/work/kxmlgui-5.43.0/src/kxmlguiwindow.cpp:119
#20 0x000069313336b0cc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xc4212c84800, e=0xc4213047420) at kernel/qapplication.cpp:3722
#21 0x00006931333732aa in QApplication::notify (this=0x7d16fe3f1330, receiver=0xc4212c84800, e=0xc4213047420) at kernel/qapplication.cpp:3481
#22 0x0000693131f101aa in QCoreApplication::notifyInternal2 (receiver=0xc4212c84800, event=event@entry=0xc4213047420) at kernel/qcoreapplication.cpp:1016
#23 0x0000693131f1367e in QCoreApplication::sendEvent (event=0xc4213047420, receiver=<optimized out>) at kernel/qcoreapplication.h:233
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xc4212892430) at kernel/qcoreapplication.cpp:1676
#25 0x0000693131f13b17 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1530
#26 0x0000693131f6e406 in postEventSourceDispatch (s=0xc4212936860) at kernel/qeventdispatcher_glib.cpp:276
#27 0x000069312bc05567 in g_main_dispatch (context=0xc42128fa450) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234
#28 g_main_context_dispatch (context=context@entry=0xc42128fa450) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899
#29 0x000069312bc057c8 in g_main_context_iterate (context=context@entry=0xc42128fa450, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972
#30 0x000069312bc058cb in g_main_context_iteration (context=0xc42128fa450, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033
#31 0x0000693131f6df9e in QEventDispatcherGlib::processEvents (this=0xc42129288b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x0000693131f0e67a in QEventLoop::exec (this=this@entry=0x7d16fe3f1120, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#33 0x0000693131f17ed3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#34 0x00000c41de19dc08 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kate-17.12.3/work/kate-17.12.3/kate/main.cpp:583

Reported using DrKonqi
Comment 1 Martin Flöser 2018-04-16 17:20:53 UTC
Crash happens in At. Please report to Qt.