Bug 323381

Summary: CRASH when changing Rotation Settings in the Brushwindow
Product: [Applications] krita Reporter: vascoalexander
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: sven.langkamp
Priority: NOR Keywords: drkonqi
Version: 2.8 Pre-Alpha   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Crash-Log: Activating Random Color Mix
Crash-Log: Deactivating Size - Speed

Description vascoalexander 2013-08-11 15:34:21 UTC
Application: krita (2.8 Pre-Alpha)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-28-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
Choose a preset in the Brushwindow with a predefined Brush. Change the setting for the Rotation. Doing this more than once with different saved Presets produces always a Crash, but after a random amout of changes/time.

- Seems only to happen with predefined Brushes.
- Setting the Rotation to Random (Fuzzy) seems to trigger the crash more often than other  settings.

-- Backtrace:
Application: Krita (kdeinit4), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0aa599c7c0 (LWP 3738))]

Thread 9 (Thread 0x7f0a7ca11700 (LWP 3739)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0aa452214b in wait (time=18446744073709551615, this=0x30108a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3010850, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0aa451e067 in QSemaphore::acquire (this=this@entry=0x2fc2c10, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f0a856abd24 in waitForWork (this=0x2fc2c00) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  KisTileDataPooler::run (this=0x2fc2c00) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f0aa4521bec in QThreadPrivate::start (arg=0x2fc2c00) at thread/qthread_unix.cpp:338
#7  0x00007f0a93b8e3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#8  0x00007f0aa0a37f8e in start_thread (arg=0x7f0a7ca11700) at pthread_create.c:311
#9  0x00007f0aa3227e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f0a7c210700 (LWP 3740)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0aa452214b in wait (time=18446744073709551615, this=0x3010c30) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3010be0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0aa451e438 in QSemaphore::tryAcquire (this=0x3010910, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f0a856d97a3 in KisTileDataSwapper::waitForWork (this=this@entry=0x2fc2c38) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f0a856d9a2a in KisTileDataSwapper::run (this=0x2fc2c38) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f0aa4521bec in QThreadPrivate::start (arg=0x2fc2c38) at thread/qthread_unix.cpp:338
#7  0x00007f0a93b8e3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#8  0x00007f0aa0a37f8e in start_thread (arg=0x7f0a7c210700) at pthread_create.c:311
#9  0x00007f0aa3227e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f0a7888a700 (LWP 3745)):
#0  0x00007fff144fa70c in ?? ()
#1  0x00007f0a78889a10 in ?? ()
#2  0x00007fff144faac9 in ?? ()
#3  0x00007f0a78889a60 in ?? ()
#4  0x00000001540013a0 in ?? ()
#5  0x00007f0a540011a8 in ?? ()
#6  0x00007f0a78889c20 in ?? ()
#7  0x00007f0a54000920 in ?? ()
#8  0x00007f0a78889bd0 in ?? ()
#9  0x00007f0aa323cead in clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#10 0x00007f0aa4577a74 in do_gettime (frac=0x7f0a78889a48, sec=0x7f0a78889a40) at tools/qelapsedtimer_unix.cpp:123
#11 qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#12 0x00007f0aa464d9ed in QTimerInfoList::updateCurrentTime (this=0x1, this@entry=0x7f0a540011a8) at kernel/qeventdispatcher_unix.cpp:354
#13 0x00007f0aa464f173 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f0a54000940, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186
#14 0x00007f0aa464fc82 in QEventDispatcherUNIX::processEvents (this=0x7f0a54000920, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#15 0x00007f0aa461d38f in QEventLoop::processEvents (this=this@entry=0x7f0a78889cd0, flags=...) at kernel/qeventloop.cpp:149
#16 0x00007f0aa461d618 in QEventLoop::exec (this=this@entry=0x7f0a78889cd0, flags=...) at kernel/qeventloop.cpp:204
#17 0x00007f0aa451f410 in QThread::exec (this=this@entry=0x3573d70) at thread/qthread.cpp:542
#18 0x00007f0aa45feedf in QInotifyFileSystemWatcherEngine::run (this=0x3573d70) at io/qfilesystemwatcher_inotify.cpp:256
#19 0x00007f0aa4521bec in QThreadPrivate::start (arg=0x3573d70) at thread/qthread_unix.cpp:338
#20 0x00007f0a93b8e3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#21 0x00007f0aa0a37f8e in start_thread (arg=0x7f0a7888a700) at pthread_create.c:311
#22 0x00007f0aa3227e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f0a5efdd700 (LWP 3751)):
#0  0x00007fff144fa991 in ?? ()
#1  0x00007f0a00000000 in ?? ()
#2  0x0000000100000000 in ?? ()
#3  0x00007f0a500011a8 in ?? ()
#4  0x00007f0a5efdcbe0 in ?? ()
#5  0x0000000000000001 in ?? ()
#6  0x00007f0a50000920 in ?? ()
#7  0x00007f0aa323cead in clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#8  0x00007f0aa4577a74 in do_gettime (frac=0x7f0a5efdcb28, sec=0x7f0a5efdcb20) at tools/qelapsedtimer_unix.cpp:123
#9  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#10 0x00007f0aa464d9ed in QTimerInfoList::updateCurrentTime (this=0x1, this@entry=0x7f0a500011a8) at kernel/qeventdispatcher_unix.cpp:354
#11 0x00007f0aa464dd33 in QTimerInfoList::timerWait (this=this@entry=0x7f0a500011a8, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#12 0x00007f0aa464fd04 in QEventDispatcherUNIX::processEvents (this=0x7f0a50000920, flags=...) at kernel/qeventdispatcher_unix.cpp:924
#13 0x00007f0aa461d38f in QEventLoop::processEvents (this=this@entry=0x7f0a5efdccd0, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f0aa461d618 in QEventLoop::exec (this=this@entry=0x7f0a5efdccd0, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007f0aa451f410 in QThread::exec (this=this@entry=0x3832630) at thread/qthread.cpp:542
#16 0x00007f0aa45feedf in QInotifyFileSystemWatcherEngine::run (this=0x3832630) at io/qfilesystemwatcher_inotify.cpp:256
#17 0x00007f0aa4521bec in QThreadPrivate::start (arg=0x3832630) at thread/qthread_unix.cpp:338
#18 0x00007f0a93b8e3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#19 0x00007f0aa0a37f8e in start_thread (arg=0x7f0a5efdd700) at pthread_create.c:311
#20 0x00007f0aa3227e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f0a7a095700 (LWP 3757)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0aa452214b in wait (time=18446744073709551615, this=0x62c09c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x62c0548, mutex=mutex@entry=0x62c0540, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0aa3eb5636 in QFileInfoGatherer::run (this=0x62c0530) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f0aa4521bec in QThreadPrivate::start (arg=0x62c0530) at thread/qthread_unix.cpp:338
#5  0x00007f0a93b8e3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#6  0x00007f0aa0a37f8e in start_thread (arg=0x7f0a7a095700) at pthread_create.c:311
#7  0x00007f0aa3227e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f0a5e61c700 (LWP 3759)):
#0  0x00007f0aa3220233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0aa464a4f3 in qt_safe_select (nfds=41, fdread=0x7f0a30000af8, fdwrite=0x7f0a30000d90, fdexcept=0x7f0a30001028, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f0aa464f499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f0a30000940, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f0aa464fc82 in QEventDispatcherUNIX::processEvents (this=0x7f0a30000920, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f0aa461d38f in QEventLoop::processEvents (this=this@entry=0x7f0a5e61bcd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0aa461d618 in QEventLoop::exec (this=this@entry=0x7f0a5e61bcd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0aa451f410 in QThread::exec (this=this@entry=0x62bf840) at thread/qthread.cpp:542
#7  0x00007f0aa45feedf in QInotifyFileSystemWatcherEngine::run (this=0x62bf840) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f0aa4521bec in QThreadPrivate::start (arg=0x62bf840) at thread/qthread_unix.cpp:338
#9  0x00007f0a93b8e3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#10 0x00007f0aa0a37f8e in start_thread (arg=0x7f0a5e61c700) at pthread_create.c:311
#11 0x00007f0aa3227e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f0a1b1ce700 (LWP 4164)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f0aa45220a7 in wait (time=30000, this=0x680a8c0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x680a838, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0aa451564f in QThreadPoolThread::run (this=0x9da7a70) at concurrent/qthreadpool.cpp:141
#4  0x00007f0aa4521bec in QThreadPrivate::start (arg=0x9da7a70) at thread/qthread_unix.cpp:338
#5  0x00007f0a93b8e3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#6  0x00007f0aa0a37f8e in start_thread (arg=0x7f0a1b1ce700) at pthread_create.c:311
#7  0x00007f0aa3227e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f0a1a9cd700 (LWP 4165)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f0aa45220a7 in wait (time=30000, this=0x680a8c0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x680a838, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0aa451564f in QThreadPoolThread::run (this=0x7f0a080100b0) at concurrent/qthreadpool.cpp:141
#4  0x00007f0aa4521bec in QThreadPrivate::start (arg=0x7f0a080100b0) at thread/qthread_unix.cpp:338
#5  0x00007f0a93b8e3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#6  0x00007f0aa0a37f8e in start_thread (arg=0x7f0a1a9cd700) at pthread_create.c:311
#7  0x00007f0aa3227e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f0aa599c7c0 (LWP 3738)):
[KCrash Handler]
#5  0x00007f0aa3165037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#6  0x00007f0aa3168698 in __GI_abort () at abort.c:90
#7  0x00007f0aa45175c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0xd7054e8 "ASSERT: \"!m_sensorCache.contains(sensor->id())\" in file /build/buildd/krita-testing-2+git20130808+r74237-41/krita/plugins/paintops/libpaintop/kis_multi_sensors_model_p.cpp, line 153") at global/qglobal.cpp:2347
#8  0x00007f0aa4517938 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f0aa4681548 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff144048f8) at global/qglobal.cpp:2393
#9  0x00007f0aa4517ac4 in qFatal (msg=msg@entry=0x7f0aa4681548 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2576
#10 0x00007f0aa4517b06 in qt_assert (assertion=assertion@entry=0x7f0a7dcfbc08 "!m_sensorCache.contains(sensor->id())", file=file@entry=0x7f0a7dcfbb90 "/build/buildd/krita-testing-2+git20130808+r74237-41/krita/plugins/paintops/libpaintop/kis_multi_sensors_model_p.cpp", line=line@entry=153) at global/qglobal.cpp:2021
#11 0x00007f0a7dcd06f3 in KisMultiSensorsModel::pushSensorToCache (this=this@entry=0x6af62d0, sensor=sensor@entry=0xdf09b20) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/plugins/paintops/libpaintop/kis_multi_sensors_model_p.cpp:153
#12 0x00007f0a7dcd110d in setData (value=..., index=..., this=0x6af62d0, role=<optimized out>) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/plugins/paintops/libpaintop/kis_multi_sensors_model_p.cpp:73
#13 KisMultiSensorsModel::setData (this=this@entry=0x6af62d0, index=..., value=..., role=role@entry=10) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/plugins/paintops/libpaintop/kis_multi_sensors_model_p.cpp:57
#14 0x00007f0aa3f70945 in QStyledItemDelegate::editorEvent (this=0x6af9db0, event=0x7fff14405b50, model=0x6af62d0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:758
#15 0x00007f0aa3ed00a7 in QAbstractItemViewPrivate::sendDelegateEvent (this=this@entry=0x6af5e70, index=..., event=event@entry=0x7fff14405b50) at itemviews/qabstractitemview.cpp:4184
#16 0x00007f0aa3ed551a in QAbstractItemView::edit (this=this@entry=0x6af5e40, index=..., trigger=trigger@entry=QAbstractItemView::NoEditTriggers, event=event@entry=0x7fff14405b50) at itemviews/qabstractitemview.cpp:2560
#17 0x00007f0aa3ed0410 in QAbstractItemView::mouseReleaseEvent (this=0x6af5e40, event=0x7fff14405b50) at itemviews/qabstractitemview.cpp:1802
#18 0x00007f0aa3efa99e in QListView::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at itemviews/qlistview.cpp:799
#19 0x00007f0aa3a11a89 in QWidget::event (this=this@entry=0x6af5e40, event=event@entry=0x7fff14405b50) at kernel/qwidget.cpp:8375
#20 0x00007f0aa3dc4316 in QFrame::event (this=0x6af5e40, e=0x7fff14405b50) at widgets/qframe.cpp:557
#21 0x00007f0aa3eda8bb in QAbstractItemView::viewportEvent (this=0x6af5e40, event=0x7fff14405b50) at itemviews/qabstractitemview.cpp:1644
#22 0x00007f0aa461e7a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x220f070, receiver=receiver@entry=0x6af63a0, event=event@entry=0x7fff14405b50) at kernel/qcoreapplication.cpp:1056
#23 0x00007f0aa39c48bc in QApplicationPrivate::notify_helper (this=this@entry=0x220f070, receiver=receiver@entry=0x6af63a0, e=e@entry=0x7fff14405b50) at kernel/qapplication.cpp:4563
#24 0x00007f0aa39c7a33 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x6af63a0, e=e@entry=0x7fff14405b50) at kernel/qapplication.cpp:4110
#25 0x00007f0a8e0abcb8 in KoApplication::notify (this=<optimized out>, receiver=0x6af63a0, event=0x7fff14405b50) at /build/buildd/krita-testing-2+git20130808+r74237-41/libs/main/KoApplication.cpp:556
#26 0x00007f0aa461e63e in QCoreApplication::notifyInternal (this=0x7fff14406600, receiver=receiver@entry=0x6af63a0, event=event@entry=0x7fff14405b50) at kernel/qcoreapplication.cpp:946
#27 0x00007f0aa39ca933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=0x6af63a0, event=event@entry=0x7fff14405b50, alienWidget=0x6af63a0, nativeWidget=nativeWidget@entry=0x6808370, buttonDown=buttonDown@entry=0x7f0aa44a2308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#29 0x00007f0aa3a3fd8c in QETWidget::translateMouseEvent (this=this@entry=0x6808370, event=event@entry=0x7fff144062e0) at kernel/qapplication_x11.cpp:4565
#30 0x00007f0aa3a3eef1 in QApplication::x11ProcessEvent (this=0x7fff14406600, event=event@entry=0x7fff144062e0) at kernel/qapplication_x11.cpp:3746
#31 0x00007f0aa3a6ab39 in QEventDispatcherX11::processEvents (this=0x1f89670, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#32 0x00007f0aa461d38f in QEventLoop::processEvents (this=this@entry=0x7fff14406550, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f0aa461d618 in QEventLoop::exec (this=this@entry=0x7fff14406550, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f0aa4622cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x00007f0aa39c2ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#36 0x00007f0a8e6093f2 in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/main.cc:79
#37 0x00000000004084ea in _start ()

Possible duplicates by query: bug 322940, bug 322814, bug 322707, bug 321758, bug 321616.

Reported using DrKonqi
Comment 1 vascoalexander 2013-08-12 08:26:59 UTC
Created attachment 81665 [details]
Crash-Log: Activating Random Color Mix

Crash after activating Random Color Mix with Pixelbrush and predefined Brushtip.
Comment 2 vascoalexander 2013-08-12 09:03:50 UTC
Created attachment 81666 [details]
Crash-Log: Deactivating Size - Speed

Deactivating Size - Speed Setting with Pixelbrush and Autobrush (Brushtip) of previous saved preset.
Comment 3 Sven Langkamp 2013-08-17 20:01:01 UTC

*** This bug has been marked as a duplicate of bug 322814 ***