Bug 324587 - CRASH changing the Pattern while using a Preset with Colorsource: Pattern
Summary: CRASH changing the Pattern while using a Preset with Colorsource: Pattern
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8 Pre-Alpha
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
: 326554 328267 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-06 13:34 UTC by vascoalexander
Modified: 2013-12-02 05:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vascoalexander 2013-09-06 13:34:45 UTC
Application: krita (2.8 Pre-Alpha)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-30-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:

Pick a Preset with Colorsource: Pattern
Change the used Pattern in the Main UI

The crash can be reproduced sometimes.

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

Thread 9 (Thread 0x7f9cac211700 (LWP 7968)):
#0  0x00007f9cd01c2ca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f9cd3ca914b in wait (time=18446744073709551615, this=0x17ae5a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1760b30, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9cd3ca5067 in QSemaphore::acquire (this=this@entry=0x1760920, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f9cb4ec65c4 in waitForWork (this=0x1760910) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  KisTileDataPooler::run (this=0x1760910) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f9cd3ca8bec in QThreadPrivate::start (arg=0x1760910) at thread/qthread_unix.cpp:338
#7  0x00007f9cc33141b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#8  0x00007f9cd01bef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f9cd29aee1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 8 (Thread 0x7f9caba10700 (LWP 7969)):
#0  0x00007f9cd01c2ca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f9cd3ca914b in wait (time=18446744073709551615, this=0x17ae930) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17ae8e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9cd3ca5438 in QSemaphore::tryAcquire (this=0x17ae610, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f9cb4ef4043 in KisTileDataSwapper::waitForWork (this=this@entry=0x1760948) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f9cb4ef42ca in KisTileDataSwapper::run (this=0x1760948) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f9cd3ca8bec in QThreadPrivate::start (arg=0x1760948) at thread/qthread_unix.cpp:338
#7  0x00007f9cc33141b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#8  0x00007f9cd01bef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f9cd29aee1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 7 (Thread 0x7f9ca9893700 (LWP 7974)):
#0  0x00007f9cd29a7233 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f9cd3dd14f3 in qt_safe_select (nfds=28, fdread=0x7f9c956816a8, fdwrite=0x7f9c95681940, fdexcept=0x7f9c95681bd8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f9cd3dd6499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f9c956814f0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f9cd3dd6c82 in QEventDispatcherUNIX::processEvents (this=0x7f9c94788c60, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f9cd3da438f in QEventLoop::processEvents (this=this@entry=0x7f9ca9892cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9cd3da4618 in QEventLoop::exec (this=this@entry=0x7f9ca9892cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9cd3ca6410 in QThread::exec (this=this@entry=0x1cafec0) at thread/qthread.cpp:542
#7  0x00007f9cd3d85edf in QInotifyFileSystemWatcherEngine::run (this=0x1cafec0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f9cd3ca8bec in QThreadPrivate::start (arg=0x1cafec0) at thread/qthread_unix.cpp:338
#9  0x00007f9cc33141b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#10 0x00007f9cd01bef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f9cd29aee1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 6 (Thread 0x7f9ca9092700 (LWP 7980)):
#0  0x00007f9cd29a7233 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f9cd3dd14f3 in qt_safe_select (nfds=33, fdread=0x7f9c98000ae8, fdwrite=0x7f9c98000d80, fdexcept=0x7f9c98001018, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f9cd3dd6499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f9c98000930, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f9cd3dd6c82 in QEventDispatcherUNIX::processEvents (this=0x7f9c98000910, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f9cd3da438f in QEventLoop::processEvents (this=this@entry=0x7f9ca9091cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9cd3da4618 in QEventLoop::exec (this=this@entry=0x7f9ca9091cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9cd3ca6410 in QThread::exec (this=this@entry=0x1ae8660) at thread/qthread.cpp:542
#7  0x00007f9cd3d85edf in QInotifyFileSystemWatcherEngine::run (this=0x1ae8660) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f9cd3ca8bec in QThreadPrivate::start (arg=0x1ae8660) at thread/qthread_unix.cpp:338
#9  0x00007f9cc33141b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#10 0x00007f9cd01bef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f9cd29aee1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7f9ca8891700 (LWP 7989)):
#0  0x00007f9cd01c2ca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f9cd3ca914b in wait (time=18446744073709551615, this=0x360d510) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x360d098, mutex=mutex@entry=0x360d090, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9cd363c636 in QFileInfoGatherer::run (this=0x360d080) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f9cd3ca8bec in QThreadPrivate::start (arg=0x360d080) at thread/qthread_unix.cpp:338
#5  0x00007f9cc33141b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#6  0x00007f9cd01bef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f9cd29aee1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f9c8a6e0700 (LWP 7990)):
#0  0x00007f9cd29a7233 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f9cd3dd14f3 in qt_safe_select (nfds=36, fdread=0x7f9c781b5028, fdwrite=0x7f9c781b52c0, fdexcept=0x7f9c781b5558, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f9cd3dd6499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f9c781b4e70, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f9cd3dd6c82 in QEventDispatcherUNIX::processEvents (this=0x7f9c78000910, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f9cd3da438f in QEventLoop::processEvents (this=this@entry=0x7f9c8a6dfcd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9cd3da4618 in QEventLoop::exec (this=this@entry=0x7f9c8a6dfcd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9cd3ca6410 in QThread::exec (this=this@entry=0x360c390) at thread/qthread.cpp:542
#7  0x00007f9cd3d85edf in QInotifyFileSystemWatcherEngine::run (this=0x360c390) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f9cd3ca8bec in QThreadPrivate::start (arg=0x360c390) at thread/qthread_unix.cpp:338
#9  0x00007f9cc33141b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#10 0x00007f9cd01bef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f9cd29aee1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f9c89edf700 (LWP 8103)):
#0  0x00007f9cd01c305e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f9cd3ca90a7 in wait (time=30000, this=0x24cd440) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3ff33e8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9cd3c9c64f in QThreadPoolThread::run (this=0x44bc600) at concurrent/qthreadpool.cpp:141
#4  0x00007f9cd3ca8bec in QThreadPrivate::start (arg=0x44bc600) at thread/qthread_unix.cpp:338
#5  0x00007f9cd01bef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f9cd29aee1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f9c72b1b700 (LWP 8104)):
#0  0x00007f9cd01c305e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f9cd3ca90a7 in wait (time=30000, this=0x24cd440) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3ff33e8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9cd3c9c64f in QThreadPoolThread::run (this=0x7f9c74113cb0) at concurrent/qthreadpool.cpp:141
#4  0x00007f9cd3ca8bec in QThreadPrivate::start (arg=0x7f9c74113cb0) at thread/qthread_unix.cpp:338
#5  0x00007f9cd01bef8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f9cd29aee1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f9cd512b7c0 (LWP 7967)):
[KCrash Handler]
#5  findNode (ahp=0x0, akey=<synthetic pointer>, this=0x20) at /usr/include/qt4/QtCore/qhash.h:884
#6  contains (akey=<synthetic pointer>, this=0x20) at /usr/include/qt4/QtCore/qhash.h:874
#7  KoResourceManager::setResource (this=0x20, key=key@entry=6002, value=...) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/flake/KoResourceManager_p.cpp:32
#8  0x00007f9cbc908534 in KoCanvasResourceManager::setResource (this=0x38f3940, key=key@entry=6002, value=...) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/flake/KoCanvasResourceManager.cpp:56
#9  0x00007f9cb588654a in KisCanvasResourceProvider::slotPatternActivated (this=this@entry=0x38c5750, res=<optimized out>) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/ui/kis_canvas_resource_provider.cpp:177
#10 0x00007f9cb588d415 in KisCanvasResourceProvider::qt_static_metacall (_o=0x38c5750, _c=<optimized out>, _id=<optimized out>, _a=0x7fff5dc11b40) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_canvas_resource_provider.moc:118
#11 0x00007f9cd3dba0ef in QMetaObject::activate (sender=sender@entry=0x36df190, m=m@entry=0x7f9cb5de0a40 <KisPatternChooser::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5dc11b40) at kernel/qobject.cpp:3539
#12 0x00007f9cb5a8579f in KisPatternChooser::resourceSelected (this=this@entry=0x36df190, _t1=0x7f9c9806c460) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:106
#13 0x00007f9cb5a85812 in qt_static_metacall (_a=0x7fff5dc11cf0, _id=0, _o=0x36df190, _c=<optimized out>) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:55
#14 KisPatternChooser::qt_static_metacall (_o=0x36df190, _c=<optimized out>, _id=0, _a=0x7fff5dc11cf0) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:49
#15 0x00007f9cd3dba0ef in QMetaObject::activate (sender=sender@entry=0x36e5490, m=m@entry=0x7f9cbd513a00 <KoResourceItemChooser::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5dc11cf0) at kernel/qobject.cpp:3539
#16 0x00007f9cbd2cc87f in KoResourceItemChooser::resourceSelected (this=this@entry=0x36e5490, _t1=_t1@entry=0x7f9c9806c460) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemChooser.moc:112
#17 0x00007f9cbd2cce79 in KoResourceItemChooser::activated (this=0x36e5490) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/widgets/KoResourceItemChooser.cpp:368
#18 0x00007f9cd3dba0ef in QMetaObject::activate (sender=sender@entry=0x36e68a0, m=m@entry=0x7f9cbd5142c0 <KoResourceItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5dc11e60) at kernel/qobject.cpp:3539
#19 0x00007f9cbd2d0acb in currentResourceChanged (_t1=..., this=0x36e68a0) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemView.moc:102
#20 KoResourceItemView::selectionChanged (this=0x36e68a0, selected=...) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/widgets/KoResourceItemView.cpp:88
#21 0x00007f9cd3dba0ef in QMetaObject::activate (sender=sender@entry=0x36f8120, m=m@entry=0x7f9cd3c0a940 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5dc11fc0) at kernel/qobject.cpp:3539
#22 0x00007f9cd36aa547 in QItemSelectionModel::selectionChanged (this=this@entry=0x36f8120, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#23 0x00007f9cd36ac6fd in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x36f8120, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#24 0x00007f9cd36ae68c in QItemSelectionModel::select (this=0x36f8120, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#25 0x00007f9cd36ac05b in QItemSelectionModel::select (this=this@entry=0x36f8120, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#26 0x00007f9cd36aa791 in QItemSelectionModel::setCurrentIndex (this=0x36f8120, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1174
#27 0x00007f9cd3654b6e in QAbstractItemView::setCurrentIndex (this=0x36e68a0, index=...) at itemviews/qabstractitemview.cpp:1022
#28 0x00007f9cbd2cdddd in KoResourceItemChooser::setCurrentResource (this=0x36e5490, resource=0x7f9c9806c460) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/widgets/KoResourceItemChooser.cpp:322
#29 0x00007f9cb5a852f9 in KisPatternChooser::setCurrentPattern (this=<optimized out>, resource=<optimized out>) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/ui/widgets/kis_pattern_chooser.cc:85
#30 0x00007f9ca0611c81 in patternChanged (pattern=<optimized out>, this=0x36df970) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/plugins/extensions/dockers/patterndocker/patterndocker_dock.cpp:69
#31 qt_static_metacall (_a=0x7fff5dc12500, _o=0x36df970, _c=<optimized out>, _id=<optimized out>) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/plugins/extensions/dockers/patterndocker/patterndocker_dock.moc:50
#32 PatternDockerDock::qt_static_metacall (_o=0x36df970, _c=<optimized out>, _id=0, _a=0x7fff5dc12500) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/plugins/extensions/dockers/patterndocker/patterndocker_dock.moc:44
#33 0x00007f9cd3dba0ef in QMetaObject::activate (sender=sender@entry=0x61a53d0, m=m@entry=0x7f9cb5dd3720 <KisCanvasResourceProvider::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff5dc12500) at kernel/qobject.cpp:3539
#34 0x00007f9cb58864e2 in KisCanvasResourceProvider::sigPatternChanged (this=this@entry=0x61a53d0, _t1=0x7f9c9806c460) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_canvas_resource_provider.moc:197
#35 0x00007f9cb588b89d in KisCanvasResourceProvider::slotCanvasResourceChanged (this=this@entry=0x61a53d0, key=6002, res=...) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/ui/kis_canvas_resource_provider.cpp:313
#36 0x00007f9cb588d5b2 in KisCanvasResourceProvider::qt_static_metacall (_o=0x61a53d0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff5dc128d0) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_canvas_resource_provider.moc:127
#37 0x00007f9cd3dba0ef in QMetaObject::activate (sender=0x24b95d0, m=m@entry=0x7f9cbcc4fcc0 <KoCanvasResourceManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5dc128d0) at kernel/qobject.cpp:3539
#38 0x00007f9cbc9084a3 in KoCanvasResourceManager::canvasResourceChanged (this=<optimized out>, _t1=_t1@entry=6002, _t2=...) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/libs/flake/KoCanvasResourceManager.moc:113
#39 0x00007f9cbc908553 in KoCanvasResourceManager::setResource (this=<optimized out>, key=key@entry=6002, value=...) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/flake/KoCanvasResourceManager.cpp:57
#40 0x00007f9cb588654a in KisCanvasResourceProvider::slotPatternActivated (this=this@entry=0x61a53d0, res=<optimized out>) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/ui/kis_canvas_resource_provider.cpp:177
#41 0x00007f9cb588d415 in KisCanvasResourceProvider::qt_static_metacall (_o=0x61a53d0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff5dc12ad0) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_canvas_resource_provider.moc:118
#42 0x00007f9cd3dba0ef in QMetaObject::activate (sender=sender@entry=0x603dca0, m=m@entry=0x7f9cb5de0a40 <KisPatternChooser::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5dc12ad0) at kernel/qobject.cpp:3539
#43 0x00007f9cb5a8579f in KisPatternChooser::resourceSelected (this=this@entry=0x603dca0, _t1=0x7f9c9806c460) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:106
#44 0x00007f9cb5a85812 in qt_static_metacall (_a=0x7fff5dc12c80, _id=0, _o=0x603dca0, _c=<optimized out>) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:55
#45 KisPatternChooser::qt_static_metacall (_o=0x603dca0, _c=<optimized out>, _id=0, _a=0x7fff5dc12c80) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:49
#46 0x00007f9cd3dba0ef in QMetaObject::activate (sender=sender@entry=0x1fda5a0, m=m@entry=0x7f9cbd513a00 <KoResourceItemChooser::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5dc12c80) at kernel/qobject.cpp:3539
#47 0x00007f9cbd2cc87f in KoResourceItemChooser::resourceSelected (this=this@entry=0x1fda5a0, _t1=_t1@entry=0x7f9c9806c460) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemChooser.moc:112
#48 0x00007f9cbd2cce79 in KoResourceItemChooser::activated (this=0x1fda5a0) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/widgets/KoResourceItemChooser.cpp:368
#49 0x00007f9cd3dba0ef in QMetaObject::activate (sender=sender@entry=0x42e29f0, m=m@entry=0x7f9cbd5142c0 <KoResourceItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5dc12df0) at kernel/qobject.cpp:3539
#50 0x00007f9cbd2d0acb in currentResourceChanged (_t1=..., this=0x42e29f0) at /build/buildd/krita-testing-2+git20130831+r74356-40/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemView.moc:102
#51 KoResourceItemView::selectionChanged (this=0x42e29f0, selected=...) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/widgets/KoResourceItemView.cpp:88
#52 0x00007f9cd3dba0ef in QMetaObject::activate (sender=sender@entry=0x5ecfb20, m=m@entry=0x7f9cd3c0a940 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5dc12f50) at kernel/qobject.cpp:3539
#53 0x00007f9cd36aa547 in QItemSelectionModel::selectionChanged (this=this@entry=0x5ecfb20, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#54 0x00007f9cd36ac6fd in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x5ecfb20, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#55 0x00007f9cd36ae68c in QItemSelectionModel::select (this=0x5ecfb20, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#56 0x00007f9cd368861d in QTableView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtableview.cpp:1861
#57 0x00007f9cd365ae71 in QAbstractItemView::mousePressEvent (this=0x42e29f0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1690
#58 0x00007f9cd3198a70 in QWidget::event (this=this@entry=0x42e29f0, event=event@entry=0x7fff5dc13fb0) at kernel/qwidget.cpp:8371
#59 0x00007f9cd354b316 in QFrame::event (this=0x42e29f0, e=0x7fff5dc13fb0) at widgets/qframe.cpp:557
#60 0x00007f9cd36618bb in QAbstractItemView::viewportEvent (this=this@entry=0x42e29f0, event=event@entry=0x7fff5dc13fb0) at itemviews/qabstractitemview.cpp:1644
#61 0x00007f9cbd2d0d38 in KoResourceItemView::viewportEvent (this=0x42e29f0, event=0x7fff5dc13fb0) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/widgets/KoResourceItemView.cpp:78
#62 0x00007f9cd3da57a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0xa8df70, receiver=receiver@entry=0x3c10a90, event=event@entry=0x7fff5dc13fb0) at kernel/qcoreapplication.cpp:1056
#63 0x00007f9cd314b8bc in QApplicationPrivate::notify_helper (this=this@entry=0xa8df70, receiver=receiver@entry=0x3c10a90, e=e@entry=0x7fff5dc13fb0) at kernel/qapplication.cpp:4563
#64 0x00007f9cd314ea33 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x3c10a90, e=e@entry=0x7fff5dc13fb0) at kernel/qapplication.cpp:4110
#65 0x00007f9cbd821b28 in KoApplication::notify (this=<optimized out>, receiver=0x3c10a90, event=0x7fff5dc13fb0) at /build/buildd/krita-testing-2+git20130831+r74356-40/libs/main/KoApplication.cpp:556
#66 0x00007f9cd3da563e in QCoreApplication::notifyInternal (this=0x7fff5dc14a60, receiver=receiver@entry=0x3c10a90, event=event@entry=0x7fff5dc13fb0) at kernel/qcoreapplication.cpp:946
#67 0x00007f9cd3151933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#68 QApplicationPrivate::sendMouseEvent (receiver=0x3c10a90, event=event@entry=0x7fff5dc13fb0, alienWidget=0x3c10a90, nativeWidget=nativeWidget@entry=0x4452a00, buttonDown=buttonDown@entry=0x7f9cd3c29308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#69 0x00007f9cd31c6d8c in QETWidget::translateMouseEvent (this=this@entry=0x4452a00, event=event@entry=0x7fff5dc14740) at kernel/qapplication_x11.cpp:4565
#70 0x00007f9cd31c5ef1 in QApplication::x11ProcessEvent (this=0x7fff5dc14a60, event=event@entry=0x7fff5dc14740) at kernel/qapplication_x11.cpp:3746
#71 0x00007f9cd31f1b39 in QEventDispatcherX11::processEvents (this=0x808670, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#72 0x00007f9cd3da438f in QEventLoop::processEvents (this=this@entry=0x7fff5dc149b0, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007f9cd3da4618 in QEventLoop::exec (this=this@entry=0x7fff5dc149b0, flags=...) at kernel/qeventloop.cpp:204
#74 0x00007f9cd3da9cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#75 0x00007f9cd3149ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#76 0x00007f9cbdd7e3f2 in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20130831+r74356-40/krita/main.cc:79
#77 0x00000000004084ea in _start ()

Possible duplicates by query: bug 320094.

Reported using DrKonqi
Comment 1 Halla Rempt 2013-09-28 10:23:38 UTC
I cannot figure out how to reproduce this issue. The backtrace is strange, too: KisCanvasResourceProvider::slotPatternActivated seems to occur twice.
Comment 2 vascoalexander 2013-09-28 11:13:18 UTC
(In reply to comment #1)
> I cannot figure out how to reproduce this issue. The backtrace is strange,
> too: KisCanvasResourceProvider::slotPatternActivated seems to occur twice.

Uhmm.. this is a while ago. I have made presets with the setting Color - Source - Pattern checked. All works normal when i selected one of these presets - using the pattern that was active. But sometimes (3-4 times at all) it crashed when i tried to change the pattern from the pattern docker in the moment of the mouse event (click on pattern -> crash). I have tried to reproduce it and figure out what circumstance triggers the crash, but it was so rare and random, that it was to time intensive to investigate. I thought the backtrace could reveal something..

From my side this was no big issue and this report could be closed. If the crash occures again, i can report it.
Comment 3 Halla Rempt 2013-09-28 11:27:50 UTC
The backtrace is quite puzzling :-) There must be some memory corruption going on :-(
Comment 4 Halla Rempt 2013-09-29 09:49:48 UTC
Git commit ed2311e4e24a7acbc596fd3639a1df86e12d6f75 by Boudewijn Rempt.
Committed on 29/09/2013 at 09:49.
Pushed by rempt into branch 'master'.

Do not try to set a resource if the selection changes on deletion

With some versions of Qt, deleting a list widget changes the selection,
and that can cause a crash if we're trying to set the newly selected
item on an already delete KoCanvasResourceProvider.

So, make sure that the KoResourceItemChooser and KoResourceItemView disconnect
themselves completely on teardown.

M  +1    -0    libs/widgets/KoResourceItemChooser.cpp
M  +1    -1    libs/widgets/KoResourceItemView.h

http://commits.kde.org/calligra/ed2311e4e24a7acbc596fd3639a1df86e12d6f75
Comment 5 Jekyll Wu 2013-10-24 11:07:03 UTC
*** Bug 326554 has been marked as a duplicate of this bug. ***
Comment 6 Dmitry Kazakov 2013-12-02 05:34:19 UTC
*** Bug 328267 has been marked as a duplicate of this bug. ***