Application: kate (15.08.3) Qt Version: 5.5.1 Operating System: Linux 4.3.4-200.fc22.x86_64 x86_64 Distribution (Platform): Fedora RPMs -- Information about the crash: - What I was doing when the application crashed: Editing in kate within mate desktop (fedora 22 x64). machine bit old to run kde well. Use system->Preferences->Appearance (theme), to change icons theme as some icons were mising in kate (ctrl+F find has gray box for several icons, example the X on bottom-left). Kate then crashes. Restarting kate after changing icons from 'Mate icons' to 'Oxygen or Adwaita icons', and kate works correctly and has icons. Kate works if icons theme changed when kate not running. crashed if icon theme changes while kate running. Might relates to bug 349340, where gnome changes scale, though not sure what that is, but perhaps relates to icon sizes. The crash can be reproduced every time. -- Backtrace: Application: Kate (kate), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f93772db880 (LWP 2552))] Thread 8 (Thread 0x7f934c092700 (LWP 2556)): #0 0x00007f936fb222fd in poll () from /lib64/libc.so.6 #1 0x00007f936bf63dbc in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #2 0x00007f936bf64142 in g_main_loop_run () from /lib64/libglib-2.0.so.0 #3 0x00007f9358599696 in gdbus_shared_thread_func () from /lib64/libgio-2.0.so.0 #4 0x00007f936bf8b0a5 in g_thread_proxy () from /lib64/libglib-2.0.so.0 #5 0x00007f936dcf6555 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f936fb2db9d in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f9343fff700 (LWP 2557)): #0 0x00007f936dcfb540 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f934b1ec6da in radeon_drm_cs_emit_ioctl () from /usr/lib64/dri/r300_dri.so #2 0x00007f934b1ebe37 in impl_thrd_routine () from /usr/lib64/dri/r300_dri.so #3 0x00007f936dcf6555 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f936fb2db9d in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f93437fe700 (LWP 2558)): #0 0x00007f936dcfb540 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f937073066b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5 #2 0x00007f934dc97bdf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5 #3 0x00007f934dc9c388 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5 #4 0x00007f934dc96c93 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5 #5 0x00007f934dc99c23 in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5 #6 0x00007f937072f3de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #7 0x00007f936dcf6555 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f936fb2db9d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f9342ffd700 (LWP 2559)): #0 0x00007f936dcfb540 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f937073066b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5 #2 0x00007f934dc97bdf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5 #3 0x00007f934dc9c388 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5 #4 0x00007f934dc96c93 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5 #5 0x00007f934dc99c23 in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5 #6 0x00007f937072f3de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #7 0x00007f936dcf6555 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f936fb2db9d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f93427fc700 (LWP 2561)): #0 0x00007f936dcfb540 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f937073066b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5 #2 0x00007f934dc97bdf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5 #3 0x00007f934dc9c388 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5 #4 0x00007f934dc96c93 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5 #5 0x00007f934dc99c23 in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5 #6 0x00007f937072f3de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #7 0x00007f936dcf6555 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f936fb2db9d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f9341ffb700 (LWP 2562)): #0 0x00007f936dcfb540 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f937073066b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5 #2 0x00007f934dc97bdf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5 #3 0x00007f934dc9c388 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5 #4 0x00007f934dc96c93 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5 #5 0x00007f934dc99c23 in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5 #6 0x00007f937072f3de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #7 0x00007f936dcf6555 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f936fb2db9d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f9332368700 (LWP 2611)): #0 0x00007f936fb222fd in poll () from /lib64/libc.so.6 #1 0x00007f936bf63dbc in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #2 0x00007f936bf63ecc in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007f936bf63f09 in glib_worker_main () from /lib64/libglib-2.0.so.0 #4 0x00007f936bf8b0a5 in g_thread_proxy () from /lib64/libglib-2.0.so.0 #5 0x00007f936dcf6555 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f936fb2db9d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f93772db880 (LWP 2552)): [KCrash Handler] #4 0x00007f936cac7920 in xcb_setup_vendor_end () from /lib64/libxcb.so.1 #5 0x00007f936cac7949 in xcb_setup_pixmap_formats () from /lib64/libxcb.so.1 #6 0x00007f935c8b93d5 in find_format_by_depth () from /lib64/libxcb-image.so.0 #7 0x00007f935c8ba53e in xcb_image_native () from /lib64/libxcb-image.so.0 #8 0x00007f935c8ba6ff in xcb_image_shm_put () from /lib64/libxcb-image.so.0 #9 0x00007f935d34c8ac in QXcbShmImage::put(unsigned int, QPoint const&, QRect const&) () from /lib64/libQt5XcbQpa.so.5 #10 0x00007f935d34ccb9 in QXcbBackingStore::flush(QWindow*, QRegion const&, QPoint const&) () from /lib64/libQt5XcbQpa.so.5 #11 0x00007f93719381c5 in QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) () from /lib64/libQt5Gui.so.5 #12 0x00007f9371f5ce7a in QWidgetBackingStore::qt_flush(QWidget*, QRegion const&, QBackingStore*, QWidget*, QPoint const&, QPlatformTextureList*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5 #13 0x00007f9371f5db96 in QWidgetBackingStore::flush(QWidget*) () from /lib64/libQt5Widgets.so.5 #14 0x00007f9371f5fcbf in QWidgetBackingStore::doSync() () from /lib64/libQt5Widgets.so.5 #15 0x00007f9371f5fe8c in QWidgetBackingStore::sync() () from /lib64/libQt5Widgets.so.5 #16 0x00007f9371f7e03f in QWidgetPrivate::syncBackingStore() () from /lib64/libQt5Widgets.so.5 #17 0x00007f9371f95218 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #18 0x00007f93720ab44b in QMainWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #19 0x00007f93754b87ba in KMainWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5 #20 0x00007f93755033b5 in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5 #21 0x00007f9371f5241c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #22 0x00007f9371f578e6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #23 0x00007f937091073b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #24 0x00007f9371f605bf in QWidgetBackingStore::sendUpdateRequest(QWidget*, QWidgetBackingStore::UpdateTime) () from /lib64/libQt5Widgets.so.5 #25 0x00007f9371f6134d in QWidgetBackingStore::markDirty(QRect const&, QWidget*, QWidgetBackingStore::UpdateTime, QWidgetBackingStore::BufferState) () from /lib64/libQt5Widgets.so.5 #26 0x00007f9371f80a32 in QWidget::repaint(QRect const&) () from /lib64/libQt5Widgets.so.5 #27 0x00007f9371f80a93 in QWidget::repaint() () from /lib64/libQt5Widgets.so.5 #28 0x00007f937696e1ea in KTextEditor::ViewPrivate::updateRendererConfig() () from /lib64/libKF5TextEditor.so.5 #29 0x00007f93769c52fe in KateRendererConfig::reloadSchema() () from /lib64/libKF5TextEditor.so.5 #30 0x00007f93769c5495 in KateRendererConfig::reloadSchema() () from /lib64/libKF5TextEditor.so.5 #31 0x00007f93769e1318 in KTextEditor::EditorPrivate::updateColorPalette() () from /lib64/libKF5TextEditor.so.5 #32 0x00007f93769e1349 in KTextEditor::EditorPrivate::eventFilter(QObject*, QEvent*) () from /lib64/libKF5TextEditor.so.5 #33 0x00007f93709103f2 in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #34 0x00007f9371f523a8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #35 0x00007f9371f578e6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #36 0x00007f937091073b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #37 0x00007f9371f52ec4 in QApplicationPrivate::setPalette_helper(QPalette const&, char const*, bool) () from /lib64/libQt5Widgets.so.5 #38 0x00007f9372038fb4 in QGtkStyleUpdateScheduler::updateTheme() () from /lib64/libQt5Widgets.so.5 #39 0x00007f9370940161 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5 #40 0x00007f9371f5241c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #41 0x00007f9371f578e6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #42 0x00007f937091073b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #43 0x00007f9370912b36 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5 #44 0x00007f9370966aa3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5 #45 0x00007f936bf63a8a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #46 0x00007f936bf63e20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #47 0x00007f936bf63ecc in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #48 0x00007f9370966eaf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #49 0x00007f937090deca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #50 0x00007f9370915fac in QCoreApplication::exec() () from /lib64/libQt5Core.so.5 #51 0x00007f9376efd844 in kdemain () from /lib64/libkdeinit5_kate.so #52 0x00007f936fa4b700 in __libc_start_main () from /lib64/libc.so.6 #53 0x0000000000400a39 in _start () Possible duplicates by query: bug 349340. Reported using DrKonqi
Hi Ian, did you maybe update your system and not restart after the update? Or maybe you updated Qt but you didn't update it consistently? I'm just asking, since an inconsistent Qt installation might lead to this (see e.g. last comment in https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1228577 ) This issue was already reported once half a year ago, but it doesn't look like a bug in Kate... Can you check your Qt installation? See possible duplicate: bug #349340
Hi Dominik, Sorry for slow response. Have been away. I have run package updates, twice. After several attempt I have found it tends to fail the first few times, then start working (not crashing). A ran kate from command line to see any messages. I am changing Mate desktop icon set from Oxygen to Mate and back again. Within kate the (red) 'X' icon next to Find entry field, is missing from the Mate icon set. That is why I changed the icon set. At first it just hangs kate - no graphics updates. I killed process (close window) after 3 minutes. I see the following messages, QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES" After 1 or 2 attempts, Kate stops crashing. Here I start kate and change icon set. It hangs for about 19 seconds, then recovers. I assume this is some time out limit. Changing icon set again while kate is running has no time out, it continues to run fine. Starting kate shows the following message, (kate:10992): Gtk-WARNING **: Theme directory of theme default.kde4 has no size field I have also run the plasma desktop, so all the kde rpm package are up to date.
Hi, I am very sorry for the problem, but I think this is like bug 349340 an issue inside Qt. Please try to update to some recent Qt version (5.6 or better 5.7), if then this still happens, we can think about it, there were "many" XCB fixes in Qt since 5.5, which had serious issues. *** This bug has been marked as a duplicate of bug 349340 ***
Hi Christoph, I have repeated this on fedora 24, using Qt5.6. The icons change correctly. Issue solved. Thank you.
Nice that it is solved for you, too!