Bug 360786 - Krita randomly crashes when applying a transformation
Summary: Krita randomly crashes when applying a transformation
Status: RESOLVED DUPLICATE of bug 362881
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: git master (please specify the git hash!)
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-20 19:19 UTC by Raghavendra kamath
Modified: 2016-05-12 09: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 Raghavendra kamath 2016-03-20 19:19:49 UTC
Sometimes randomly krita crashes when apply a transformation most probably rotation. this has happened 5 times out of 10 for me . Fortunately this time the bug report wizard popped up so i could get a back trace from it , I don't know it it will help

Reproducible: Always

Steps to Reproduce:
1.try to transform something with ctrl + t
2.hit enter to apply the transformation


Actual Results:  
krita crashes

Expected Results:  
the transformation should be applied as normal

I will try to keep an eye on this bug and provide more information regarding this for now this si the back trace I got from the bug report wizard


Application: krita (krita), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb39e4e3840 (LWP 16886))]

Thread 13 (Thread 0x7fb36ffd3700 (LWP 16889)):
#0  0x00007fb393d4a03f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2ec4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e2785b in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#3  0x00007fb39d2359de in KisTileDataPooler::waitForWork (this=0x7fb39d69e260 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165
#4  0x00007fb39d236101 in KisTileDataPooler::run (this=0x7fb39d69e260 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7fb36f7d2700 (LWP 16890)):
#0  0x00007fb393d4a03f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2ec4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e27b16 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQt5Core.so.5
#3  0x00007fb39d2507a3 in KisTileDataSwapper::waitForWork (this=<optimized out>) at /home/raghu/kf5/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007fb39d25097a in KisTileDataSwapper::run (this=0x7fb39d69e2a0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/raghu/kf5/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7fb36efd1700 (LWP 16892)):
#0  0x00007fb393d4a03f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2ec4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb398b34bca in ?? () from /usr/lib/libQt5Widgets.so.5
#3  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7fb2e244b700 (LWP 20979)):
#0  0x00007fb393d4a3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2eb86 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e2a623 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fb327fff700 (LWP 20980)):
#0  0x00007fb393d4a3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2eb86 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e2a623 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7fb2e344d700 (LWP 20981)):
#0  0x00007fb393d4a3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2eb86 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e2a623 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fb2e2c4c700 (LWP 20982)):
#0  0x00007fb39723e27b in __lll_lock_wait_private () from /usr/lib/libc.so.6
#1  0x00007fb3971bf950 in _int_free () from /usr/lib/libc.so.6
#2  0x00007fb39d3fda6c in KisStrokeJob::~KisStrokeJob (this=0x10b88e00, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:40
#3  KisStrokeJob::~KisStrokeJob (this=0x10b88e00, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:41
#4  KisUpdateJobItem::run (this=0xa110c80) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_update_job_item.h:67
#5  0x00007fb397e2a493 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fb326ffd700 (LWP 20983)):
#0  0x00007fb393d4a3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2eb86 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e2a623 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fb32e1fe700 (LWP 20984)):
#0  0x00007fb393d4a3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2eb86 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e2a623 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fb3277fe700 (LWP 20985)):
#0  0x00007fb393d4a3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2eb86 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e2a623 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fb3257fb700 (LWP 20986)):
#0  0x00007fb393d4a3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2eb86 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e2a623 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fb324ffa700 (LWP 20987)):
#0  0x00007fb393d4a3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb397e2eb86 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fb397e2a623 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fb397e2d9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fb393d44424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fb397231cbd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fb39e4e3840 (LWP 16886)):
[KCrash Handler]
#5  0x00007fb39717d2a8 in raise () from /usr/lib/libc.so.6
#6  0x00007fb39717e72a in abort () from /usr/lib/libc.so.6
#7  0x00007fb3971b9369 in __libc_message () from /usr/lib/libc.so.6
#8  0x00007fb3971bed96 in malloc_printerr () from /usr/lib/libc.so.6
#9  0x00007fb3971c1344 in _int_malloc () from /usr/lib/libc.so.6
#10 0x00007fb3971c2924 in malloc () from /usr/lib/libc.so.6
#11 0x00007fb397a93de8 in operator new (sz=40) at /build/gcc/src/gcc-5-20160209/libstdc++-v3/libsupc++/new_op.cc:50
#12 0x00007fb397ea752e in QMapDataBase::createData() () from /usr/lib/libQt5Core.so.5
#13 0x00007fb39895a3b0 in ?? () from /usr/lib/libQt5Widgets.so.5
#14 0x00007fb3989570f1 in ?? () from /usr/lib/libQt5Widgets.so.5
#15 0x00007fb39890815f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007fb39dfc7287 in KisApplication::notify (this=<optimized out>, receiver=0x989d5b0, event=0x7ffccd9a26d0) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:514
#17 0x00007fb39800e9ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#18 0x00007fb398960af3 in ?? () from /usr/lib/libQt5Widgets.so.5
#19 0x00007fb398900fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007fb3989064a6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007fb39dfc7287 in KisApplication::notify (this=<optimized out>, receiver=0x9eca5f0, event=0x7ffccd9a26d0) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:514
#22 0x00007fb39800e9ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#23 0x00007fb39834be4e in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#24 0x00007fb398350ed5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#25 0x00007fb398336318 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#26 0x00007fb38d0135f0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#27 0x00007fb392b01d87 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007fb392b01fe0 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007fb392b0208c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007fb39806533f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007fb39800c37a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007fb39801433c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#33 0x0000000000402f1b in main (argc=1, argv=0x7ffccd9a2cd8) at /home/raghu/kf5/src/krita/krita/main.cc:178
Comment 1 Halla Rempt 2016-03-21 13:59:25 UTC
From the backtrace, it actually looks like something is running out of memory inside Qt:



Thread 1 (Thread 0x7fb39e4e3840 (LWP 16886)):
[KCrash Handler]
#5  0x00007fb39717d2a8 in raise () from /usr/lib/libc.so.6
#6  0x00007fb39717e72a in abort () from /usr/lib/libc.so.6
#7  0x00007fb3971b9369 in __libc_message () from /usr/lib/libc.so.6
#8  0x00007fb3971bed96 in malloc_printerr () from /usr/lib/libc.so.6
#9  0x00007fb3971c1344 in _int_malloc () from /usr/lib/libc.so.6
#10 0x00007fb3971c2924 in malloc () from /usr/lib/libc.so.6
#11 0x00007fb397a93de8 in operator new (sz=40) at
/build/gcc/src/gcc-5-20160209/libstdc++-v3/libsupc++/new_op.cc:50
#12 0x00007fb397ea752e in QMapDataBase::createData() () from
/usr/lib/libQt5Core.so.5
#13 0x00007fb39895a3b0 in ?? () from /usr/lib/libQt5Widgets.so.5
#14 0x00007fb3989570f1 in ?? () from /usr/lib/libQt5Widgets.so.5
#15 0x00007fb39890815f in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#16 0x00007fb39dfc7287 in KisApplication::notify (this=<optimized out>,
receiver=0x989d5b0, event=0x7ffccd9a26d0) at
/home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:514
Comment 2 Raghavendra kamath 2016-04-05 15:09:30 UTC
another backtrace from today's crash ( adding it just in case it shows something new)


Application: krita (krita), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f708690c840 (LWP 24983))]

Thread 18 (Thread 0x7f70651f4700 (LWP 24985)):
#0  0x00007f707e39cc3d in poll () from /usr/lib/libc.so.6
#1  0x00007f70797caf7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f70797cb08c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f707f1cfcab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f707f1786fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f707efa1fe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f707a5e5a55 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 17 (Thread 0x7f7050179700 (LWP 24986)):
#0  0x00007f707ac9c03f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707efa7c8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707efa0c3b in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#3  0x00007f708553038e in KisTileDataPooler::waitForWork (this=0x7f70859aec00 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165
#4  0x00007f7085530a8a in KisTileDataPooler::run (this=0x7f70859aec00 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 16 (Thread 0x7f704f978700 (LWP 24987)):
#0  0x00007f707e37561d in nanosleep () from /usr/lib/libc.so.6
#1  0x00007f707f05308d in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007f707efa61f8 in QThread::msleep(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007f70855495ea in KisTileDataSwapper::run (this=0x7f70859aec40 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/raghu/kf5/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#4  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 15 (Thread 0x7f704f177700 (LWP 24988)):
#0  0x00007f707ac9c03f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707efa7c8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f70800ce3a2 in ?? () from /usr/lib/libQt5Widgets.so.5
#3  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 14 (Thread 0x7f6f967e2700 (LWP 29251)):
#0  0x00007f707ac9ee1b in __lll_lock_wait_private () from /usr/lib/libpthread.so.0
#1  0x00007f707ac9568b in __deallocate_stack () from /usr/lib/libpthread.so.0
#2  0x00007f707ac9669f in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7f7014ffb700 (LWP 29252)):
#0  0x00007f707e3b227b in __lll_lock_wait_private () from /usr/lib/libc.so.6
#1  0x00007f707e333950 in _int_free () from /usr/lib/libc.so.6
#2  0x00007f70867ed4b7 in _dl_deallocate_tls () from /lib64/ld-linux-x86-64.so.2
#3  0x00007f707ac95626 in __free_stacks () from /usr/lib/libpthread.so.0
#4  0x00007f707ac9577a in __deallocate_stack () from /usr/lib/libpthread.so.0
#5  0x00007f707ac9669f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7f6f95fe1700 (LWP 29253)):
#0  0x00007f707ac9ee1b in __lll_lock_wait_private () from /usr/lib/libpthread.so.0
#1  0x00007f707ac9568b in __deallocate_stack () from /usr/lib/libpthread.so.0
#2  0x00007f707ac9669f in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7f6f8bffe700 (LWP 29254)):
#0  0x00007f707ac9ee1b in __lll_lock_wait_private () from /usr/lib/libpthread.so.0
#1  0x00007f707ac9568b in __deallocate_stack () from /usr/lib/libpthread.so.0
#2  0x00007f707ac9669f in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7f6f957e0700 (LWP 29257)):
#0  0x00007f707ac9ee1b in __lll_lock_wait_private () from /usr/lib/libpthread.so.0
#1  0x00007f707ac9568b in __deallocate_stack () from /usr/lib/libpthread.so.0
#2  0x00007f707ac9669f in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7f70254f5700 (LWP 29304)):
#0  0x00007f707ac9c3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707efa7bc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707efa32dc in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7f70167fe700 (LWP 29305)):
#0  0x00007f707ac9c3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707efa7bc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707efa32dc in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f70157fc700 (LWP 29306)):
#0  0x00007f707ac9c3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707efa7bc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707efa32dc in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f6f9ffe7700 (LWP 29307)):
#0  0x00007f707ac9c3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707efa7bc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707efa32dc in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f7025cf6700 (LWP 29308)):
#0  0x00007f707ac9c3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707efa7bc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707efa32dc in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f7024cf4700 (LWP 29309)):
#0  0x00007f707ac9c3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707efa7bc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707efa32dc in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f7017fff700 (LWP 29310)):
#0  0x00007f707ac9c3e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707efa7bc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707efa32dc in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f7015ffd700 (LWP 29311)):
#0  0x00007f707e3b227b in __lll_lock_wait_private () from /usr/lib/libc.so.6
#1  0x00007f707e333950 in _int_free () from /usr/lib/libc.so.6
#2  0x00007f7085707a3c in KisStrokeJob::~KisStrokeJob (this=0x1d26fe90, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:40
#3  KisStrokeJob::~KisStrokeJob (this=0x1d26fe90, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:41
#4  KisUpdateJobItem::run (this=0x9e14770) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_update_job_item.h:67
#5  0x00007f707efa30d3 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f707efa6de8 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f707ac96424 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f707e3a5cbd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f708690c840 (LWP 24983)):
[KCrash Handler]
#5  0x00007f707e2f12a8 in raise () from /usr/lib/libc.so.6
#6  0x00007f707e2f272a in abort () from /usr/lib/libc.so.6
#7  0x00007f707e32d369 in __libc_message () from /usr/lib/libc.so.6
#8  0x00007f707e332d96 in malloc_printerr () from /usr/lib/libc.so.6
#9  0x00007f707e335344 in _int_malloc () from /usr/lib/libc.so.6
#10 0x00007f707e336924 in malloc () from /usr/lib/libc.so.6
#11 0x00007f707ec07de8 in operator new (sz=20) at /build/gcc/src/gcc-5-20160209/libstdc++-v3/libsupc++/new_op.cc:50
#12 0x00007f707f6e1b06 in QKeySequence::setKey(int, int) () from /usr/lib/libQt5Gui.so.5
#13 0x00007f707f6ee9b0 in QShortcutMap::createNewSequences(QKeyEvent*, QVector<QKeySequence>&, int) () from /usr/lib/libQt5Gui.so.5
#14 0x00007f707f6eef68 in QShortcutMap::find(QKeyEvent*, int) () from /usr/lib/libQt5Gui.so.5
#15 0x00007f707f6ef57e in QShortcutMap::nextState(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#16 0x00007f707f6ef8b1 in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#17 0x00007f707f6a8716 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib/libQt5Gui.so.5
#18 0x00007f707f6c0a14 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#19 0x00007f707f6c5b65 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#20 0x00007f707f6a2d6b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#21 0x00007f70739a9d10 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#22 0x00007f70797cad87 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007f70797cafe0 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00007f70797cb08c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007f707f1cfc8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#26 0x00007f707f1786fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#27 0x00007f707f180b7c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#28 0x0000000000402fdb in main (argc=1, argv=0x7ffd25e0f638) at /home/raghu/kf5/src/krita/krita/main.cc:177
Comment 3 Dmitry Kazakov 2016-04-11 16:20:34 UTC
The crash looks really weird. What size of the image you have?
Comment 4 Raghavendra kamath 2016-04-14 18:46:47 UTC
I am closing this as i haven't encountered this in new git builds.

If i encounter them in future i'll make new bug reports for now the issue seems to be resolved
Comment 5 Raghavendra kamath 2016-05-12 09:09:38 UTC
I am encountering this bug again hence i am opening this , krita now randomly  crashes close to 4-5 times while transforming

below is the bug trace generated by bug report wizard

Application: krita (krita), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcdf1bb8840 (LWP 1680))]

Thread 8 (Thread 0x7fcdd01ae700 (LWP 1682)):
#0  0x00007fcde9514abd in poll () from /usr/lib/libc.so.6
#1  0x00007fcde49400fc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fcde494020c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fcdea34f6eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fcdea2f746a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fcdea11e2f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fcde575ca65 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007fcdea1231d8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fcde5e0e474 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fcde951dacd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fcdba9a4700 (LWP 1683)):
#0  0x00007fcde5e1409f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fcdea12408b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fcdea11cd53 in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#3  0x00007fcdf07486cd in KisTileDataPooler::waitForWork (this=0x7fcdf0c23b20 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165
#4  KisTileDataPooler::run (this=0x7fcdf0c23b20 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007fcdea1231d8 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007fcde5e0e474 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007fcde951dacd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fcdba1a3700 (LWP 1684)):
#0  0x00007fcde94ed77d in nanosleep () from /usr/lib/libc.so.6
#1  0x00007fcdea1cee0d in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007fcdea122598 in QThread::msleep(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007fcdf0763eea in KisTileDataSwapper::run (this=0x7fcdf0c23b60 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/raghu/kf5/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#4  0x00007fcdea1231d8 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fcde5e0e474 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fcde951dacd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fcdb99a2700 (LWP 1686)):
#0  0x00007fcde5e1409f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fcdea12408b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fcdeb253139 in ?? () from /usr/lib/libQt5Widgets.so.5
#3  0x00007fcdea1231d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fcde5e0e474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fcde951dacd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fcda8ffd700 (LWP 1777)):
[KCrash Handler]
#5  0x00007fcde94aa9a8 in malloc_consolidate () from /usr/lib/libc.so.6
#6  0x00007fcde94ab650 in _int_free () from /usr/lib/libc.so.6
#7  0x00007fcdf09759dc in KisStrokeJob::~KisStrokeJob (this=0x12ef91d0, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:40
#8  KisStrokeJob::~KisStrokeJob (this=0x12ef91d0, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:41
#9  KisUpdateJobItem::run (this=0xa9ce980) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_update_job_item.h:67
#10 0x00007fcdea11f3ef in ?? () from /usr/lib/libQt5Core.so.5
#11 0x00007fcdea1231d8 in ?? () from /usr/lib/libQt5Core.so.5
#12 0x00007fcde5e0e474 in start_thread () from /usr/lib/libpthread.so.0
#13 0x00007fcde951dacd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fcd28ffc700 (LWP 1778)):
#0  0x00007fcde952a0ab in __lll_lock_wait_private () from /usr/lib/libc.so.6
#1  0x00007fcde94ab3a0 in _int_free () from /usr/lib/libc.so.6
#2  0x00007fcdf09759dc in KisStrokeJob::~KisStrokeJob (this=0x12efa3a0, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:40
#3  KisStrokeJob::~KisStrokeJob (this=0x12efa3a0, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:41
#4  KisUpdateJobItem::run (this=0xa9c3080) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_update_job_item.h:67
#5  0x00007fcdea11f3ef in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007fcdea1231d8 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007fcde5e0e474 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007fcde951dacd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fcddcefc700 (LWP 1780)):
#0  0x00007fcde5e14448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fcdea123fc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fcdea11f644 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fcdea1231d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fcde5e0e474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fcde951dacd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fcdf1bb8840 (LWP 1680)):
#0  0x00007fcde952a0ab in __lll_lock_wait_private () from /usr/lib/libc.so.6
#1  0x00007fcde94aeeaa in calloc () from /usr/lib/libc.so.6
#2  0x00007fcddcf1a9c8 in xkb_state_new () from /usr/lib/libxkbcommon.so.0
#3  0x00007fcddea1b74a in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fcddea180d1 in QXcbIntegration::possibleKeys(QKeyEvent const*) const () from /usr/lib/libQt5XcbQpa.so.5
#5  0x00007fcdea866f03 in ?? () from /usr/lib/libQt5Gui.so.5
#6  0x00007fcdea8671cc in QKeyMapper::possibleKeys(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#7  0x00007fcdea86fe60 in QShortcutMap::createNewSequences(QKeyEvent*, QVector<QKeySequence>&, int) () from /usr/lib/libQt5Gui.so.5
#8  0x00007fcdea8705d1 in QShortcutMap::find(QKeyEvent*, int) () from /usr/lib/libQt5Gui.so.5
#9  0x00007fcdea870c36 in QShortcutMap::nextState(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#10 0x00007fcdea870f71 in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#11 0x00007fcdea829b3d in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib/libQt5Gui.so.5
#12 0x00007fcdea841d14 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#13 0x00007fcdea846e85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#14 0x00007fcdea82418b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#15 0x00007fcddea46080 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#16 0x00007fcde493ff07 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007fcde4940160 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007fcde494020c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007fcdea34f6cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#20 0x00007fcdea2f746a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#21 0x00007fcdea2ffa0c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#22 0x00000000004048f4 in main (argc=<optimized out>, argv=<optimized out>) at /home/raghu/kf5/src/krita/krita/main.cc:228
Comment 6 Raghavendra kamath 2016-05-12 09:26:02 UTC

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