Krita crashed on exit. Debian 9, Qt 5.7.1 Application: Krita (krita), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f35b888a800 (LWP 17284))] Thread 6 (Thread 0x7f3583fff700 (LWP 17305)): #0 0x00007f35c7d9b67d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f35c0fab9f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f35c0fabb0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f35c88c706b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f35c88709ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f35c869e0f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f3596025406 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #7 0x00007f35c86a2da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f35c286f494 in start_thread (arg=0x7f3583fff700) at pthread_create.c:333 #9 0x00007f35c7da4acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 5 (Thread 0x7f3595663700 (LWP 17302)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f35c86a3c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f35c869ce26 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f35c5d04a53 in KisTileDataSwapper::waitForWork (this=<optimized out>) at ./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86 #4 0x00007f35c5d04c8a in KisTileDataSwapper::run (this=0x7f35c620aea0 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at ./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #5 0x00007f35c86a2da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f35c286f494 in start_thread (arg=0x7f3595663700) at pthread_create.c:333 #7 0x00007f35c7da4acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 4 (Thread 0x7f3595e64700 (LWP 17301)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f35c86a3c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f35c869cb33 in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f35c5ce9dce in KisTileDataPooler::waitForWork (this=0x7f35c620ae60 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at ./libs/image/tiles3/kis_tile_data_pooler.cc:165 #4 0x00007f35c5cea6fa in KisTileDataPooler::run (this=0x7f35c620ae60 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at ./libs/image/tiles3/kis_tile_data_pooler.cc:187 #5 0x00007f35c86a2da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f35c286f494 in start_thread (arg=0x7f3595e64700) at pthread_create.c:333 #7 0x00007f35c7da4acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 3 (Thread 0x7f35aafec700 (LWP 17287)): #0 0x00007f35c0ff1104 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f35c0faafe0 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f35c0fab91b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f35c0fabb0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f35c88c706b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f35c88709ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f35c869e0f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f35c2a9a6d5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #8 0x00007f35c86a2da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007f35c286f494 in start_thread (arg=0x7f35aafec700) at pthread_create.c:333 #10 0x00007f35c7da4acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 2 (Thread 0x7f35b667b700 (LWP 17286)): #0 0x00007f35c7d9b67d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f35c646b150 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f35c646cee9 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f35b85a6b69 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007f35c86a2da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f35c286f494 in start_thread (arg=0x7f35b667b700) at pthread_create.c:333 #6 0x00007f35c7da4acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 1 (Thread 0x7f35b888a800 (LWP 17284)): [KCrash Handler] #6 0x00007f35964aa70f in QV4::PersistentValueStorage::getEngine(QV4::Value*) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #7 0x00007f35964aadc4 in QV4::WeakValue::free() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #8 0x00007f359651bb32 in QV4::QObjectWrapper::destroyObject(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #9 0x00007f35963b1e4f in QV4::MemoryManager::sweep(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #10 0x00007f35963b325c in QV4::MemoryManager::~MemoryManager() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #11 0x00007f359649a71b in QV4::ExecutionEngine::~ExecutionEngine() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #12 0x00007f35965da176 in QV8Engine::~QV8Engine() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #13 0x00007f35965da299 in QV8Engine::~QV8Engine() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #14 0x00007f3596431a26 in QJSEngine::~QJSEngine() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #15 0x00007f359654597d in QQmlEngine::~QQmlEngine() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #16 0x00007f3596545a39 in QQmlEngine::~QQmlEngine() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #17 0x00007f35c889ce11 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007f35c9198bdb in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007f35a8b06dc9 in QQuickWidget::~QQuickWidget() () from /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5 #20 0x00007f35c889ce11 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007f35c9198bdb in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x00007f3596a24469 in TouchDockerDock::~TouchDockerDock (this=0x558c1e168fe0, __in_chrg=<optimized out>) at ./plugins/dockers/touchdocker/TouchDockerDock.cpp:131 #23 0x00007f35c889ce11 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007f35c9198bdb in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #25 0x00007f35c9ba774e in KMainWindow::~KMainWindow (this=0x558c1cc00960, __in_chrg=<optimized out>) at ./libs/widgetutils/xmlgui/kmainwindow.cpp:349 #26 0x00007f35ca6ad83a in KisMainWindow::~KisMainWindow (this=0x558c1cc00960, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./libs/ui/KisMainWindow.cpp:498 #27 0x00007f35ca6ad8d9 in KisMainWindow::~KisMainWindow (this=0x558c1cc00960, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./libs/ui/KisMainWindow.cpp:531 #28 0x00007f35c889f4d0 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #29 0x00007f35c919d46b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #30 0x00007f35c929c92b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #31 0x00007f35c9ba9717 in KMainWindow::event (this=this@entry=0x558c1cc00960, ev=ev@entry=0x558c1d588d00) at ./libs/widgetutils/xmlgui/kmainwindow.cpp:780 #32 0x00007f35c9be1789 in KXmlGuiWindow::event (this=0x558c1cc00960, ev=0x558c1d588d00) at ./libs/widgetutils/xmlgui/kxmlguiwindow.cpp:125 #33 0x00007f35c9155b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #34 0x00007f35c915d341 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #35 0x00007f35ca67a367 in KisApplication::notify (this=<optimized out>, receiver=0x558c1cc00960, event=0x558c1d588d00) at ./libs/ui/KisApplication.cpp:620 #36 0x00007f35c88729e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #37 0x00007f35c887516d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #38 0x00007f35c88c6c43 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #39 0x00007f35c0fab7f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #40 0x00007f35c0faba60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #41 0x00007f35c0fabb0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #42 0x00007f35c88c704f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #43 0x00007f35c88709ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #44 0x00007f35c887913c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #45 0x0000558c114e2fce in main (argc=<optimized out>, argv=0x7ffe03bf4d78) at ./krita/main.cc:349
I suspect that this has to do with the version of Qt you're using. It doesn't crash with a more recent version of Qt.
I also experience the segfault on exit on Arch Linux, since version 4.0. Also happened in the week before 4.0 release when I was running it from master (git). Everything else is working fine. System is up-to-date and no foreign (dropped from official repo) packages, my DE is KDE. Note that Qt version here is 5.10.1. As I am running it from the repos I cannot generate a proper stracktrace. Let me know if giving one will be helpful to finding the problem. I will compile it without stripping symbols then. I attached some info that may help finding the issue below, hopefully it helps finding the problem. Thank you! -- System info Krita Version: 4.0.0 OS Information Build ABI: x86_64-little_endian-lp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: linux Kernel Version: 4.14.24-rt19-1-rt Pretty Productname: Arch Linux Product Type: arch Product Version: unknown OpenGL Info Vendor: NVIDIA Corporation Renderer: "GeForce GTX TITAN Black/PCIe/SSE2" Version: "4.6.0 NVIDIA 390.42" Shading language: 4.60 NVIDIA Requested format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) Current format: QSurfaceFormat(version 4.6, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) Version: 4.6 Supports deprecated functions true is OpenGL ES: false -- Terminal output (LC_ALL=C I use for OpenColorIO workaround as mentioned on docs.krita.org) $ LC_ALL=C krita Setting XDG_DATA_DIRS "/usr/bin/../share:/usr/share:/usr/share:/usr/local/share" Override language: "" OpenGL Info Vendor: NVIDIA Corporation Renderer: "GeForce GTX TITAN Black/PCIe/SSE2" Version: "4.6.0 NVIDIA 390.42" Shading language: 4.60 NVIDIA Requested format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) Current format: QSurfaceFormat(version 4.6, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) Version: 4.6 Supports deprecated functions true is OpenGL ES: false krita has opengl true Available translations QSet("es", "fa", "sv", "lt", "pl", "fr", "nn", "se", "vi", "it", "kk", "lv", "en_US", "sq", "he", "be", "eo", "ca", "da", "en_GB", "ia", "pt_BR", "km", "zh_CN", "zh_TW", "ta", "hr", "ug", "el", "tg", "et", "ms", "nds", "uk", "nl", "xh", "af", "wa", "uz", "pa", "ar", "ast", "pt", "ro", "cs", "sl", "fi", "br", "mai", "hi", "cy", "sk", "ja", "hu", "fy", "ca@valencia", "mk", "nb", "ko", "oc", "ru", "uz@cyrillic", "is", "th", "de", "tr", "ne", "hne", "bs", "mr", "bg", "ga", "eu", "gl") Available domain translations QSet("es", "fa", "sv", "lt", "pl", "fr", "nn", "se", "vi", "it", "kk", "lv", "en_US", "sq", "he", "be", "eo", "ca", "da", "en_GB", "ia", "pt_BR", "km", "zh_CN", "zh_TW", "ta", "hr", "ug", "el", "tg", "et", "ms", "nds", "uk", "nl", "xh", "af", "wa", "uz", "pa", "ar", "ast", "pt", "ro", "cs", "sl", "fi", "br", "mai", "hi", "cy", "sk", "ja", "hu", "fy", "ca@valencia", "mk", "nb", "ko", "oc", "ru", "uz@cyrillic", "is", "th", "de", "tr", "ne", "hne", "bs", "mr", "bg", "ga", "eu", "gl") Qt UI languages ("en-GB", "en-US") "en_GB.UTF-8" Invalid profile : "/usr/share/color/icc/colord/Crayons.icc" "Crayon Colors" Invalid profile : "/usr/share/color/icc/colord/x11-colors.icc" "X11 Colors" QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout input profiles were read from ' /home/melvin/.local/share/krita/input '. Loading Python plugin "/usr/lib/libpython3.6m.so.1.0" true Creating s_pythonLibrary /usr/lib/libpython3.6m.so Found krita-python-libs at "/usr/lib/krita-python-libs" Setting python paths: "/home/melvin/.local/share/krita/:/usr/share/krita/:/home/melvin/.local/share/krita/pykrita/:/usr/share/krita/pykrita/:/usr/share/pykrita/:/usr/lib/krita-python-libs" /usr/lib/krita-python-libs/krita added to PYTHONPATH Button KoToolBoxButton(0x55b2d8139f10, name="PathTool") has a conflicting priority falling back on QIcon::FromTheme: "edit-clear-locationbar-rtl" file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/preset-switcher file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-decrease file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-increase file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-increase file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-decrease file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-in file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-left file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotation-reset file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-right file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-out file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-decrease file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-increase file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/edit-clear QFileSystemWatcher::removePaths: list is empty QFileSystemWatcher::removePaths: list is empty KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = krita path = /usr/bin pid = 14532 KCrash: Arguments: /usr/bin/krita KCrash: Attempting to start /usr/lib/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 [1] + 14532 suspended (signal) LC_ALL=C krita <here I must open the systray DrKonqi and click "close" so it resumes with coredump> $ QSocketNotifier: Invalid socket 8 and type 'Read', disabling... QSocketNotifier: Invalid socket 26 and type 'Read', disabling... QSocketNotifier: Invalid socket 25 and type 'Read', disabling... Unable to start Dr. Konqi Re-raising signal for core dump handling. [1] + 14532 segmentation fault (core dumped) LC_ALL=C krita -- gdb gives the following "backtrace" summary [Thread 0x7fff919f5700 (LWP 14657) exited] [Thread 0x7fff8bfff700 (LWP 14658) exited] [Thread 0x7fffe2017700 (LWP 14651) exited] QFileSystemWatcher::removePaths: list is empty QFileSystemWatcher::removePaths: list is empty [Thread 0x7fffbcf19700 (LWP 14655) exited] Thread 1 "krita" received signal SIGSEGV, Segmentation fault. 0x00007fffee4a2e39 in sem_wait@@GLIBC_2.2.5 () from /usr/lib/libpthread.so.0 (gdb) backtrace #0 0x00007fffee4a2e39 in sem_wait@@GLIBC_2.2.5 () at /usr/lib/libpthread.so.0 #1 0x00007fffb55f4f26 in PyThread_acquire_lock_timed () at /usr/lib/libpython3.6m.so.1.0 #2 0x00007fffb56eb0cd in () at /usr/lib/libpython3.6m.so.1.0 #3 0x00007fffb5581d56 in () at /usr/lib/libpython3.6m.so.1.0 #4 0x00007fffb4b24345 in () at /usr/lib/python3.6/site-packages/sip.so #5 0x00007fffb4883ce7 in sipDockWidgetFactoryBase::~sipDockWidgetFactoryBase() () at /usr/lib/krita-python-libs/PyKrita/krita.so #6 0x00007fffb4883d0a in sipDockWidgetFactoryBase::~sipDockWidgetFactoryBase() () at /usr/lib/krita-python-libs/PyKrita/krita.so #7 0x00007ffff19686be in KoDockRegistry::~KoDockRegistry() () at /usr/lib/libkritaflake.so.16 #8 0x00007ffff19687da in () at /usr/lib/libkritaflake.so.16 #9 0x00007ffff479f448 in __run_exit_handlers () at /usr/lib/libc.so.6 #10 0x00007ffff479f49a in () at /usr/lib/libc.so.6 #11 0x00007ffff4788f51 in __libc_start_main () at /usr/lib/libc.so.6 #12 0x0000555555845efa in _start () -- finally, drkonqi will give the following Application: krita (krita), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f8072525800 (LWP 14709))] Thread 3 (Thread 0x7f8037ce6700 (LWP 14716)): #0 0x00007f8068a5d3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007f806f3a65bd in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:864 #2 0x00007f806f3a65bd in std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53 #3 0x00007f80247a2d09 in () at /usr/lib/libQt5WebKit.so.5 #4 0x00007f80247a2e59 in () at /usr/lib/libQt5WebKit.so.5 #5 0x00007f806f3acb9f in std::execute_native_thread_routine(void*) (__p=0x55d05fe996f0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:83 #6 0x00007f8068a5708c in start_thread () at /usr/lib/libpthread.so.0 #7 0x00007f806ee1ae7f in clone () at /usr/lib/libc.so.6 Thread 2 (Thread 0x7f805235d700 (LWP 14712)): #0 0x00007f806ee1097b in poll () at /usr/lib/libc.so.6 #1 0x00007f8066ec3ff3 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007f8066ec410e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007f806f973314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007f806f9153db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007f806f7247ae in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007f8068c82416 in () at /usr/lib/libQt5DBus.so.5 #7 0x00007f806f729b4d in () at /usr/lib/libQt5Core.so.5 #8 0x00007f8068a5708c in start_thread () at /usr/lib/libpthread.so.0 #9 0x00007f806ee1ae7f in clone () at /usr/lib/libc.so.6 Thread 1 (Thread 0x7f8072525800 (LWP 14709)): [KCrash Handler] #6 0x00007f8068a5fe39 in sem_wait@@GLIBC_2.2.5 () at /usr/lib/libpthread.so.0 #7 0x00007f802fb98f26 in PyThread_acquire_lock_timed () at /usr/lib/libpython3.6m.so.1.0 #8 0x00007f802fc8f0cd in () at /usr/lib/libpython3.6m.so.1.0 #9 0x00007f802fb25d56 in () at /usr/lib/libpython3.6m.so.1.0 #10 0x00007f802f108345 in () at /usr/lib/python3.6/site-packages/sip.so #11 0x00007f802ee67ce7 in sipDockWidgetFactoryBase::~sipDockWidgetFactoryBase() () at /usr/lib/krita-python-libs/PyKrita/krita.so #12 0x00007f802ee67d0a in sipDockWidgetFactoryBase::~sipDockWidgetFactoryBase() () at /usr/lib/krita-python-libs/PyKrita/krita.so #13 0x00007f806bf256be in KoDockRegistry::~KoDockRegistry() () at /usr/lib/libkritaflake.so.16 #14 0x00007f806bf257da in () at /usr/lib/libkritaflake.so.16 #15 0x00007f806ed5c448 in __run_exit_handlers () at /usr/lib/libc.so.6 #16 0x00007f806ed5c49a in () at /usr/lib/libc.so.6 #17 0x00007f806ed45f51 in __libc_start_main () at /usr/lib/libc.so.6 #18 0x000055d0544f0efa in _start ()
(In reply to Melvin Vermeeren from comment #2) > I also experience the segfault on exit on Arch Linux, since version 4.0. > Also happened in the week before 4.0 release when I was running it from > master (git). Everything else is working fine. That's bug 391992, unrelated to this.
(In reply to Antonio Rojas from comment #3) > (In reply to Melvin Vermeeren from comment #2) > > I also experience the segfault on exit on Arch Linux, since version 4.0. > > Also happened in the week before 4.0 release when I was running it from > > master (git). Everything else is working fine. > > That's bug 391992, unrelated to this. You are right, after downgrading sip packages the segfault stopped. I had not seen the closed bug. It does seem that the python plugins are unavailable after downgrading, not a problem as I don't need those right now. Thanks for the help!
*** Bug 392326 has been marked as a duplicate of this bug. ***
Since the backtrace is pure-qt, and since it seems to be fixed in a more recent version of Qt, setting to upstream.