Bug 343062 - Error when selecting Pattern option in pixel brush settings
Summary: Error when selecting Pattern option in pixel brush settings
Status: RESOLVED DUPLICATE of bug 342749
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-01-19 23:07 UTC by Storm Engineer
Modified: 2015-01-20 10:01 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 Storm Engineer 2015-01-19 23:07:47 UTC
Application: krita (2.9 Beta 2 (git e961a51))
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.18.2-2-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
When trying the new brushes, I selected one of them, and gone to brush engine settings. Upon clicking on the Pattern option, I got the following error:

"Krita has encountered an internal error:

ASSERT (krita): "!m_d->isWritingSettings" in file /home/storm/misc/git-repos/calligra/calligra-2.9/krita/ui/kis_paintop_option.cpp, line 73

Please report a bug to developers!"

Pressing Ignore resumes Krita, and now I can select pattern option without error. Couldn't reproduce it again after pressing Ignore. Also couldn't reproduce with all brushes. The only way I found to reproduce it every time is by using the brush Screentones_Eraser.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Krita (krita), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f414252c7c0 (LWP 11368))]

Thread 4 (Thread 0x7f4117922700 (LWP 11381)):
#0  0x00007f413aaa08cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f413ad2c5b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f413ad283eb in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007f414136d8ce in KisTileDataPooler::waitForWork (this=0x27895c0) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007f414136dc97 in KisTileDataPooler::run (this=0x278991c) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007f413ad2c05f in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f413aa9b314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f4139ada24d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f4117121700 (LWP 11382)):
#0  0x00007f413aaa08cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f413ad2c5b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f413ad28823 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007f41413874e3 in KisTileDataSwapper::waitForWork (this=<optimized out>) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f414138776a in KisTileDataSwapper::run (this=0x27895f8) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f413ad2c05f in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f413aa9b314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f4139ada24d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f412188e700 (LWP 11384)):
#0  0x00007f413aaa08cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f413ad2c5b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f413bd5bbf5 in ?? () from /usr/lib/libQtGui.so.4
#3  0x00007f413ad2c05f in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f413aa9b314 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f4139ada24d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f414252c7c0 (LWP 11368)):
[KCrash Handler]
#5  0x00007f4139a25a97 in raise () from /usr/lib/libc.so.6
#6  0x00007f4139a26e6a in abort () from /usr/lib/libc.so.6
#7  0x00007f413ad215cf in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#8  0x00007f413ad21769 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f413ad22051 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#10 0x00007f41413882f9 in kis_assert_common (assertion=<optimized out>, file=<optimized out>, line=<optimized out>, throwException=<optimized out>) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/image/kis_assert.cpp:76
#11 0x00007f413ae4ad9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0x00007f4141e3170f in KisPatternChooser::resourceSelected (this=<optimized out>, _t1=0x7f411c462760) at /home/storm/misc/packages-build/krita-versions/2.9/krita/ui/kis_pattern_chooser.moc:105
#13 0x00007f413ae4ad9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0x00007f413f5d384f in KoResourceItemChooser::resourceSelected (this=this@entry=0xbe4eaf0, _t1=_t1@entry=0x7f411c462760) at /home/storm/misc/packages-build/krita-versions/2.9/libs/widgets/KoResourceItemChooser.moc:114
#15 0x00007f413f5d3de9 in KoResourceItemChooser::activated (this=0xbe4eaf0) at /home/storm/misc/git-repos/calligra/calligra-2.9/libs/widgets/KoResourceItemChooser.cpp:396
#16 0x00007f413ae4ad9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00007f413f5d76b6 in currentResourceChanged (_t1=..., this=0xbe4fdb0) at /home/storm/misc/packages-build/krita-versions/2.9/libs/widgets/KoResourceItemView.moc:101
#18 KoResourceItemView::selectionChanged (this=0xbe4fdb0, selected=...) at /home/storm/misc/git-repos/calligra/calligra-2.9/libs/widgets/KoResourceItemView.cpp:70
#19 0x00007f413ae4ad9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#20 0x00007f413bdccf77 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQtGui.so.4
#21 0x00007f413bdd289e in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQtGui.so.4
#22 0x00007f413bdd312b in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#23 0x00007f413bdcdf38 in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#24 0x00007f413bdcd272 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#25 0x00007f413bd748c3 in QAbstractItemView::setCurrentIndex(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#26 0x00007f413f5d3cf7 in KoResourceItemChooser::setCurrentResource (this=0xbe4eaf0, resource=0x7f411c462760) at /home/storm/misc/git-repos/calligra/calligra-2.9/libs/widgets/KoResourceItemChooser.cpp:349
#27 0x00007f4141e319de in KisPatternChooser::currentResource (this=0xbe49670) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/ui/widgets/kis_pattern_chooser.cc:79
#28 0x00007f412298b171 in KisTextureOption::writeOptionSetting (this=0xbe4b250, setting=0x7f410042c890) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/plugins/paintops/libpaintop/kis_texture_option.cpp:165
#29 0x00007f4141d31d2e in KisPaintOpOption::startWriteOptionSetting (this=0xbe4b250, setting=setting@entry=0x7f410042c890) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/ui/kis_paintop_option.cpp:90
#30 0x00007f4141d348d2 in KisPaintOpOptionsWidget::writeConfiguration (this=<optimized out>, config=<optimized out>) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/ui/kis_paintop_options_widget.cpp:136
#31 0x00007f4141d22492 in KisPaintopBox::slotConfigurationItemChanged (this=0x2661ce0) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/ui/kis_paintop_box.cc:1000
#32 0x00007f4141c192b5 in KisPaintopBox::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/storm/misc/packages-build/krita-versions/2.9/krita/ui/moc_kis_paintop_box.cpp:135
#33 0x00007f413ae4ad9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#34 0x00007f413ae4ad9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#35 0x00007f4141c1a345 in KisCategorizedListView::sigEntryChecked (this=this@entry=0xbb5c3b0, _t1=...) at /home/storm/misc/packages-build/krita-versions/2.9/krita/ui/moc_kis_categorized_list_view.cpp:135
#36 0x00007f4141e44be4 in KisCategorizedListView::mouseReleaseEvent (this=0xbb5c3b0, event=<optimized out>) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/ui/widgets/kis_categorized_list_view.cpp:136
#37 0x00007f413b8a3c08 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#38 0x00007f413bc63f7e in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#39 0x00007f413bd81023 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#40 0x00007f413ae363f6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#41 0x00007f413b85098c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x00007f413b85756f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#43 0x00007f4141e7cd27 in KisApplication::notify (this=<optimized out>, receiver=0xbb5d0d0, event=0x7ffff5a90110) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/ui/KisApplication.cpp:500
#44 0x00007f413ae3628d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#45 0x00007f413b856bcf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#46 0x00007f413b8cdb3a in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007f413b8cc19c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#48 0x00007f413b8f4c60 in ?? () from /usr/lib/libQtGui.so.4
#49 0x00007f413ae34de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0x00007f413ae35145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#51 0x00007f413ae3a6e9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#52 0x0000000000402881 in main (argc=<optimized out>, argv=<optimized out>) at /home/storm/misc/git-repos/calligra/calligra-2.9/krita/main.cc:170

Reported using DrKonqi
Comment 1 Storm Engineer 2015-01-19 23:09:07 UTC
1. Open Krita.
2. Chose the brush Screentones_Eraser
3. Go into brush engine settings of pixel brush, and click on the Pattern option
Comment 2 Halla Rempt 2015-01-20 10:01:27 UTC

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