Bug 362881 - Crash when applying transform
Summary: Crash when applying transform
Status: RESOLVED DUPLICATE of bug 369549
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
: 360786 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-10 09:15 UTC by animtim
Modified: 2016-12-07 15:02 UTC (History)
7 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 animtim 2016-05-10 09:15:39 UTC
Application: krita ()

Qt Version: 5.6.0
Frameworks Version: 5.21.0
Operating System: Linux 4.6.0-desktop-0.rc5.1.mga6 x86_64
Distribution: "Mageia 6"

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

I was using the transform tool, entered values in the tool options to move layer content precisely.

Then I tried to apply it by pressing enter. It didn't seem to work, so I clicked on the paint tool icon, and it crashed.

-- Backtrace:
Application: krita (krita), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f498f60b840 (LWP 14811))]

Thread 8 (Thread 0x7f4952619700 (LWP 14979)):
#0  0x00007f4984e22fe8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f4988ed82d6 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f4988ed3d24 in QThreadPoolThread::run() () at /lib64/libQt5Core.so.5
#3  0x00007f4988ed7589 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#4  0x00007f4984e1d65d in start_thread () at /lib64/libpthread.so.0
#5  0x00007f49882dafbd in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f4937fff700 (LWP 14978)):
#0  0x00007f49882e848b in __lll_lock_wait_private () at /lib64/libc.so.6
#1  0x00007f4988260735 in _int_free () at /lib64/libc.so.6
#2  0x00007f4988263d18 in free () at /lib64/libc.so.6
#3  0x00007f498e506c4c in KisUpdateJobItem::run() (this=0x8f6e140, __in_chrg=<optimized out>) at /home/timo/kde4/build/krita/libs/image/../../../../src/krita/libs/image/kis_stroke_job.h:40
#4  0x00007f498e506c4c in KisUpdateJobItem::run() (this=0x8f6e140, __in_chrg=<optimized out>) at /home/timo/kde4/build/krita/libs/image/../../../../src/krita/libs/image/kis_stroke_job.h:41
#5  0x00007f498e506c4c in KisUpdateJobItem::run() (this=0x6e9f390) at /home/timo/kde4/build/krita/libs/image/../../../../src/krita/libs/image/kis_update_job_item.h:67
#6  0x00007f4988ed3b23 in QThreadPoolThread::run() () at /lib64/libQt5Core.so.5
#7  0x00007f4988ed7589 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f4984e1d65d in start_thread () at /lib64/libpthread.so.0
#9  0x00007f49882dafbd in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f4952e1a700 (LWP 14823)):
#0  0x00007f4984e22c3f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f4988ed838b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f4989c15772 in QFileInfoGatherer::run() () at /lib64/libQt5Widgets.so.5
#3  0x00007f4988ed7589 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#4  0x00007f4984e1d65d in start_thread () at /lib64/libpthread.so.0
#5  0x00007f49882dafbd in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f4953a1c700 (LWP 14822)):
#0  0x00007f4984e22c3f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f4988ed838b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f4988ed1996 in QSemaphore::tryAcquire(int, int) () at /lib64/libQt5Core.so.5
#3  0x00007f498e33f6b3 in KisTileDataSwapper::waitForWork() (this=<optimized out>) at /home/timo/kde4/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f498e33f87a in KisTileDataSwapper::run() (this=0x7f498e7b0640 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/timo/kde4/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f4988ed7589 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#6  0x00007f4984e1d65d in start_thread () at /lib64/libpthread.so.0
#7  0x00007f49882dafbd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f495421d700 (LWP 14821)):
#0  0x00007f4984e22c3f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f4988ed838b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f4988ed16fb in QSemaphore::acquire(int) () at /lib64/libQt5Core.so.5
#3  0x00007f498e3265ce in KisTileDataPooler::waitForWork() (this=0x7f498e7b0600 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/timo/kde4/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165
#4  0x00007f498e326cca in KisTileDataPooler::run() (this=0x7f498e7b0600 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/timo/kde4/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007f4988ed7589 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#6  0x00007f4984e1d65d in start_thread () at /lib64/libpthread.so.0
#7  0x00007f49882dafbd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f4968629700 (LWP 14813)):
#0  0x00007fff3ffb8a40 in clock_gettime ()
#1  0x00007f49882e8b66 in clock_gettime () at /lib64/libc.so.6
#2  0x00007f4988f7e926 in qt_gettime() () at /lib64/libQt5Core.so.5
#3  0x00007f49890ea379 in QTimerInfoList::updateCurrentTime() () at /lib64/libQt5Core.so.5
#4  0x00007f49890ea8c5 in QTimerInfoList::timerWait(timespec&) () at /lib64/libQt5Core.so.5
#5  0x00007f49890ebc3e in timerSourcePrepare(_GSource*, int*) () at /lib64/libQt5Core.so.5
#6  0x00007f4983bbc94d in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#7  0x00007f4983bbd253 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#8  0x00007f4983bbd42c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#9  0x00007f49890ec70b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#10 0x00007f498909808a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#11 0x00007f4988ed297c in QThread::exec() () at /lib64/libQt5Core.so.5
#12 0x00007f498f63a445 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#13 0x00007f4988ed7589 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#14 0x00007f4984e1d65d in start_thread () at /lib64/libpthread.so.0
#15 0x00007f49882dafbd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f49749c9700 (LWP 14812)):
#0  0x00007f49882cf16d in poll () at /lib64/libc.so.6
#1  0x00007f4986bf8ac2 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f4986bfa697 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f4976ae4809 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f4988ed7589 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f4984e1d65d in start_thread () at /lib64/libpthread.so.0
#6  0x00007f49882dafbd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f498f60b840 (LWP 14811)):
[KCrash Handler]
#6  0x00007f4988218828 in raise () at /lib64/libc.so.6
#7  0x00007f4988219f3a in abort () at /lib64/libc.so.6
#8  0x00007f49882573ea in  () at /lib64/libc.so.6
#9  0x00007f4988262498 in _int_malloc () at /lib64/libc.so.6
#10 0x00007f49882639b9 in malloc () at /lib64/libc.so.6
#11 0x00007f4988ed8728 in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () at /lib64/libQt5Core.so.5
#12 0x00007f4988edf554 in QByteArray::fromRawData(char const*, int) () at /lib64/libQt5Core.so.5
#13 0x00007f49890a2405 in methodMatch(QMetaObject const*, int, QByteArray const&, int, QArgumentType const*) () at /lib64/libQt5Core.so.5
#14 0x00007f49890a2e57 in QMetaObjectPrivate::indexOfSlotRelative(QMetaObject const**, QByteArray const&, int, QArgumentType const*) () at /lib64/libQt5Core.so.5
#15 0x00007f49890cb333 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () at /lib64/libQt5Core.so.5
#16 0x00007f498d566d98 in KoToolManager::Private::connectActiveTool() (this=this@entry=0x61c27f0) at /home/timo/kde4/src/krita/libs/flake/KoToolManager.cpp:586
#17 0x00007f498d56bc2a in KoToolManager::Private::switchTool(KoToolBase*, bool) (this=0x61c27f0, tool=0x706f8a0, temporary=<optimized out>) at /home/timo/kde4/src/krita/libs/flake/KoToolManager.cpp:637
#18 0x00007f498d56cf5b in KoToolManager::Private::toolActivated(ToolHelper*) (this=0x61c27f0, tool=0x65a1c80) at /home/timo/kde4/src/krita/libs/flake/KoToolManager.cpp:804
#19 0x00007f49890c5170 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#20 0x00007f498d61657f in ToolHelper::toolActivated(ToolHelper*) (this=<optimized out>, _t1=0x65a1c80) at /home/timo/kde4/build/krita/libs/flake/moc_KoToolManager_p.cpp:152
#21 0x00007f49890c5170 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#22 0x00007f4989d61822 in QAbstractButton::clicked(bool) () at /lib64/libQt5Widgets.so.5
#23 0x00007f4989af01a4 in QAbstractButtonPrivate::emitClicked() () at /lib64/libQt5Widgets.so.5
#24 0x00007f4989af1537 in QAbstractButtonPrivate::click() () at /lib64/libQt5Widgets.so.5
#25 0x00007f4989af168c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007f4989baea8a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#27 0x00007f4989a3d8d8 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#28 0x00007f4989baeb59 in QToolButton::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#29 0x00007f49899fc40c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#30 0x00007f4989a01e41 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#31 0x00007f498f0ecf57 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x661f4f0, event=0x7fff3ffa2810) at /home/timo/kde4/src/krita/libs/ui/KisApplication.cpp:502
#32 0x00007f498909a1d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#33 0x00007f4989a00895 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQt5Widgets.so.5
#34 0x00007f4989a56d11 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#35 0x00007f4989a5908b in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#36 0x00007f49899fc40c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#37 0x00007f4989a012b6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#38 0x00007f498f0ecf57 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x6bcc950, event=0x7fff3ffa2c80) at /home/timo/kde4/src/krita/libs/ui/KisApplication.cpp:502
#39 0x00007f498909a1d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#40 0x00007f49893e44d0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#41 0x00007f49893e5f25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#42 0x00007f49893c489b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#43 0x00007f4976b15800 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#44 0x00007f4983bbd157 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#45 0x00007f4983bbd388 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#46 0x00007f4983bbd42c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#47 0x00007f49890ec6e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#48 0x00007f498909808a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#49 0x00007f49890a03f1 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#50 0x0000000000404ad6 in main(int, char**) (argc=2, argv=<optimized out>) at /home/timo/kde4/src/krita/krita/main.cc:228

Reported using DrKonqi
Comment 1 Halla Rempt 2016-05-10 10:37:21 UTC
Hi Animtim,

Is this crash reproducible? The backtrace looks extremely strange and it must be some sort of broken memory access., If it's reproducible we can try to debug with valgrind.
Comment 2 animtim 2016-05-10 11:16:59 UTC
I just tried to reproduce but couldn't yet.
Comment 3 Raghavendra kamath 2016-05-12 09:23:30 UTC
I am experiencing this too,

actually this was a older bug which re surfaced again , I closed it earlier because it was not easily reproducible.

But now i get this crash for 3 out of 5 times while transforming , i got 4 crashes yesterday alone.

The older bug is here -> https://bugs.kde.org/show_bug.cgi?id=360786 ,
I am marking it a duplicate of this bug


the back trace from last crash generated by bug report wizard is as follows:

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 4 Raghavendra kamath 2016-05-12 09:26:02 UTC
*** Bug 360786 has been marked as a duplicate of this bug. ***
Comment 5 Raghavendra kamath 2016-05-23 10:45:40 UTC
A back trace again - 



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

Thread 13 (Thread 0x7fa7db335700 (LWP 2752)):
#0  0x00007fa7f54c2e0a in ?? () from /usr/lib/libQt5Core.so.5
#1  0x00007fa7efaae50d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa7efaaeefb in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa7efaaf0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fa7f54c36eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fa7f546b46a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007fa7f52922f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007fa7f08caa65 in ?? () from /usr/lib/libQt5DBus.so.5
#8  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7fa7c8726700 (LWP 2791)):
#0  0x00007fa7f0f8209f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa7f529808b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f5290d53 in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#3  0x00007fa7fb8c465d in KisTileDataPooler::waitForWork (this=0x7fa7fbda2ce0 <(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=0x7fa7fbda2ce0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7fa7c7f25700 (LWP 2792)):
#0  0x00007fa7f46614fd in nanosleep () from /usr/lib/libc.so.6
#1  0x00007fa7f5342e0d in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f5296598 in QThread::msleep(unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007fa7fb8dfe7a in KisTileDataSwapper::run (this=0x7fa7fbda2d20 <(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  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7fa7c7724700 (LWP 2794)):
#0  0x00007fa7f0f8209f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa7f529808b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f63c7139 in ?? () from /usr/lib/libQt5Widgets.so.5
#3  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fa71ffff700 (LWP 3927)):
#0  0x00007fa7f0f82448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa7f5297fc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f5293644 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7fa7259fe700 (LWP 3928)):
#0  0x00007fa7f0f82448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa7f5297fc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f5293644 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fa7261ff700 (LWP 3929)):
#0  0x00007fa7f0f82448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa7f5297fc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f5293644 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fa724dfd700 (LWP 3930)):
#0  0x00007fa7f0f82448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa7f5297fc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f5293644 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fa741453700 (LWP 3931)):
#0  0x00007fa7f0f82448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa7f5297fc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f5293644 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fa71f7fe700 (LWP 3932)):
#0  0x00007fa7f0f82448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa7f5297fc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f5293644 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fa71effd700 (LWP 3933)):
#0  0x00007fa7f469dc7b in __lll_lock_wait_private () from /usr/lib/libc.so.6
#1  0x00007fa7f461f0e0 in _int_free () from /usr/lib/libc.so.6
#2  0x00007fa7fbaf428c in KisStrokeJob::~KisStrokeJob (this=0x16bd63d0, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:40
#3  KisStrokeJob::~KisStrokeJob (this=0x16bd63d0, __in_chrg=<optimized out>) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_stroke_job.h:41
#4  KisUpdateJobItem::run (this=0xbacbea0) at /home/raghu/kf5/build/libs/image/../../../src/krita/libs/image/kis_update_job_item.h:67
#5  0x00007fa7f52933ef in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fa71e7fc700 (LWP 3934)):
#0  0x00007fa7f0f82448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa7f5297fc6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007fa7f5293644 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fa7f52971d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fa7f0f7c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fa7f469169d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fa7fcd3d840 (LWP 2749)):
[KCrash Handler]
#5  0x00007fa7f45dd295 in raise () from /usr/lib/libc.so.6
#6  0x00007fa7f45de6da in abort () from /usr/lib/libc.so.6
#7  0x00007fa7f4618d50 in __libc_message () from /usr/lib/libc.so.6
#8  0x00007fa7f461e546 in malloc_printerr () from /usr/lib/libc.so.6
#9  0x00007fa7f4620981 in _int_malloc () from /usr/lib/libc.so.6
#10 0x00007fa7f46221d4 in malloc () from /usr/lib/libc.so.6
#11 0x00007fa7f4ef4968 in operator new (sz=16) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/new_op.cc:50
#12 0x00007fa7f5c605a5 in QRegion::QRegion(QRect const&, QRegion::RegionType) () from /usr/lib/libQt5Gui.so.5
#13 0x00007fa7f61a512a in ?? () from /usr/lib/libQt5Widgets.so.5
#14 0x00007fa7f61c45d3 in QWidget::update(QRect const&) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007fa7f61c4683 in QWidget::update() () from /usr/lib/libQt5Widgets.so.5
#16 0x00007fa7ca5952fc in KisLayerBox::slotSetOpacity (opacity=100, this=0xce32af0) at /home/raghu/kf5/src/krita/plugins/dockers/defaultdockers/kis_layer_box.cpp:480
#17 KisLayerBox::updateUI (this=0xce32af0) at /home/raghu/kf5/src/krita/plugins/dockers/defaultdockers/kis_layer_box.cpp:412
#18 0x00007fa7ca59a005 in KisLayerBox::qt_static_metacall (_o=0xce32af0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/raghu/kf5/build/plugins/dockers/defaultdockers/moc_kis_layer_box.cpp:210
#19 0x00007fa7f549a679 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#20 0x00007fa7f551456c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib/libQt5Core.so.5
#21 0x00007fa7fc543538 in KisNodeModel::progressPercentageChanged (this=0xce6c7c0, node=...) at /home/raghu/kf5/src/krita/libs/ui/kis_node_model.cpp:205
#22 0x00007fa7fc7c86b3 in KisNodeModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/raghu/kf5/build/libs/ui/moc_kis_node_model.cpp:128
#23 0x00007fa7f549b179 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#24 0x00007fa7f61957bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007fa7f619a95f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007fa7fc706217 in KisApplication::notify (this=<optimized out>, receiver=0xce6c7c0, event=0x7fa66c2424e0) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:493
#27 0x00007fa7f546d280 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007fa7f546f1fc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#29 0x00007fa7f54c32c3 in ?? () from /usr/lib/libQt5Core.so.5
#30 0x00007fa7efaaedd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007fa7efaaf040 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007fa7efaaf0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007fa7f54c36cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#34 0x00007fa7f546b46a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#35 0x00007fa7f5473a0c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#36 0x0000000000404a37 in main (argc=<optimized out>, argv=<optimized out>) at /home/raghu/kf5/src/krita/krita/main.cc:224
Comment 6 Halla Rempt 2016-05-23 11:21:44 UTC
That's actually an assert right inside Qt itself!
Comment 7 Patrice Kouame 2016-09-10 21:20:40 UTC
Should this still be open?  I can't reproduce the scenario.
Comment 8 Larpon 2016-09-15 08:55:00 UTC
I'm getting crashes almost every time I use the 'Transform Mask' layer type with lastest 3.0.1 (stable) on Kubuntu 16.04 using the appimage. Might be related?
Comment 9 ugxt 2016-10-04 05:18:17 UTC
I'm experiencing the same sort of thing on Linux Mint 18 Cinnamon. Whenever I apply a transform, the program instantly closes without any error messages or anything.
Comment 10 Halla Rempt 2016-10-31 15:19:58 UTC
Hm, I just closed another bug reported by Wolthera with exactly the same backtrace as Raghukamath's latest -- the QRegion one. One thing all these reports have in common is that the crash seems to happing inside. Qt.

Please everyone -- if you can reproduce, please tell me which exact build you're testing, and which version of Qt you've got.
Comment 11 Halla Rempt 2016-11-03 14:20:00 UTC
The hang on saving is reported here: https://bugs.kde.org/show_bug.cgi?id=370566
Comment 12 Halla Rempt 2016-11-03 14:20:17 UTC
Er, that wasn't meant for this report.
Comment 13 Richard Raimund 2016-11-19 05:55:35 UTC
Same for me, crashes each time transform mask applied, no crashes with transform tool though.
Comment 14 Beatrice 2016-12-04 16:50:54 UTC
I'm also experiencing this bug. 

Running Krita 3.0.94 directly from the appimage. 

Looking over synaptic, currently installed version of QT is QT4 "4:4.8.7+dfsg-5ubuntu2", which tells me that it's probably 4.8?

Running Linux Mint's Cinnamon interface over an existing Ubuntu 16.04 LTS intallation.

I hope this information is useful in fixing this bug, and let me know if there's anything else I can do to help!
Comment 15 Halla Rempt 2016-12-07 15:02:13 UTC

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