Bug 310183 - Krita crashed while painting and switching brushes
Summary: Krita crashed while painting and switching brushes
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.5.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-15 23:26 UTC by Martin Holec
Modified: 2013-03-10 10:26 UTC (History)
2 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 Martin Holec 2012-11-15 23:26:38 UTC
Application: krita (2.5.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.6.6-1.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

Krita crashed while painting and switching brushes.

More text:
 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce lorem sapien, porta egestas feugiat ullamcorper, cursus in augue. Duis id dui leo. Integer eleifend vehicula velit vitae tincidunt. Proin malesuada, dui id molestie pellentesque, lectus tellus facilisis sem, eget consectetur arcu libero et nunc. Donec sit amet turpis vel leo consectetur malesuada. Sed varius velit a quam congue id tempus urna lobortis. Phasellus vel posuere nunc. Aenean venenatis leo eu dolor tincidunt gravida. Nullam placerat mollis orci, vel sagittis justo imperdiet in. Etiam a lectus dui, sed lacinia massa. Quisque facilisis mollis risus nec placerat. Donec dolor nisl, faucibus eget malesuada a, scelerisque at arcu. Integer vel enim id mi aliquet bibendum. Nunc imperdiet faucibus nisi et suscipit. Cras consequat, elit vel iaculis pharetra, nulla purus dictum justo, id semper massa libero ut neque.

-- Backtrace:
Application: Krita (krita), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:218
218	62:	movq	%rax, %r14
[Current thread is 1 (Thread 0x7fc665015880 (LWP 2385))]

Thread 6 (Thread 0x7fc64f2c5700 (LWP 2386)):
[KCrash Handler]
#6  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:164
#7  0x00000030e507bd1b in wait (time=18446744073709551615, this=0x4146650) at thread/qwaitcondition_unix.cpp:86
#8  QWaitCondition::wait (this=<optimized out>, mutex=0x4146600, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#9  0x00000030e5077c37 in QSemaphore::acquire (this=0x4146350, n=1) at thread/qsemaphore.cpp:144
#10 0x00000030ec8b406e in KisTileDataPooler::waitForWork (this=this@entry=0x4146340) at /usr/src/debug/calligra-2.5.2/krita/image/tiles3/kis_tile_data_pooler.cc:162
#11 0x00000030ec8b474b in KisTileDataPooler::run (this=0x4146340) at /usr/src/debug/calligra-2.5.2/krita/image/tiles3/kis_tile_data_pooler.cc:184
#12 0x00000030e507b7bc in QThreadPrivate::start (arg=0x4146340) at thread/qthread_unix.cpp:338
#13 0x0000003e4d207d14 in start_thread (arg=0x7fc64f2c5700) at pthread_create.c:309
#14 0x0000003e4caf167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fc64eac4700 (LWP 2387)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000030e507bd1b in wait (time=18446744073709551615, this=0x41469e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4146990, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000030e5078008 in QSemaphore::tryAcquire (this=0x41466c0, n=1, timeout=<optimized out>) at thread/qsemaphore.cpp:221
#4  0x00000030ec8d1cfa in KisTileDataSwapper::run (this=0x4146378) at /usr/src/debug/calligra-2.5.2/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00000030e507b7bc in QThreadPrivate::start (arg=0x4146378) at thread/qthread_unix.cpp:338
#6  0x0000003e4d207d14 in start_thread (arg=0x7fc64eac4700) at pthread_create.c:309
#7  0x0000003e4caf167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fc644968700 (LWP 2392)):
#0  0x0000003e4caea9e3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000030e51a3403 in qt_safe_select (nfds=28, fdread=0x7fc63c000ac8, fdwrite=0x7fc63c000d60, fdexcept=0x7fc63c000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00000030e51a7dc4 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fc63c000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00000030e51a8952 in QEventDispatcherUNIX::processEvents (this=0x7fc63c0008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00000030e5176cbf in QEventLoop::processEvents (this=this@entry=0x7fc644967cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000030e5176f48 in QEventLoop::exec (this=0x7fc644967cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00000030e50787e0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00000030e51574df in QInotifyFileSystemWatcherEngine::run (this=0x4507690) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00000030e507b7bc in QThreadPrivate::start (arg=0x4507690) at thread/qthread_unix.cpp:338
#9  0x0000003e4d207d14 in start_thread (arg=0x7fc644968700) at pthread_create.c:309
#10 0x0000003e4caf167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fc6363dc700 (LWP 2405)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000030e507bd1b in wait (time=18446744073709551615, this=0x4bd2130) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4bd1cb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000030e72b5296 in QFileInfoGatherer::run (this=0x4bd1ca0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00000030e507b7bc in QThreadPrivate::start (arg=0x4bd1ca0) at thread/qthread_unix.cpp:338
#5  0x0000003e4d207d14 in start_thread (arg=0x7fc6363dc700) at pthread_create.c:309
#6  0x0000003e4caf167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fc64da4e700 (LWP 2406)):
#0  0x0000003e4caea9e3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000030e51a3403 in qt_safe_select (nfds=35, fdread=0x7fc630000ac8, fdwrite=0x7fc630000d60, fdexcept=0x7fc630000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00000030e51a7dc4 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fc630000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00000030e51a8952 in QEventDispatcherUNIX::processEvents (this=0x7fc6300008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00000030e5176cbf in QEventLoop::processEvents (this=this@entry=0x7fc64da4dcd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000030e5176f48 in QEventLoop::exec (this=0x7fc64da4dcd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00000030e50787e0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00000030e51574df in QInotifyFileSystemWatcherEngine::run (this=0x4bd2230) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00000030e507b7bc in QThreadPrivate::start (arg=0x4bd2230) at thread/qthread_unix.cpp:338
#9  0x0000003e4d207d14 in start_thread (arg=0x7fc64da4e700) at pthread_create.c:309
#10 0x0000003e4caf167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fc665015880 (LWP 2385)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:218
#1  0x00000030e507bc77 in wait (time=100, this=0x41464f0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4146478, time=100) at thread/qwaitcondition_unix.cpp:158
#3  0x00000030e507b38c in QThread::wait (this=<optimized out>, time=100) at thread/qthread_unix.cpp:691
#4  0x00000030ec8b3e14 in KisTileDataPooler::terminatePooler (this=0x4146340) at /usr/src/debug/calligra-2.5.2/krita/image/tiles3/kis_tile_data_pooler.cc:119
#5  0x00000030ec8b1f11 in KisTileDataStore::~KisTileDataStore (this=0x4146340, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/krita/image/tiles3/kis_tile_data_store.cc:81
#6  0x00000030ec8b26a7 in destroy () at /usr/src/debug/calligra-2.5.2/krita/image/tiles3/kis_tile_data_store.cc:100
#7  0x0000003e4ca38b71 in __run_exit_handlers (status=1, listp=0x3e4cdb0688, run_list_atexit=run_list_atexit@entry=true) at exit.c:78
#8  0x0000003e4ca38bf5 in __GI_exit (status=<optimized out>) at exit.c:100
#9  0x00000030e6e340d8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:771
#10 0x00000030e8845688 in KApplication::xioErrhandler (this=0x7fff0fba45a0, dpy=0x1af0840) at /usr/src/debug/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:419
#11 0x00000030df8455ce in _XIOError (dpy=dpy@entry=0x1af0840) at XlibInt.c:1618
#12 0x00000030df84306d in _XEventsQueued (dpy=dpy@entry=0x1af0840, mode=mode@entry=2) at xcb_io.c:365
#13 0x00000030df83462b in XEventsQueued (dpy=0x1af0840, mode=2) at Pending.c:43
#14 0x00000030e6e6b302 in QEventDispatcherX11::processEvents (this=0x191b7a0, flags=...) at kernel/qeventdispatcher_x11.cpp:141
#15 0x00000030e5176cbf in QEventLoop::processEvents (this=this@entry=0x7fff0fba44d0, flags=...) at kernel/qeventloop.cpp:149
#16 0x00000030e5176f48 in QEventLoop::exec (this=0x7fff0fba44d0, flags=...) at kernel/qeventloop.cpp:204
#17 0x00000030e517bd38 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#18 0x00000030e9a09912 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/calligra-2.5.2/krita/main.cc:79
#19 0x0000003e4ca21735 in __libc_start_main (main=0x4008f0 <main(int, char**)>, argc=1, ubp_av=0x7fff0fba46b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0fba46a8) at libc-start.c:226
#20 0x0000000000400921 in _start ()

Possible duplicates by query: bug 310176, bug 310120, bug 310060, bug 309514, bug 309153.

Reported using DrKonqi
Comment 1 Sven Langkamp 2012-11-18 15:40:38 UTC
Is this reproduceable?
Comment 2 Martin Holec 2012-11-19 08:41:27 UTC
No, I can't reproduce it again. It seems like some race condition bug.
Comment 3 Halla Rempt 2013-03-10 10:26:36 UTC
Hi Martin,

Thanks for the report -- but I cannot reproduce it either, not with Krita 2.6 or git master. I do know similar issues have been reported for 2.4 and 2.5, but as far as I know, not for 2.6...