https://bugs.kde.org/show_bug.cgi?id=368992
Bug ID: 368992 Summary: Crash when accidentally drawing over the ruler (GDB backtrace) Product: krita Version: git master Platform: Other OS: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general Assignee: krita-bugs-n...@kde.org Reporter: griffinval...@gmail.com I was drawing, accidentally drawed over the ruler-canvas decoration. My guess is that Krita tried to produce a guide but then got deeply confused. Thread 1 "krita" received signal SIGSEGV, Segmentation fault. KUndo2Command::timedMergeWith (this=0x16e7a480, other=0xe500000000) at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:349 349 if(other->timedId() == this->timedId() && other->timedId()!=-1 ) (gdb) thread apply all backtrace Thread 463 (Thread 0x7fff817c8700 (LWP 13253)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00007ffff5531738 in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff552d467 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff5530c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007fffeec836fa in start_thread (arg=0x7fff817c8700) at pthread_create.c:333 #5 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 462 (Thread 0x7fff7f365700 (LWP 13252)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00007ffff5531738 in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff552d467 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff5530c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007fffeec836fa in start_thread (arg=0x7fff7f365700) at pthread_create.c:333 #5 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 15 (Thread 0x7fff997cd700 (LWP 10018)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff55317eb in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff6707aa2 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #3 0x00007ffff5530c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007fffeec836fa in start_thread (arg=0x7fff997cd700) at pthread_create.c:333 #5 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 14 (Thread 0x7fff9a115700 (LWP 10017)): #0 0x00007ffff4bf18dd in nanosleep () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007ffff55d8f7d in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff5530138 in QThread::msleep(unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff2e395ca in KisTileDataSwapper::run (this=0x7ffff32f2780 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/krita/kde/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97 #4 0x00007ffff5530c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #5 0x00007fffeec836fa in start_thread (arg=0x7fff9a115700) at pthread_create.c:333 #6 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 13 (Thread 0x7fff9a916700 (LWP 10016)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff55317eb in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff552ae8b in QSemaphore::acquire(int) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff2e1f79e in KisTileDataPooler::waitForWork (this=0x7ffff32f2740 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/krita/kde/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165 #4 0x00007ffff2e1ff5a in KisTileDataPooler::run (this=0x7ffff32f2740 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/krita/kde/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187 #5 0x00007ffff5530c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #6 0x00007fffeec836fa in start_thread (arg=0x7fff9a916700) at pthread_create.c:333 #7 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 6 (Thread 0x7fffd882a700 (LWP 10008)): #0 0x00007ffff4c20e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee35839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #2 0x00007fffee3584ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff57424e7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007ffff56f0efa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #5 0x00007ffff552c38c in QThread::exec() () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #6 0x00007fffeeeaecd5 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5DBus.so.5 #7 0x00007ffff5530c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #8 0x00007fffeec836fa in start_thread (arg=0x7fffd882a700) at pthread_create.c:333 #9 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 5 (Thread 0x7fffd9245700 (LWP 10007)): #0 0x00007ffff4c20e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee35839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee358722 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fffde6a3916 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007fffee37ebc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fffeec836fa in start_thread (arg=0x7fffd9245700) at pthread_create.c:333 #6 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7fffd9a46700 (LWP 10006)): #0 0x00007ffff4c20e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee35839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee3584ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fffee3584e9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fffee37ebc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fffeec836fa in start_thread (arg=0x7fffd9a46700) at pthread_create.c:333 #6 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7fffda247700 (LWP 10005)): #0 0x00007ffff4c20e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee35839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee3584ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fffda24f28d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so #4 0x00007fffee37ebc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fffeec836fa in start_thread (arg=0x7fffda247700) at pthread_create.c:333 #6 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7fffe4ab0700 (LWP 10004)): #0 0x00007ffff4c20e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007ffff354ec62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007ffff35508d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fffe595fdc9 in ?? () from /home/krita/Qt/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5 #4 0x00007ffff5530c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #5 0x00007fffeec836fa in start_thread (arg=0x7fffe4ab0700) at pthread_create.c:333 #6 0x00007ffff4c2cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7ffff7f0f8c0 (LWP 10003)): #0 KUndo2Command::timedMergeWith (this=0x16e7a480, other=0xe500000000) at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:349 #1 0x00007ffff154e662 in KUndo2QStack::push (this=0x15c64e10, cmd=cmd@entry=0x11f6a610) at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:760 #2 0x00007ffff78d1e45 in KisDocument::addCommand (this=this@entry=0xf74d560, command=command@entry=0x11f6a610) at /home/krita/kde/src/krita/libs/ui/KisDocument.cpp:2033 ---Type <return> to continue, or q <return> to quit--- #3 0x00007ffff75ea856 in KisGuidesManager::setGuidesConfigImpl (this=0xe03b0d8, value=..., emitModified=emitModified@entry=true) at /home/krita/kde/src/krita/libs/ui/canvas/kis_guides_manager.cpp:134 #4 0x00007ffff75ec320 in KisGuidesManager::Private::mouseMoveHandler (this=0xdf20c40, docPos=..., modifiers=...) at /home/krita/kde/src/krita/libs/ui/canvas/kis_guides_manager.cpp:478 #5 0x00007ffff75ecb23 in KisGuidesManager::eventFilter (this=0xe03b0d8, obj=0xf7da040, event=0x7fffffffca00) at /home/krita/kde/src/krita/libs/ui/canvas/kis_guides_manager.cpp:583 #6 0x00007ffff7862d03 in KisInputManager::eventFilter (this=0xe03b3a0, object=<optimized out>, event=0x7fffffffca00) at /home/krita/kde/src/krita/libs/ui/input/kis_input_manager.cpp:194 #7 0x00007ffff56f2bf3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #8 0x00007ffff64e6025 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #9 0x00007ffff64eb8a9 in QApplication::notify(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #10 0x00007ffff78c8e67 in KisApplication::notify (this=<optimized out>, receiver=0xf7da040, event=0x7fffffffca00) at /home/krita/kde/src/krita/libs/ui/KisApplication.cpp:511 #11 0x00007ffff56f2e80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #12 0x00007ffff797e06e in QCoreApplication::sendEvent (event=0x7fffffffca00, receiver=0xf7da040) at /home/krita/Qt/5.6/gcc_64/include/QtCore/qcoreapplication.h:227 #13 processTabletEvent (e=0x112d27f0) at /home/krita/kde/src/krita/libs/ui/input/wintab/qxcbconnection.cpp:650 #14 0x00007ffff797858e in QXcbConnection::xi2ReportTabletEvent (this=this@entry=0x1117440, tabletData=..., event=event@entry=0x195691e0) at /home/krita/kde/src/krita/libs/ui/input/wintab/qxcbconnection_xi2.cpp:891 #15 0x00007ffff7978909 in QXcbConnection::xi2HandleTabletEvent (this=this@entry=0x1117440, event=event@entry=0x195691e0, tabletData=0x10decb8, window=window@entry=0xee68de0) at /home/krita/kde/src/krita/libs/ui/input/wintab/qxcbconnection_xi2.cpp:725 #16 0x00007ffff797be6e in QXcbConnection::xi2HandleEvent (this=0x1117440, event=0x195691e0) at /home/krita/kde/src/krita/libs/ui/input/wintab/qxcbconnection_xi2.cpp:506 #17 0x00007ffff797f656 in KisXi2EventFilter::nativeEventFilter (this=0x7ffff7dd63f0 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>, eventType=..., message=0x7fffe0004290, result=<optimized out>) at /home/krita/kde/src/krita/libs/ui/input/wintab/kis_xi2_event_filter.cpp:115 #18 0x00007ffff56f0160 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #19 0x00007fffe595e094 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /home/krita/Qt/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5 #20 0x00007fffe59601d3 in QXcbConnection::processXcbEvents() () from /home/krita/Qt/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5 #21 0x00007ffff571d2ca in QObject::event(QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #22 0x00007ffff64e604c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #23 0x00007ffff64ea488 in QApplication::notify(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #24 0x00007ffff78c8e67 in KisApplication::notify (this=<optimized out>, receiver=0xbaea60, event=0x7fffe0004c70) at /home/krita/kde/src/krita/libs/ui/KisApplication.cpp:511 #25 0x00007ffff56f2e80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #26 0x00007ffff56f5673 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #27 0x00007ffff57420f3 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #28 0x00007fffee3581a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #29 0x00007fffee358400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #30 0x00007fffee3584ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #31 0x00007ffff57424e7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #32 0x00007ffff56f0efa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #33 0x00007ffff56f8d9d in QCoreApplication::exec() () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #34 0x0000000000404cf6 in main (argc=1, argv=<optimized out>) at /home/krita/kde/src/krita/krita/main.cc:234 (gdb) (gdb) q Reproducible: Didn't try -- You are receiving this mail because: You are watching all bug changes.