https://bugs.kde.org/show_bug.cgi?id=404852
Bug ID: 404852 Summary: Crash upon saving due something with the mirror config. [gdb backtrace] Product: krita Version: git master Platform: Other OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: General Assignee: krita-bugs-n...@kde.org Reporter: griffinval...@gmail.com Target Milestone: --- Got this crash while saving: Thread 1 "krita" received signal SIGSEGV, Segmentation fault. 0x00007ffff66bb109 in KisMirrorAxisConfig::Private::operator== (this=0x5555696a7e70, rhs=...) at /home/wolthera/krita/src/libs/ui/canvas/KisMirrorAxisConfig.cpp:40 40 return mirrorHorizontal == rhs.mirrorHorizontal && (gdb) thread apply all backtrace Thread 642 (Thread 0x7fff7b7fe700 (LWP 13270)): #0 0x00007fffebfbaed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff7b7fdbc0, expected=0, futex_word=0x555573f539a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142 #1 __pthread_cond_wait_common (abstime=0x7fff7b7fdc80, mutex=0x555573f53950, cond=0x555573f53978) at pthread_cond_wait.c:533 #2 __pthread_cond_timedwait (cond=0x555573f53978, mutex=0x555573f53950, abstime=0x7fff7b7fdc80) at pthread_cond_wait.c:667 #3 0x00007ffff3141ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff3141e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff313f5dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007ffff313abc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007fffebfb46db in start_thread (arg=0x7fff7b7fe700) at pthread_create.c:463 #8 0x00007ffff282288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 16 (Thread 0x7fff97fff700 (LWP 31457)): #0 0x00007ffff2815bf9 in __GI___poll (fds=0x7fff8c004ee0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffea6b8539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffea6b864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff337015b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff331164a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff313941a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007ffff313abc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007fffebfb46db in start_thread (arg=0x7fff97fff700) at pthread_create.c:463 #8 0x00007ffff282288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7fff9c84e700 (LWP 31448)): #0 0x00007ffff2815bf9 in __GI___poll (fds=0x7fff900052a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffea6b8539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffea6b864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff337013f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff331164a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff313941a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fffd66e81c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #7 0x00007ffff313abc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fffebfb46db in start_thread (arg=0x7fff9c84e700) at pthread_create.c:463 #9 0x00007ffff282288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 ---Type <return> to continue, or q <return> to quit--- Thread 14 (Thread 0x7fffaae1d700 (LWP 31439)): #0 0x00007ffff2815bf9 in __GI___poll (fds=0x7fff98004990, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffea6b8539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffea6b864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff337013f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff331164a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff313941a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fffd62232e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #7 0x00007ffff313abc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fffebfb46db in start_thread (arg=0x7fffaae1d700) at pthread_create.c:463 #9 0x00007ffff282288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7fffaa61c700 (LWP 31406)): #0 0x00007ffff27e59d0 in __GI___nanosleep (requested_time=0x7fffaa61bd70, remaining=0x7fffaa61bd70) at ../sysdeps/unix/sysv/linux/nanosleep.c:28 #1 0x00007ffff336fa9d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007ffff51690bd in KisTileDataSwapper::run (this= 0x7ffff59064e0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97 #3 0x00007ffff313abc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007fffebfb46db in start_thread (arg=0x7fffaa61c700) at pthread_create.c:463 #5 0x00007ffff282288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7fffb19e4700 (LWP 31396)): #0 0x00007ffff2815bf9 in __GI___poll (fds=0x7fffac004740, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffea6b8539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffea6b864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff337013f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff331164a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff313941a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007ffff313abc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007fffebfb46db in start_thread (arg=0x7fffb19e4700) at pthread_create.c:463 #8 0x00007ffff282288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7fffdd5b5700 (LWP 31162)): #0 0x00007fffebfba9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555557453c28) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x555557453bd8, cond=0x555557453c00) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x555557453c00, mutex=0x555557453bd8) at pthread_cond_wait.c:655 ---Type <return> to continue, or q <return> to quit--- #3 0x00007fffcb2ceb1b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007fffcb2ce847 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007fffebfb46db in start_thread (arg=0x7fffdd5b5700) at pthread_create.c:463 #6 0x00007ffff282288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7fffca14c700 (LWP 31161)): #0 0x00007ffff2815bf9 in __GI___poll (fds=0x7fffca14bc78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffe9454747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007fffe945636a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fffde8fe32a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007ffff313abc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fffebfb46db in start_thread (arg=0x7fffca14c700) at pthread_create.c:463 #6 0x00007ffff282288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fffd2071700 (LWP 31150)): #0 0x00007ffff2815bf9 in __GI___poll (fds=0x7fffcc01da80, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffea6b8539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffea6b864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff337013f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff331164a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff313941a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fffec1e2015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007ffff313abc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fffebfb46db in start_thread (arg=0x7fffd2071700) at pthread_create.c:463 #9 0x00007ffff282288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ffff7f80840 (LWP 30981)): #0 0x00007ffff66bb109 in KisMirrorAxisConfig::Private::operator== (this=0x5555696a7e70, rhs=...) at /home/wolthera/krita/src/libs/ui/canvas/KisMirrorAxisConfig.cpp:40 #1 0x00007ffff66ba279 in KisMirrorAxisConfig::operator== (this=0x555573f2a1b8, rhs=...) at /home/wolthera/krita/src/libs/ui/canvas/KisMirrorAxisConfig.cpp:97 #2 0x00007ffff6b0373f in boost::operators_impl::operator!= (x=..., y=...) at /usr/include/boost/operators.hpp:158 #3 0x00007ffff6b01f90 in KisMirrorAxis::setMirrorAxisConfig (this=0x555574401f20, config=...) at /home/wolthera/krita/src/libs/ui/canvas/kis_mirror_axis.cpp:364 #4 0x00007ffff6b97f4c in KisMirrorManager::setView (this=0x555565da2300, imageView=...) at /home/wolthera/krita/src/libs/ui/kis_mirror_manager.cpp:87 #5 0x00007ffff6b8a67c in KisViewManager::setCurrentView (this=0x555565dd1340, view=0x555570371760) at /home/wolthera/krita/src/libs/ui/KisViewManager.cpp:497 #6 0x00007ffff6b4ccfc in KisMainWindow::setActiveView (this=0x555565e12150, view=0x555570371760) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:1320 #7 0x00007ffff6b53dfd in KisMainWindow::setActiveSubWindow (this=0x555565e12150, window=0x555570c33f60) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:2298 #8 0x00007ffff6b51dca in KisMainWindow::subWindowActivated (this=0x555565e12150) ---Type <return> to continue, or q <return> to quit--- at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:2075 #9 0x00007ffff6b56fe7 in KisMainWindow::qt_static_metacall (_o=0x555565e12150, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fffffffc710) at /home/wolthera/krita/build/libs/ui/kritaui_autogen/include/moc_KisMainWindow.cpp:323 #10 0x00007ffff3342e25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x00007ffff425fbbf in QMdiArea::subWindowActivated(QMdiSubWindow*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #12 0x00007ffff426421f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #13 0x00007ffff4264f28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #14 0x00007ffff4265e05 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007ffff3342e25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007ffff426b43c in QMdiSubWindow::windowStateChanged(QFlags<Qt::WindowState>, QFlags<Qt::WindowState>) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x00007ffff4273233 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007ffff4262120 in QMdiArea::setActiveSubWindow(QMdiSubWindow*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007ffff6b53dea in KisMainWindow::setActiveSubWindow (this=0x555565e12150, window=0x555570c33f60) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:2297 #20 0x00007ffff6b57286 in KisMainWindow::qt_static_metacall (_o=0x555565e12150, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0x7fffffffcc20) at /home/wolthera/krita/build/libs/ui/kritaui_autogen/include/moc_KisMainWindow.cpp:354 #21 0x00007ffff3342e25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007ffff334d942 in QSignalMapper::mapped(QWidget*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #23 0x00007ffff334eeb4 in QSignalMapper::map(QObject*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007ffff3342e25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007ffff41030f2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #26 0x00007ffff410570c in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #27 0x00007ffff427a3ac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #28 0x00007ffff428191b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #29 0x00007ffff4282793 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #30 0x00007ffff4149838 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #31 0x00007ffff4284abb in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #32 0x00007ffff410983c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #33 0x00007ffff4111ca8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #34 0x00007ffff6b07377 in KisApplication::notify (this=0x7fffffffe0b0, receiver=0x55556690c5e0, event=0x7fffffffd500) ---Type <return> to continue, or q <return> to quit--- at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608 #35 0x00007ffff3313328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #36 0x00007ffff411029f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #37 0x00007ffff416479d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #38 0x00007ffff416734a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #39 0x00007ffff410983c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #40 0x00007ffff4110dd0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #41 0x00007ffff6b07377 in KisApplication::notify (this=0x7fffffffe0b0, receiver=0x555567caa000, event=0x7fffffffda20) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608 #42 0x00007ffff3313328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #43 0x00007ffff38db52b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #44 0x00007ffff38dbf74 in QGuiApplicationPrivate::processTabletEvent(QWindowSystemInterfacePrivate::TabletEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #45 0x00007ffff38dc645 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #46 0x00007ffff38b514b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #47 0x00007fffde8ff30a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #48 0x00007fffea6b8387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #49 0x00007fffea6b85c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #50 0x00007fffea6b864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #51 0x00007ffff337013f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #52 0x00007ffff331164a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #53 0x00007ffff331a800 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #54 0x0000555555e92acd in main (argc=1, argv=0x7fffffffe218) at /home/wolthera/krita/src/krita/main.cc:487 (gdb) (gdb) -- You are receiving this mail because: You are watching all bug changes.