https://bugs.kde.org/show_bug.cgi?id=365776
Bug ID: 365776 Summary: Assistant causing a segmentation fault. Product: krita Version: 2.9.7 Platform: Ubuntu Packages OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: krita-bugs-n...@kde.org Reporter: lannadruzet...@gmail.com Application: krita (2.9.7) KDE Platform Version: 4.14.16 Qt Version: 4.8.7 Operating System: Linux 4.4.0-31-generic x86_64 Distribution: Ubuntu 16.04 LTS -- Information about the crash: - What I was doing when the application crashed: Using a simple inking brush and two vanishing points. "Snap Single" is enabled by default, causing the crash. However, if the "Snap single" is disabled, and then enabled, the problem disappears. - Custom settings of the application: Custom grid size, and a large memory limit (14 GiB). Lack of memory is clearly not the problem. The crash can be reproduced every time. -- Backtrace: 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 0x7f12b8125900 (LWP 23149))] Thread 5 (Thread 0x7f128cb3d700 (LWP 23161)): #0 0x00007f12afc1eac9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f12afbda2a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f12afbda4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f12b5ff12ce in QEventDispatcherGlib::processEvents (this=0x7f12680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #4 0x00007f12b5fbf18f in QEventLoop::processEvents (this=this@entry=0x7f128cb3cc80, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f12b5fbf4f5 in QEventLoop::exec (this=this@entry=0x7f128cb3cc80, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f12b5eae549 in QThread::exec (this=this@entry=0x374d670) at thread/qthread.cpp:538 #7 0x00007f12b5f9f223 in QInotifyFileSystemWatcherEngine::run (this=0x374d670) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007f12b5eb0e3c in QThreadPrivate::start (arg=0x374d670) at thread/qthread_unix.cpp:352 #9 0x00007f12b00c16fa in start_thread (arg=0x7f128cb3d700) at pthread_create.c:333 #10 0x00007f12b55dbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7f1285dc9700 (LWP 23160)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f12b5eb13a6 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x374d570) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x374d0d8, mutex=mutex@entry=0x374d0d0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f12b6eef9ac in QFileInfoGatherer::run (this=0x374d0c0) at dialogs/qfileinfogatherer.cpp:214 #4 0x00007f12b5eb0e3c in QThreadPrivate::start (arg=0x374d0c0) at thread/qthread_unix.cpp:352 #5 0x00007f12b00c16fa in start_thread (arg=0x7f1285dc9700) at pthread_create.c:333 #6 0x00007f12b55dbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7f12865ca700 (LWP 23158)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00007f12b5eaf7ea in thread_sleep (ti=ti@entry=0x7f12865c9ce0) at thread/qthread_unix.cpp:495 #2 0x00007f12b5eb019d in QThread::msleep (msecs=msecs@entry=700) at thread/qthread_unix.cpp:521 #3 0x00007f12b2df149a in KisTileDataSwapper::run (this=0x2fb0760) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:97 #4 0x00007f12b5eb0e3c in QThreadPrivate::start (arg=0x2fb0760) at thread/qthread_unix.cpp:352 #5 0x00007f12b00c16fa in start_thread (arg=0x7f12865ca700) at pthread_create.c:333 #6 0x00007f12b55dbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f1287fff700 (LWP 23157)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f12b5eb13a6 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2fb0a60) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x2fb0a10, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f12b5ead0a3 in QSemaphore::acquire (this=this@entry=0x2fb0730, n=n@entry=1) at thread/qsemaphore.cpp:144 #4 0x00007f12b2dd504e in KisTileDataPooler::waitForWork (this=0x2fb0720) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/image/tiles3/kis_tile_data_pooler.cc:165 #5 0x00007f12b2dd5470 in KisTileDataPooler::run (this=0x2fb0720) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/image/tiles3/kis_tile_data_pooler.cc:187 #6 0x00007f12b5eb0e3c in QThreadPrivate::start (arg=0x2fb0720) at thread/qthread_unix.cpp:352 #7 0x00007f12b00c16fa in start_thread (arg=0x7f1287fff700) at pthread_create.c:333 #8 0x00007f12b55dbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f12b8125900 (LWP 23149)): [KCrash Handler] #6 0x00007f12b78e3c9b in KisPaintingAssistantsDecoration::adjustPosition (this=0xabf89c0, point=..., strokeBegin=...) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/kis_painting_assistants_decoration.cpp:120 #7 0x00007f12b79b865c in KisToolFreehand::adjustPosition (this=0xcd40ea0, point=..., strokeBegin=...) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/tool/kis_tool_freehand.cc:372 #8 0x00007f12b79b8726 in KisToolFreehand::tryPickByPaintOp (this=this@entry=0xcd40ea0, event=event@entry=0x7fffa6eabc40, action=action@entry=KisTool::PickFgImage) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/tool/kis_tool_freehand.cc:250 #9 0x00007f12b79b8c06 in KisToolFreehand::beginPrimaryAction (this=0xcd40ea0, event=0x7fffa6eabc40) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/tool/kis_tool_freehand.cc:190 #10 0x00007f12b77a5aee in KisToolProxy::forwardToTool (this=this@entry=0xa5579c0, state=state@entry=KisToolProxy::BEGIN, action=action@entry=KisTool::Primary, event=event@entry=0x7fffa6eac410, docPoint=...) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/canvas/kis_tool_proxy.cpp:161 #11 0x00007f12b77a5e79 in KisToolProxy::forwardEvent (this=0xa5579c0, state=state@entry=KisToolProxy::BEGIN, action=action@entry=KisTool::Primary, event=event@entry=0x7fffa6eac410, originalEvent=originalEvent@entry=0x7fffa6eac410, lastTabletEvent=lastTabletEvent@entry=0x0) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/canvas/kis_tool_proxy.cpp:133 #12 0x00007f12b7a3368d in KisToolInvocationAction::begin (this=this@entry=0x2df3900, shortcut=<optimized out>, event=event@entry=0x7fffa6eac410) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/input/kis_tool_invocation_action.cpp:101 #13 0x00007f12b7a3d6c6 in KisShortcutMatcher::tryRunReadyShortcut (this=this@entry=0x2df34a0, button=<optimized out>, event=event@entry=0x7fffa6eac410) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/input/kis_shortcut_matcher.cpp:397 #14 0x00007f12b7a3d82f in KisShortcutMatcher::buttonPressed (this=this@entry=0x2df34a0, button=Qt::LeftButton, event=event@entry=0x7fffa6eac410) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/input/kis_shortcut_matcher.cpp:169 #15 0x00007f12b7a2fba5 in KisInputManager::eventFilter (this=0x2df32c0, object=<optimized out>, event=0x7fffa6eac410) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/input/kis_input_manager.cpp:648 #16 0x00007f12b5fc0a76 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x2089630, receiver=receiver@entry=0x1027d800, event=event@entry=0x7fffa6eac410) at kernel/qcoreapplication.cpp:1065 #17 0x00007f12b69d0fbc in QApplicationPrivate::notify_helper (this=this@entry=0x2089630, receiver=receiver@entry=0x1027d800, e=e@entry=0x7fffa6eac410) at kernel/qapplication.cpp:4566 #18 0x00007f12b69d80d6 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x1027d800, e=e@entry=0x7fffa6eac410) at kernel/qapplication.cpp:4113 #19 0x00007f12b7a9f945 in KisApplication::notify (this=<optimized out>, receiver=0x1027d800, event=0x7fffa6eac410) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/ui/KisApplication.cpp:543 #20 0x00007f12b5fc090d in QCoreApplication::notifyInternal (this=0x7fffa6eacee0, receiver=receiver@entry=0x1027d800, event=event@entry=0x7fffa6eac410) at kernel/qcoreapplication.cpp:955 #21 0x00007f12b69d76dd in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #22 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1027d800, event=event@entry=0x7fffa6eac410, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x1027d800, buttonDown=buttonDown@entry=0x7f12b74fc368 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178 #23 0x00007f12b6a553f2 in QETWidget::translateMouseEvent (this=this@entry=0x1027d800, event=event@entry=0x7fffa6eac770) at kernel/qapplication_x11.cpp:4638 #24 0x00007f12b6a54c83 in QApplication::x11ProcessEvent (this=0x7fffa6eacee0, event=event@entry=0x7fffa6eac770) at kernel/qapplication_x11.cpp:3626 #25 0x00007f12b6a7e542 in x11EventSourceDispatch (s=0x2085200, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #26 0x00007f12afbda1a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007f12afbda400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #28 0x00007f12afbda4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #29 0x00007f12b5ff12ae in QEventDispatcherGlib::processEvents (this=0x1f82040, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #30 0x00007f12b6a7e616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #31 0x00007f12b5fbf18f in QEventLoop::processEvents (this=this@entry=0x7fffa6eacb50, flags=...) at kernel/qeventloop.cpp:149 #32 0x00007f12b5fbf4f5 in QEventLoop::exec (this=this@entry=0x7fffa6eacb50, flags=...) at kernel/qeventloop.cpp:204 #33 0x00007f12b5fc54b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227 #34 0x00007f12b69cf22c in QApplication::exec () at kernel/qapplication.cpp:3828 #35 0x000000000040296a in main (argc=<optimized out>, argv=<optimized out>) at /build/calligra-ZNsRv2/calligra-2.9.7/krita/main.cc:192 Possible duplicates by query: bug 358906. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.