https://bugs.kde.org/show_bug.cgi?id=366378
Bug ID: 366378 Summary: Hitting 'K' - darker color and 'L' lighter color keys in greyscale document crashes krita randomly Product: krita Version: unspecified Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: krita-bugs-n...@kde.org Reporter: raghavendr.ra...@gmail.com Application: krita (3.0.1 Alpha (git 3747300)) (Compiled from sources) Qt Version: 5.7.0 Frameworks Version: 5.24.0 Operating System: Linux 4.6.4-1-ARCH x86_64 Distribution: "Arch Linux" -- Information about the crash: - What I was doing when the application crashed: I was painting in greyscale document and I got crashes randomly twice when I tried to lighten or darken color with 'k' and 'l' keys The crash can be reproduced sometimes. -- Backtrace: Application: Krita (krita), signal: Aborted Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f7d3c41c800 (LWP 11688))] Thread 13 (Thread 0x7f7c8d34b700 (LWP 14115)): #0 0x00007f7d3069f458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfb66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349bb274 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 12 (Thread 0x7f7c8db4c700 (LWP 14114)): #0 0x00007f7d3069f458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfb66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349bb274 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 11 (Thread 0x7f7c8e34d700 (LWP 14113)): #0 0x00007f7d3069f458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfb66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349bb274 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 10 (Thread 0x7f7c8eb4e700 (LWP 14112)): #0 0x00007f7d3069f458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfb66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349bb274 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 9 (Thread 0x7f7c985fb700 (LWP 14111)): #0 0x00007f7d3069f458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfb66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349bb274 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 8 (Thread 0x7f7c9eaa7700 (LWP 14110)): #0 0x00007f7d3069f458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfb66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349bb274 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 7 (Thread 0x7f7c9f7fb700 (LWP 14109)): #0 0x00007f7d3069f458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfb66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349bb274 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 6 (Thread 0x7f7cca1fd700 (LWP 14108)): #0 0x00007f7d3069f458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfb66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349bb274 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 5 (Thread 0x7f7d06c5d700 (LWP 11695)): #0 0x00007f7d3069f0af in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfc2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d35a9c851 in ?? () from /usr/lib/libQt5Widgets.so.5 #3 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 4 (Thread 0x7f7d0745e700 (LWP 11693)): #0 0x00007f7d33d874fd in nanosleep () from /usr/lib/libc.so.6 #1 0x00007f7d34a641ed in ?? () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349be108 in QThread::msleep(unsigned long) () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d3afb011a in KisTileDataSwapper::run (this=0x7f7d3b47a520 <(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 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f7d07c5f700 (LWP 11692)): #0 0x00007f7d3069f0af in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f7d349bfc2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f7d349b8b33 in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5 #3 0x00007f7d3af9479d in KisTileDataPooler::waitForWork (this=0x7f7d3b47a4e0 <(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=0x7f7d3b47a4e0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187 #5 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #6 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #7 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f7d1ac33700 (LWP 11690)): #0 0x00007f7d2e4c5029 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f7d2e480781 in g_main_context_query () from /usr/lib/libglib-2.0.so.0 #2 0x00007f7d2e480f48 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f7d2e4810ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f7d34bed59b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f7d34b970da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f7d349ba0f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #7 0x00007f7d2ffe6e75 in ?? () from /usr/lib/libQt5DBus.so.5 #8 0x00007f7d349bed78 in ?? () from /usr/lib/libQt5Core.so.5 #9 0x00007f7d30699484 in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f7d33db76dd in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f7d3c41c800 (LWP 11688)): [KCrash Handler] #5 0x00007f7d33d03295 in raise () from /usr/lib/libc.so.6 #6 0x00007f7d33d046da in abort () from /usr/lib/libc.so.6 #7 0x00007f7d33d3ed50 in __libc_message () from /usr/lib/libc.so.6 #8 0x00007f7d33d44546 in malloc_printerr () from /usr/lib/libc.so.6 #9 0x00007f7d33d44d1e in _int_free () from /usr/lib/libc.so.6 #10 0x00007f7d39b06a71 in QTypedArrayData<double>::deallocate (data=<optimized out>) at /usr/include/qt/QtCore/qarraydata.h:228 #11 QVector<double>::freeData (this=<synthetic pointer>, x=<optimized out>) at /usr/include/qt/QtCore/qvector.h:524 #12 QVector<double>::~QVector (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/qt/QtCore/qvector.h:75 #13 QVector<double>::operator=(QVector<double>&&) (other=<unknown type in /home/raghu/kf5/inst/lib64/libkritapigment.so.15, CU 0x1d379d, DIE 0x20a49a>, this=0x7fff82fe50f0) at /usr/include/qt/QtCore/qvector.h:80 #14 KoColorSpace::decreaseLuminosity (this=0x9803da0, pixel=0x39e6ec90 "\242\377\006\064}\177", step=0.050000000000000003) at /home/raghu/kf5/src/krita/libs/pigment/KoColorSpace.cpp:606 #15 0x00007f7d3bc7bad4 in KisCanvasControlsManager::transformColor (this=0x8987808, step=<optimized out>) at /home/raghu/kf5/src/krita/libs/ui/kis_canvas_controls_manager.cpp:124 #16 0x00007f7d34bc44e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #17 0x00007f7d35872472 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5 #18 0x00007f7d35874e60 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5 #19 0x00007f7d358757dc in QAction::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #20 0x00007f7d35878e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #21 0x00007f7d358805b1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007f7d3bde5947 in KisApplication::notify (this=<optimized out>, receiver=0x88ef4e0, event=0x7fff82fe5720) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:510 #23 0x00007f7d34b98c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #24 0x00007f7d351136a8 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5 #25 0x00007f7d35113769 in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5 #26 0x00007f7d350cc2cd 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 #27 0x00007f7d350e38a4 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5 #28 0x00007f7d350e8c45 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #29 0x00007f7d350c6cbb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #30 0x00007f7d29706310 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #31 0x00007f7d2e480dd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0x00007f7d2e481040 in ?? () from /usr/lib/libglib-2.0.so.0 #33 0x00007f7d2e4810ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0x00007f7d34bed57f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #35 0x00007f7d34b970da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #36 0x00007f7d34b9f5cc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #37 0x0000000000404c39 in main (argc=<optimized out>, argv=<optimized out>) at /home/raghu/kf5/src/krita/krita/main.cc:230 Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.