Bug 358906 - Crash when drawing with spline assist
Summary: Crash when drawing with spline assist
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 2.9.8
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-02 09:41 UTC by rebuilderster
Modified: 2016-02-02 09:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rebuilderster 2016-02-02 09:41:39 UTC
Application: krita (2.9.8)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-38-generic x86_64
Distribution: Linux Mint 17.2 Rafaela

-- Information about the crash:
- What I was doing when the application crashed:
I was drawing with a basic brush tool on a layer, having just set a spline guide, turned off smoothing, and set "assist" on. Krita crashed when I started drawing.

-- 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 0x7f0e61952800 (LWP 29468))]

Thread 5 (Thread 0x7f0e302e6700 (LWP 29494)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0e5f503816 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f0e5f4ff95b in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f0e5d6d42d0 in waitForWork (this=0x3796c00) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/image/tiles3/kis_tile_data_pooler.cc:165
#4  KisTileDataPooler::run (this=0x3796c00) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007f0e5f50332f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f0e594d7182 in start_thread (arg=0x7f0e302e6700) at pthread_create.c:312
#7  0x00007f0e5eca347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f0e3aaf1700 (LWP 29495)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0e5f503816 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f0e5f4ffd63 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f0e5d6fd083 in KisTileDataSwapper::waitForWork (this=<optimized out>) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f0e5d6fd2ba in KisTileDataSwapper::run (this=0x3796c40) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f0e5f50332f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f0e594d7182 in start_thread (arg=0x7f0e3aaf1700) at pthread_create.c:312
#7  0x00007f0e5eca347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f0e2eae3700 (LWP 29496)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0e5f503816 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f0e604d4e16 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007f0e5f50332f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f0e594d7182 in start_thread (arg=0x7f0e2eae3700) at pthread_create.c:312
#5  0x00007f0e5eca347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f0e2f2e4700 (LWP 29497)):
#0  0x00007f0e5903961a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0e59039979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0e58ff787b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0e58ff7f52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0e58ff80ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0e5f6327be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f0e5f6040af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f0e5f6043a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f0e5f500c5f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f0e5f5e5823 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f0e5f50332f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f0e594d7182 in start_thread (arg=0x7f0e2f2e4700) at pthread_create.c:312
#12 0x00007f0e5eca347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f0e61952800 (LWP 29468)):
[KCrash Handler]
#5  0x00007f0e60f6e9df in KisPaintingAssistantsDecoration::adjustPosition (this=0xbf9ac30, point=..., strokeBegin=...) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/kis_painting_assistants_decoration.cpp:121
#6  0x00007f0e6106f091 in KisToolFreehand::adjustPosition (this=this@entry=0xc398e30, point=..., strokeBegin=...) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/tool/kis_tool_freehand.cc:373
#7  0x00007f0e61072c66 in KisToolFreehand::tryPickByPaintOp (this=this@entry=0xc398e30, event=event@entry=0x7ffec6346db0, action=action@entry=KisTool::PickFgImage) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/tool/kis_tool_freehand.cc:250
#8  0x00007f0e610743b6 in KisToolFreehand::beginPrimaryAction (this=0xc398e30, event=0x7ffec6346db0) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/tool/kis_tool_freehand.cc:190
#9  0x00007f0e60dc6779 in KisToolProxy::forwardToTool (this=this@entry=0x445e730, state=state@entry=KisToolProxy::BEGIN, action=action@entry=KisTool::Primary, event=event@entry=0x67949e0, docPoint=...) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/canvas/kis_tool_proxy.cpp:161
#10 0x00007f0e60dc6b10 in KisToolProxy::forwardEvent (this=0x445e730, state=state@entry=KisToolProxy::BEGIN, action=action@entry=KisTool::Primary, event=event@entry=0x7ffec6347230, originalEvent=originalEvent@entry=0x7ffec6347230, lastTabletEvent=lastTabletEvent@entry=0x67949e0) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/canvas/kis_tool_proxy.cpp:119
#11 0x00007f0e6112c036 in KisToolInvocationAction::begin (this=this@entry=0x36538d0, shortcut=<optimized out>, event=event@entry=0x7ffec6347230) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/input/kis_tool_invocation_action.cpp:103
#12 0x00007f0e61139451 in KisShortcutMatcher::tryRunReadyShortcut (this=this@entry=0x36533e0, button=<optimized out>, event=event@entry=0x7ffec6347230) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/input/kis_shortcut_matcher.cpp:397
#13 0x00007f0e6113a396 in KisShortcutMatcher::buttonPressed (this=0x36533e0, button=Qt::LeftButton, event=event@entry=0x7ffec6347230) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/input/kis_shortcut_matcher.cpp:169
#14 0x00007f0e61127b7e in KisInputManager::eventFilter (this=0x3653310, object=<optimized out>, event=0x7ffec6347230) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/input/kis_input_manager.cpp:648
#15 0x00007f0e61126f53 in KisInputManager::Private::handleKisTabletEvent (this=0x36533c0, object=object@entry=0xc263820, tevent=tevent@entry=0x7ffec63477e0) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/input/kis_input_manager.cpp:900
#16 0x00007f0e61127742 in KisInputManager::eventFilter (this=0x3653310, object=<optimized out>, event=0x7ffec63477e0) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/input/kis_input_manager.cpp:831
#17 0x00007f0e5f605646 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f0e5fff7e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f0e5fffe4a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007f0e611981e7 in KisApplication::notify (this=<optimized out>, receiver=0xc263820, event=0x7ffec63477e0) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/KisApplication.cpp:543
#21 0x00007f0e5f6054dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007f0e61233c28 in sendEvent (event=0x7ffec63477e0, receiver=0xc263820) at /usr/include/qt4/QtCore/qcoreapplication.h:231
#23 translateXinputEvent (ev=ev@entry=0x7ffec6347b80, tablet=tablet@entry=0x2d09aa0, defaultWidget=<optimized out>) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/input/wintab/kis_tablet_support_x11.cpp:732
#24 0x00007f0e61234a46 in KisTabletSupportX11::eventFilter (ev=0x7ffec6347b80) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/ui/input/wintab/kis_tablet_support_x11.cpp:802
#25 0x00007f0e60060575 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007f0e60070e60 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007f0e60099b32 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f0e58ff7e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f0e58ff8048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f0e58ff80ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f0e5f6327be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007f0e60099be6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f0e5f6040af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007f0e5f6043a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007f0e5f609b79 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x0000000000402820 in main (argc=<optimized out>, argv=<optimized out>) at /build/krita-2.9-nPBHT4/krita-2.9-2+git20151022+r38/krita/main.cc:204

Reported using DrKonqi
Comment 1 rebuilderster 2016-02-02 09:48:12 UTC
On further exploration, it seems this is because the file I was working on had parallel ruler assistants that had been saved with the file when I last worked on it. Removing the assistants and setting new ones results in Krita no longer crashing.
Comment 2 wolthera 2016-02-02 09:50:41 UTC
This bug has been fixed in 2.9.10. Try to see if you can update using the krita lime repo, or by building using the cat-guide. Last option is to wait for 3.0 to come out as that has portable linux packages.(pre-alpha is already out on the website under the new posts)