https://bugs.kde.org/show_bug.cgi?id=360595

            Bug ID: 360595
           Summary: Krita crashes when we cancel the save custom shortcut
                    dialog box
           Product: krita
           Version: unspecified
          Platform: Archlinux Packages
                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 ()

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to