Summary: | Krita crashes when we cancel the save custom shortcut dialog box | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Raghavendra kamath <raghu> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | halla, miabraha, rjquiralte, scottpetrovic, tokyogeometry+kdeb |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Raghavendra kamath
2016-03-16 10:23:26 UTC
I get a similar crash when changing shortcut presets. Not sure if it is related to raghukamath's. Steps to reproduce. 1. Settings > Configure Krita > Canvas Input Settings 2. Change Profile from Krita Default to Paint Tool Sai 3. Change Profile back to Krita Default. crash This happens every time on my Windows 10 build. I am on the tip of 3.0 master Krita also crashes when the Export Scheme dialog box opened from the Keyboard Shortcuts page gets closed/cancelled. ('Save/Load' -> 'Export Scheme...') File load dialog boxes don't seem to cause a crash. I'm testing 3.0 Alpha #3 Linux appimage on openSUSE 42.1. I can confirm the same behaviour for both actions as Jumpei, also Scotts crash, Archlinux here, last appimage. As for the first described issue (changing the shortcuts) doesn't happens every single time, (maybe 8 out of ten, haven't counted though) but when doesn't crash, then the changes are simply ignored. I can confirm the bug: hread 1 (Thread 0x7f2eeb9887c0 (LWP 32670)): [KCrash Handler] #4 0x00007f2ee763b686 in KShortcutSchemesEditor::saveCustomShortcuts() (this=<optimized out>) at /usr/include/qt5/QtCore/qrefcount.h:54 #5 0x00007f2ee763b686 in KShortcutSchemesEditor::saveCustomShortcuts() (other=..., this=0x7fffd67c9a20) at /usr/include/qt5/QtCore/qstring.h:878 #6 0x00007f2ee763b686 in KShortcutSchemesEditor::saveCustomShortcuts() (this=0x9b12260) at /home/boud/dev/krita/libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp:186 #7 0x00007f2ee76af7c5 in KShortcutSchemesEditor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/boud/dev/build/libs/widgetutils/moc_kshortcutschemeseditor.cpp:100 #8 0x00007f2ee42a2cc6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5 #9 0x00007f2ee4f4d8d2 in QAction::triggered(bool) () at /usr/lib64/libQt5Widgets.so.5 #10 0x00007f2ee4f4fda8 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQt5Widgets.so.5 #11 0x00007f2ee50c7b9a in () at /usr/lib64/libQt5Widgets.so.5 #12 0x00007f2ee50cdaa4 in () at /usr/lib64/libQt5Widgets.so.5 #13 0x00007f2ee50d19cb in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5 #14 0x00007f2ee4f973a1 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #15 0x00007f2ee50d23db in QMenu::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #16 0x00007f2ee4f56e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #17 0x00007f2ee4f5c2cb in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #18 0x00007f2eeb2bfc90 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x953a9e0, event=0x7fffd67ca2f0) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:514 #19 0x00007f2ee4272e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #20 0x00007f2ee4f5b191 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5 #21 0x00007f2ee4fafe76 in () at /usr/lib64/libQt5Widgets.so.5 #22 0x00007f2ee4fb2353 in () at /usr/lib64/libQt5Widgets.so.5 #23 0x00007f2ee4f56e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #24 0x00007f2ee4f5bcc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #25 0x00007f2eeb2bfc90 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x9141710, event=0x7fffd67ca7e0) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:514 #26 0x00007f2ee4272e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #27 0x00007f2ee47c4964 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5 #28 0x00007f2ee47c6175 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5 #29 0x00007f2ee47ab268 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5 #30 0x00007f2ed7c9d200 in () at /usr/lib64/libQt5XcbQpa.so.5 #31 0x00007f2edeb94c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #32 0x00007f2edeb94ed8 in () at /usr/lib64/libglib-2.0.so.0 #33 0x00007f2edeb94f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #34 0x00007f2ee42c9d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #35 0x00007f2ee4270d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #36 0x00007f2ee50cca20 in QMenu::exec(QPoint const&, QAction*) () at /usr/lib64/libQt5Widgets.so.5 #37 0x00007f2ee50dc2c2 in () at /usr/lib64/libQt5Widgets.so.5 #38 0x00007f2ee42a2cc6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5 #39 0x00007f2ee5050417 in () at /usr/lib64/libQt5Widgets.so.5 #40 0x00007f2ee50505d6 in QAbstractButton::mousePressEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5 #41 0x00007f2ee4f973ba in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #42 0x00007f2ee4f56e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #43 0x00007f2ee4f5c2cb in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #44 0x00007f2eeb2bfc90 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x953a9a0, event=0x7fffd67cb230) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:514 #45 0x00007f2ee4272e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #46 0x00007f2ee4f5b191 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5 #47 0x00007f2ee4fb013b in () at /usr/lib64/libQt5Widgets.so.5 #48 0x00007f2ee4fb2353 in () at /usr/lib64/libQt5Widgets.so.5 #49 0x00007f2ee4f56e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #50 0x00007f2ee4f5bcc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #51 0x00007f2eeb2bfc90 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0xc4081d0, event=0x7fffd67cb720) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:514 #52 0x00007f2ee4272e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #53 0x00007f2ee47c4964 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5 #54 0x00007f2ee47c6175 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5 #55 0x00007f2ee47ab268 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5 #56 0x00007f2ed7c9d200 in () at /usr/lib64/libQt5XcbQpa.so.5 #57 0x00007f2edeb94c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #58 0x00007f2edeb94ed8 in () at /usr/lib64/libglib-2.0.so.0 #59 0x00007f2edeb94f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #60 0x00007f2ee42c9d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #61 0x00007f2ee4270d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #62 0x00007f2ee5145e1d in QDialog::exec() () at /usr/lib64/libQt5Widgets.so.5 #63 0x00007f2eeb02b61d in KisDlgPreferences::editPreferences() () at /home/boud/dev/krita/libs/ui/dialogs/kis_dlg_preferences.cc:977 #64 0x00007f2eeb2f49d1 in KisMainWindow::slotPreferences() (this=0x8ffc550) at /home/boud/dev/krita/libs/ui/KisMainWindow.cpp:596 #65 0x00007f2eeb2ffd8a in KisMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x8ffc550, _c=<optimized out>, _id=<optimized out>, _a=0x7fffd67cbfc0) at /home/boud/dev/build/libs/ui/moc_KisMainWindow.cpp:317 #66 0x00007f2ee42a2cc6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5 #67 0x00007f2ee4f4d8d2 in QAction::triggered(bool) () at /usr/lib64/libQt5Widgets.so.5 #68 0x00007f2ee4f4fda8 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQt5Widgets.so.5 #69 0x00007f2ee50c7b9a in () at /usr/lib64/libQt5Widgets.so.5 #70 0x00007f2ee50cdaa4 in () at /usr/lib64/libQt5Widgets.so.5 #71 0x00007f2ee50d19cb in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5 #72 0x00007f2ee4f973a1 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #73 0x00007f2ee50d23db in QMenu::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #74 0x00007f2ee4f56e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #75 0x00007f2ee4f5c2cb in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #76 0x00007f2eeb2bfc90 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x8b7b5a0, event=0x7fffd67cc690) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:514 #77 0x00007f2ee4272e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #78 0x00007f2ee4f5b191 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5 #79 0x00007f2ee4fafe76 in () at /usr/lib64/libQt5Widgets.so.5 #80 0x00007f2ee4fb2353 in () at /usr/lib64/libQt5Widgets.so.5 #81 0x00007f2ee4f56e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #82 0x00007f2ee4f5bcc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #83 0x00007f2eeb2bfc90 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x9b88a30, event=0x7fffd67ccb80) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:514 #84 0x00007f2ee4272e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #85 0x00007f2ee47c4964 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5 #86 0x00007f2ee47c6175 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5 #87 0x00007f2ee47ab268 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5 #88 0x00007f2ed7c9d200 in () at /usr/lib64/libQt5XcbQpa.so.5 #89 0x00007f2edeb94c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #90 0x00007f2edeb94ed8 in () at /usr/lib64/libglib-2.0.so.0 #91 0x00007f2edeb94f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #92 0x00007f2ee42c9d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #93 0x00007f2ee4270d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #94 0x00007f2ee42788f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #95 0x00000000004033a8 in main(int, char**) (argc=1, argv=0x7fffd67cd268) at /home/boud/dev/krita/krita/main.cc:178 I must either be doing something wrong, or this got accidentally fixed, but I can no longer reproduce it. Sorry for unclear description here are more clear instructions 1) Open krita and open a new document 2) go to settings > configure krita > keyboard shortcuts 3) click on "Save custom shortcuts" or "Export scheme" from the dropdown 4) A file dialog will open now press "cancel" in this dialog box Krita will crash I can still reproduce this in 3.0 git master This should be fixed. This bug is gone for me now , michael fixed it by this commit -> https://quickgit.kde.org/?p=krita.git&a=commit&h=bf2f2092b648b15f9ffccb0fc7cb68a8900a5d80 |