Application: krita (4.0.0) Qt Version: 5.10.0 Frameworks Version: 5.44.0 Operating System: Linux 4.13.0-37-generic x86_64 Distribution: KDE neon User Edition 5.12 -- Information about the crash: - What I was doing when the application crashed: press alt+meta+x Some other keys crash too. Also Krita closes sometime when I duplicate and modify some brush. -- 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 0x7f13791e4900 (LWP 21997))] Thread 4 (Thread 0x7f133a8e2700 (LWP 22608)): #0 0x00007f1375b7e74d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f136dcd638c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f132c003070, timeout=<optimized out>, context=0x7f132c000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135 #2 g_main_context_iterate (context=context@entry=0x7f132c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835 #3 0x00007f136dcd649c in g_main_context_iteration (context=0x7f132c000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901 #4 0x00007f13766c75cb in QEventDispatcherGlib::processEvents (this=0x7f132c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f137666e64a in QEventLoop::exec (this=this@entry=0x7f133a8e1ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #6 0x00007f137648e554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522 #7 0x00007f1355ac8a35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #8 0x00007f13764936eb in QThreadPrivate::start (arg=0xce90590) at thread/qthread_unix.cpp:376 #9 0x00007f136f60d6ba in start_thread (arg=0x7f133a8e2700) at pthread_create.c:333 #10 0x00007f1375b8a41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7f133a0e1700 (LWP 22575)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f137649467b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0xbfcadd0) at thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0xbe1b0d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215 #3 0x00007f137648d1ef in QSemaphore::tryAcquire (this=0xbfcabb0, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:229 #4 0x00007f137371c4b3 in KisTileDataSwapper::waitForWork (this=this@entry=0x7f1373c1ecc0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /workspace/build/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86 #5 0x00007f137371c6aa in KisTileDataSwapper::run (this=0x7f1373c1ecc0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /workspace/build/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #6 0x00007f13764936eb in QThreadPrivate::start (arg=0x7f1373c1ecc0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at thread/qthread_unix.cpp:376 #7 0x00007f136f60d6ba in start_thread (arg=0x7f133a0e1700) at pthread_create.c:333 #8 0x00007f1375b8a41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f1352b1b700 (LWP 22001)): #0 0x00007f1375b7e74d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f136dcd638c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f134c017cd0, timeout=<optimized out>, context=0x7f134c000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135 #2 g_main_context_iterate (context=context@entry=0x7f134c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835 #3 0x00007f136dcd649c in g_main_context_iteration (context=0x7f134c000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901 #4 0x00007f13766c75cb in QEventDispatcherGlib::processEvents (this=0x7f134c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f137666e64a in QEventLoop::exec (this=this@entry=0x7f1352b1ac90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #6 0x00007f137648e554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522 #7 0x00007f136f8392c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #8 0x00007f13764936eb in QThreadPrivate::start (arg=0x7f136faadd60) at thread/qthread_unix.cpp:376 #9 0x00007f136f60d6ba in start_thread (arg=0x7f1352b1b700) at pthread_create.c:333 #10 0x00007f1375b8a41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f13791e4900 (LWP 21997)): [KCrash Handler] #6 0x00007f1376679ff7 in QMetaObject::cast (this=0x7f1377a84820 <QAction::staticMetaObject>, obj=obj@entry=0xd587cb0) at kernel/qmetaobject.cpp:366 #7 0x00007f137667a035 in QMetaObject::cast (this=<optimized out>, obj=obj@entry=0xd587cb0) at kernel/qmetaobject.cpp:355 #8 0x00007f13773d25e2 in qobject_cast<QAction*> (object=0xd587cb0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:514 #9 qWidgetShortcutContextMatcher (object=0xd587cb0, context=Qt::WindowShortcut) at kernel/qshortcut.cpp:113 #10 0x00007f1376c3618a in QShortcutEntry::correctContext (this=0x22c03d50) at kernel/qshortcutmap.cpp:79 #11 QShortcutMap::find (this=this@entry=0x2c17380, e=e@entry=0x7ffd04bb12b0, ignoredModifiers=ignoredModifiers@entry=0) at kernel/qshortcutmap.cpp:469 #12 0x00007f1376c36d0e in QShortcutMap::nextState (this=this@entry=0x2c17380, e=e@entry=0x7ffd04bb12b0) at kernel/qshortcutmap.cpp:380 #13 0x00007f1376c37041 in QShortcutMap::tryShortcut (this=this@entry=0x2c17380, e=e@entry=0x7ffd04bb12b0) at kernel/qshortcutmap.cpp:336 #14 0x00007f1376be8956 in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, window@entry=0xbba05a0, timestamp=21578233, keyCode=88, modifiers=..., nativeScanCode=53, nativeVirtualKey=120, nativeModifiers=88, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:405 #15 0x00007f1376c05a94 in QGuiApplicationPrivate::processKeyEvent (e=0x17fe3820) at kernel/qguiapplication.cpp:2064 #16 0x00007f1376c0ae25 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x17fe3820) at kernel/qguiapplication.cpp:1747 #17 0x00007f1376be48fb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:976 #18 0x00007f135f8d61ab in QPAEventDispatcherGlib::processEvents (this=0x2ce2c40, flags=...) at qeventdispatcher_glib.cpp:70 #19 0x00007f137666e64a in QEventLoop::exec (this=this@entry=0x7ffd04bb1530, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #20 0x00007f1376677854 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332 #21 0x00007f1376c0083c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1687 #22 0x00007f13773b0a25 in QApplication::exec () at kernel/qapplication.cpp:2917 #23 0x000000000040514f in main (argc=2, argv=<optimized out>) at /workspace/build/krita/main.cc:361 Reported using DrKonqi
That shortcut doesn't crash my computer...but I am on Windows right now. 1. Does it crash every time you press "Alt + Meta + x" 2. Did you assign a shortcut to that key combination? Which one if yes. Your second part about brushes seems like a separate thing, so I would file a separate ticket for that with a description on how to get Krita to crash.
marking as 'works for me' until we get some more info on the shortcut crash
The backtrace doesn't show any code in Krita, which suggests that this is a bug in Qt. > press alt+meta+x > Some other keys crash too. Which ones exactly? My keyboard doesn't have a "meta" key, and alt-esc-x doesn't crash. Is there any interesting output if you start Krita from the terminal and provoke a crash? > Also Krita closes sometime when I duplicate and modify some brush. That, of course, is something completely different. Don't mix different issues in one report, please.
Yes, me too suspecting it's a QT or other maybe screen related issue instead. What Meta key? That's the Win key other name on Linux. Anyway, it isn't crash every time I press this combination and there was not and there is no shortcut for them. Ok, after Krita crashed a lot while brush creation and pressing key combination, I thought it worth to create a report with backtrace that it's may useful for further development but now, I'll think 2x. Close this thread, sorry for stealing your time.