Bug 358828 - Krita crashed and quit after tapping lots of little dots with a pixel brush.
Summary: Krita crashed and quit after tapping lots of little dots with a pixel brush.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.9.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-31 16:17 UTC by mattmw
Modified: 2016-03-23 11:24 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 mattmw 2016-01-31 16:17:48 UTC
Application: krita (2.9.7)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 4.2.0-25-generic x86_64
Distribution: Ubuntu 15.10

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

Standard pixel brush: tapping lots of little dots. Wacom tablet with size and pressure.

The crash does not seem to be reproducible.

-- 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 0x7f53861ac840 (LWP 11121))]

Thread 5 (Thread 0x7f535a8af700 (LWP 11131)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5383f2b286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1b54530) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x1b544e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5383f27063 in QSemaphore::acquire (this=this@entry=0x1b54200, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f5380d9d27e in KisTileDataPooler::waitForWork (this=0x1b541f0) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/tiles3/kis_tile_data_pooler.cc:165
#5  0x00007f5380d9d6a0 in KisTileDataPooler::run (this=0x1b541f0) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/tiles3/kis_tile_data_pooler.cc:187
#6  0x00007f5383f2ad1c in QThreadPrivate::start (arg=0x1b541f0) at thread/qthread_unix.cpp:349
#7  0x00007f537e06a6aa in start_thread (arg=0x7f535a8af700) at pthread_create.c:333
#8  0x00007f5383653eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f5365f55700 (LWP 11132)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f5383f2979a in thread_sleep (ti=ti@entry=0x7f5365f54da0) at thread/qthread_unix.cpp:492
#2  0x00007f5383f2a07d in QThread::msleep (msecs=msecs@entry=700) at thread/qthread_unix.cpp:518
#3  0x00007f5380db96ba in KisTileDataSwapper::run (this=0x1b54230) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#4  0x00007f5383f2ad1c in QThreadPrivate::start (arg=0x1b54230) at thread/qthread_unix.cpp:349
#5  0x00007f537e06a6aa in start_thread (arg=0x7f5365f55700) at pthread_create.c:333
#6  0x00007f5383653eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f535b0b0700 (LWP 11134)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5383f2b286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x22d5a60) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x22d55c8, mutex=mutex@entry=0x22d55c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5384f6629c in QFileInfoGatherer::run (this=0x22d55b0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f5383f2ad1c in QThreadPrivate::start (arg=0x22d55b0) at thread/qthread_unix.cpp:349
#5  0x00007f537e06a6aa in start_thread (arg=0x7f535b0b0700) at pthread_create.c:333
#6  0x00007f5383653eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f535a0ae700 (LWP 11135)):
#0  0x00007f538364449d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f537afeaf75 in ?? () from /usr/lib/nvidia-352/tls/libnvidia-tls.so.352.63
#2  0x00007f537dbc84e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f537db84cd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f537db85190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f537db852fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f538406b20e in QEventDispatcherGlib::processEvents (this=0x7f5344003740, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#7  0x00007f53840390d1 in QEventLoop::processEvents (this=this@entry=0x7f535a0add40, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f5384039445 in QEventLoop::exec (this=this@entry=0x7f535a0add40, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f5383f284f9 in QThread::exec (this=this@entry=0x22d5b60) at thread/qthread.cpp:538
#10 0x00007f5384019133 in QInotifyFileSystemWatcherEngine::run (this=0x22d5b60) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f5383f2ad1c in QThreadPrivate::start (arg=0x22d5b60) at thread/qthread_unix.cpp:349
#12 0x00007f537e06a6aa in start_thread (arg=0x7f535a0ae700) at pthread_create.c:333
#13 0x00007f5383653eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f53861ac840 (LWP 11121)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f5380e9ee1f in KisSharedPtr<KisNode>::deref (sp=0x7ffd064b2070, t=<optimized out>) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/kis_shared_ptr.h:218
#8  KisSharedPtr<KisNode>::deref (this=0x7ffd064b2070) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/kis_shared_ptr.h:225
#9  KisSharedPtr<KisNode>::~KisSharedPtr (this=0x7ffd064b2070, __in_chrg=<optimized out>) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/kis_shared_ptr.h:109
#10 KisNodeProgressProxy::setRange (this=<optimized out>, _minimum=<optimized out>, _maximum=<optimized out>) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/kis_node_progress_proxy.cpp:86
#11 0x00007f5380e9f07c in KisBusyProgressIndicator::Private::stopProgressReport (this=<optimized out>) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/kis_busy_progress_indicator.cpp:42
#12 KisBusyProgressIndicator::~KisBusyProgressIndicator (this=0x278d18f0, __in_chrg=<optimized out>) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/kis_busy_progress_indicator.cpp:59
#13 0x00007f5380e9f0e9 in KisBusyProgressIndicator::~KisBusyProgressIndicator (this=0x278d18f0, __in_chrg=<optimized out>) at /build/calligra-ld8dSW/calligra-2.9.7/krita/image/kis_busy_progress_indicator.cpp:60
#14 0x00007f5384054d28 in QObject::event (this=0x278d18f0, e=<optimized out>) at kernel/qobject.cpp:1203
#15 0x00007f5384a49cdc in QApplicationPrivate::notify_helper (this=this@entry=0xd4a110, receiver=receiver@entry=0x278d18f0, e=e@entry=0x7f53180021e0) at kernel/qapplication.cpp:4570
#16 0x00007f5384a50c16 in QApplication::notify (this=0x7ffd064b2a40, receiver=receiver@entry=0x278d18f0, e=e@entry=0x7f53180021e0) at kernel/qapplication.cpp:4356
#17 0x00007f5385b15af5 in KisApplication::notify (this=<optimized out>, receiver=0x278d18f0, event=0x7f53180021e0) at /build/calligra-ld8dSW/calligra-2.9.7/krita/ui/KisApplication.cpp:543
#18 0x00007f538403a85d in QCoreApplication::notifyInternal (this=0x7ffd064b2a40, receiver=receiver@entry=0x278d18f0, event=event@entry=0x7f53180021e0) at kernel/qcoreapplication.cpp:955
#19 0x00007f538403e316 in QCoreApplication::sendEvent (event=0x7f53180021e0, receiver=0x278d18f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xb93610) at kernel/qcoreapplication.cpp:1579
#21 0x00007f538403e5f3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#22 0x00007f538406b07e in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#23 postEventSourceDispatch (s=0xd49fe0) at kernel/qeventdispatcher_glib.cpp:300
#24 0x00007f537db84ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f537db85250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f537db852fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f538406b1ee in QEventDispatcherGlib::processEvents (this=0xb94f90, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#28 0x00007f5384af4c26 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f53840390d1 in QEventLoop::processEvents (this=this@entry=0x7ffd064b26b0, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f5384039445 in QEventLoop::exec (this=this@entry=0x7ffd064b26b0, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f538403f429 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#32 0x00007f5384a47f2c in QApplication::exec () at kernel/qapplication.cpp:3828
#33 0x000000000040298a in main (argc=<optimized out>, argv=<optimized out>) at /build/calligra-ld8dSW/calligra-2.9.7/krita/main.cc:192

Reported using DrKonqi
Comment 1 Halla Rempt 2016-03-23 11:24:14 UTC
Hm, this is the progress indicator getting confused.  I've seen that before. But that code has been rewritten for 3.0, so it should be safe now :-)