Bug 360595 - Krita crashes when we cancel the save custom shortcut dialog box
Summary: Krita crashes when we cancel the save custom shortcut dialog box
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-16 10:23 UTC by Raghavendra kamath
Modified: 2016-04-21 06:18 UTC (History)
5 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-16 10:23:26 UTC
Application: krita ()

Qt Version: 5.5.1
Operating System: Linux 4.4.5-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

I change a particular shortcut ( applied 'z' key for undo strokes) then when i went to save the custom shortcut and then i pressed cancel to cancel saving , Krita crashed

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f6a5697f700 (LWP 9164)):
#0  0x00007f6a7a6ea03f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f6a7e7cec4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f6a7e7c785b in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#3  0x00007f6a83bd3f0e in KisTileDataPooler::waitForWork (this=0x7f6a8403cc20 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165
#4  0x00007f6a83bd4631 in KisTileDataPooler::run (this=0x7f6a8403cc20 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/raghu/kf5/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007f6a7e7cd9ae in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f6a7a6e4424 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f6a7dbd1cbd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f6a5617e700 (LWP 9165)):
#0  0x00007f6a7a6ea03f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f6a7e7cec4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f6a7e7c7b16 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQt5Core.so.5
#3  0x00007f6a83beecd3 in KisTileDataSwapper::waitForWork (this=<optimized out>) at /home/raghu/kf5/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f6a83beeeaa in KisTileDataSwapper::run (this=0x7f6a8403cc60 <(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  0x00007f6a7e7cd9ae in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f6a7a6e4424 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f6a7dbd1cbd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f6a5597d700 (LWP 9166)):
#0  0x00007f6a7a6ea03f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f6a7e7cec4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f6a7f4d4bca in ?? () from /usr/lib/libQt5Widgets.so.5
#3  0x00007f6a7e7cd9ae in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f6a7a6e4424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f6a7dbd1cbd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f6a84e82840 (LWP 9160)):
[KCrash Handler]
#5  QtPrivate::RefCount::ref (this=<optimized out>) at /usr/include/qt/QtCore/qrefcount.h:54
#6  QString::QString (other=..., this=0x7ffd15a71b60) at /usr/include/qt/QtCore/qstring.h:878
#7  KShortcutSchemesEditor::saveCustomShortcuts (this=0x188611d0) at /home/raghu/kf5/src/krita/libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp:186
#8  0x00007f6a80f5b4cd in KShortcutSchemesEditor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/raghu/kf5/build/libs/widgetutils/moc_kshortcutschemeseditor.cpp:100
#9  0x00007f6a7e9dd10a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#10 0x00007f6a7f2973b2 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f6a7f299838 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f6a7f41c1f2 in ?? () from /usr/lib/libQt5Widgets.so.5
#13 0x00007f6a7f42249c in ?? () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f6a7f4263e0 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f6a7f2e3fd8 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f6a7f426e23 in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f6a7f2a0fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f6a7f2a6ba9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f6a84963497 in KisApplication::notify (this=<optimized out>, receiver=0x18863f00, event=0x7ffd15a723d0) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:519
#20 0x00007f6a7e9ae9ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007f6a7f2a5ab2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f6a7f2fe8ad in ?? () from /usr/lib/libQt5Widgets.so.5
#23 0x00007f6a7f300b0b in ?? () from /usr/lib/libQt5Widgets.so.5
#24 0x00007f6a7f2a0fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f6a7f2a64a6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007f6a84963497 in KisApplication::notify (this=<optimized out>, receiver=0x1a214df0, event=0x7ffd15a72850) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:519
#27 0x00007f6a7e9ae9ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007f6a7ecef231 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#29 0x00007f6a7ecf0ef5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#30 0x00007f6a7ecd6318 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#31 0x00007f6a739b35f0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#32 0x00007f6a794a1d87 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007f6a794a1fe0 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007f6a794a208c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007f6a7ea0533f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#36 0x00007f6a7e9ac37a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#37 0x00007f6a7f4211e0 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQt5Widgets.so.5
#38 0x00007f6a7f4318b4 in ?? () from /usr/lib/libQt5Widgets.so.5
#39 0x00007f6a7e9dd10a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#40 0x00007f6a7f39e1c7 in ?? () from /usr/lib/libQt5Widgets.so.5
#41 0x00007f6a7f39e321 in QAbstractButton::mousePressEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#42 0x00007f6a7f2e441f in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#43 0x00007f6a7f2a0fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#44 0x00007f6a7f2a6ba9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#45 0x00007f6a84963497 in KisApplication::notify (this=<optimized out>, receiver=0x18862740, event=0x7ffd15a73260) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:519
#46 0x00007f6a7e9ae9ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#47 0x00007f6a7f2a5ab2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#48 0x00007f6a7f2fe54b in ?? () from /usr/lib/libQt5Widgets.so.5
#49 0x00007f6a7f300b0b in ?? () from /usr/lib/libQt5Widgets.so.5
#50 0x00007f6a7f2a0fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#51 0x00007f6a7f2a64a6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#52 0x00007f6a84963497 in KisApplication::notify (this=<optimized out>, receiver=0x1a1b8c40, event=0x7ffd15a736e0) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:519
#53 0x00007f6a7e9ae9ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#54 0x00007f6a7ecef231 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#55 0x00007f6a7ecf0ef5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#56 0x00007f6a7ecd6318 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#57 0x00007f6a739b35f0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#58 0x00007f6a794a1d87 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0x00007f6a794a1fe0 in ?? () from /usr/lib/libglib-2.0.so.0
#60 0x00007f6a794a208c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#61 0x00007f6a7ea0533f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#62 0x00007f6a7e9ac37a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#63 0x00007f6a7f49c13d in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#64 0x00007f6a847101b2 in KisDlgPreferences::editPreferences () at /home/raghu/kf5/src/krita/libs/ui/dialogs/kis_dlg_preferences.cc:970
#65 0x00007f6a8499438b in KisMainWindow::slotPreferences (this=0x9f63870) at /home/raghu/kf5/src/krita/libs/ui/KisMainWindow.cpp:590
#66 0x00007f6a849a485c in KisMainWindow::qt_static_metacall (_o=0x9f63870, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd15a73ee0) at /home/raghu/kf5/build/libs/ui/moc_KisMainWindow.cpp:317
#67 0x00007f6a7e9dd10a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#68 0x00007f6a7f2973b2 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#69 0x00007f6a7f299838 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#70 0x00007f6a7f41c1f2 in ?? () from /usr/lib/libQt5Widgets.so.5
#71 0x00007f6a7f42249c in ?? () from /usr/lib/libQt5Widgets.so.5
#72 0x00007f6a7f4263e0 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#73 0x00007f6a7f2e3fd8 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#74 0x00007f6a7f426e23 in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#75 0x00007f6a7f2a0fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#76 0x00007f6a7f2a6ba9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#77 0x00007f6a84963497 in KisApplication::notify (this=<optimized out>, receiver=0xae4c410, event=0x7ffd15a74490) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:519
#78 0x00007f6a7e9ae9ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#79 0x00007f6a7f425bc9 in ?? () from /usr/lib/libQt5Widgets.so.5
#80 0x00007f6a7f426266 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#81 0x00007f6a7f2e3fd8 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#82 0x00007f6a7f426e23 in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#83 0x00007f6a7f2a0fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#84 0x00007f6a7f2a6ba9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#85 0x00007f6a84963497 in KisApplication::notify (this=<optimized out>, receiver=0xad435e0, event=0x7ffd15a74a90) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:519
#86 0x00007f6a7e9ae9ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#87 0x00007f6a7f2a5ab2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#88 0x00007f6a7f2fe8ad in ?? () from /usr/lib/libQt5Widgets.so.5
#89 0x00007f6a7f300b0b in ?? () from /usr/lib/libQt5Widgets.so.5
#90 0x00007f6a7f2a0fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#91 0x00007f6a7f2a64a6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#92 0x00007f6a84963497 in KisApplication::notify (this=<optimized out>, receiver=0xa8f4280, event=0x7ffd15a74f10) at /home/raghu/kf5/src/krita/libs/ui/KisApplication.cpp:519
#93 0x00007f6a7e9ae9ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#94 0x00007f6a7ecef231 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#95 0x00007f6a7ecf0ef5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#96 0x00007f6a7ecd6318 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#97 0x00007f6a739b35f0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#98 0x00007f6a794a1d87 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#99 0x00007f6a794a1fe0 in ?? () from /usr/lib/libglib-2.0.so.0
#100 0x00007f6a794a208c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#101 0x00007f6a7ea0533f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#102 0x00007f6a7e9ac37a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#103 0x00007f6a7e9b433c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#104 0x0000000000402f1b in main (argc=1, argv=0x7ffd15a755b8) at /home/raghu/kf5/src/krita/krita/main.cc:178

Reported using DrKonqi
Comment 1 Scott Petrovic 2016-03-17 15:01:47 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
Comment 2 omiya 2016-03-18 15:07:09 UTC
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.
Comment 3 Quiralta 2016-03-18 18:48:40 UTC
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.
Comment 4 Halla Rempt 2016-03-22 15:12:44 UTC
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
Comment 5 Halla Rempt 2016-04-16 13:41:14 UTC
I must either be doing something wrong, or this got accidentally fixed, but I can no longer reproduce it.
Comment 6 Raghavendra kamath 2016-04-16 14:00:52 UTC
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
Comment 7 Michael 2016-04-18 18:36:01 UTC
This should be fixed.
Comment 8 Raghavendra kamath 2016-04-21 06:18:44 UTC
This bug is gone for me now , michael fixed it by this commit -> https://quickgit.kde.org/?p=krita.git&a=commit&h=bf2f2092b648b15f9ffccb0fc7cb68a8900a5d80