Bug 323829 - CRASH after deleting the Shortcut for the Popup Palette
Summary: CRASH after deleting the Shortcut for the Popup Palette
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8 Pre-Alpha
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-21 11:19 UTC by vascoalexander
Modified: 2013-10-09 06:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Canvas Input Shortcut File (kritadefault.profile) that crashes Krita (521 bytes, application/octet-stream)
2013-08-21 11:26 UTC, vascoalexander
Details
New crash information added by DrKonqi (17.79 KB, text/plain)
2013-10-09 06:04 UTC, Wayne Parker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vascoalexander 2013-08-21 11:19:19 UTC
Application: krita (2.8 Pre-Alpha)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic x86_64
Distribution: Ubuntu 13.04

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

Changed the Canvas Input Shortcuts.
Deleted the Shortcut for the Popup Palette (Right-Click).
Also check the attached .profile file to see all changes.

After the Crash Krita repeats crashing when trying to open a new document.

Solution to recover the default settings:

Open home/.../.kde/share/apps/krita/input
 Delete the .profile File (kritadefault.profile)

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (kdeinit4), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f47ddc0b7c0 (LWP 3609))]

Thread 7 (Thread 0x7f47b4c67700 (LWP 3610)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f47dc79114b in wait (time=18446744073709551615, this=0x19a3920) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x19a38d0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f47dc78d067 in QSemaphore::acquire (this=this@entry=0x1956ce0, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f47bd92cd24 in waitForWork (this=0x1956cd0) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  KisTileDataPooler::run (this=0x1956cd0) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f47dc790bec in QThreadPrivate::start (arg=0x1956cd0) at thread/qthread_unix.cpp:338
#7  0x00007f47cbdfd3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#8  0x00007f47d8ca6f8e in start_thread (arg=0x7f47b4c67700) at pthread_create.c:311
#9  0x00007f47db496e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f47b4466700 (LWP 3611)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f47dc79114b in wait (time=18446744073709551615, this=0x19a3cb0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x19a3c60, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f47dc78d438 in QSemaphore::tryAcquire (this=0x19a3990, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f47bd95a7a3 in KisTileDataSwapper::waitForWork (this=this@entry=0x1956d08) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f47bd95aa2a in KisTileDataSwapper::run (this=0x1956d08) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f47dc790bec in QThreadPrivate::start (arg=0x1956d08) at thread/qthread_unix.cpp:338
#7  0x00007f47cbdfd3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#8  0x00007f47d8ca6f8e in start_thread (arg=0x7f47b4466700) at pthread_create.c:311
#9  0x00007f47db496e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f47b0ae8700 (LWP 3616)):
#0  0x00007f47db48f233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f47dc8b94f3 in qt_safe_select (nfds=30, fdread=0x7f47a0000af8, fdwrite=0x7f47a0000d90, fdexcept=0x7f47a0001028, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f47dc8be499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f47a0000940, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f47dc8bec82 in QEventDispatcherUNIX::processEvents (this=0x7f47a0000920, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f47dc88c38f in QEventLoop::processEvents (this=this@entry=0x7f47b0ae7cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f47dc88c618 in QEventLoop::exec (this=this@entry=0x7f47b0ae7cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f47dc78e410 in QThread::exec (this=this@entry=0x1e8f7b0) at thread/qthread.cpp:542
#7  0x00007f47dc86dedf in QInotifyFileSystemWatcherEngine::run (this=0x1e8f7b0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f47dc790bec in QThreadPrivate::start (arg=0x1e8f7b0) at thread/qthread_unix.cpp:338
#9  0x00007f47cbdfd3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#10 0x00007f47d8ca6f8e in start_thread (arg=0x7f47b0ae8700) at pthread_create.c:311
#11 0x00007f47db496e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f478f1ed700 (LWP 3620)):
#0  0x00007f47db48f233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f47dc8b94f3 in qt_safe_select (nfds=38, fdread=0x7f4780000af8, fdwrite=0x7f4780000d90, fdexcept=0x7f4780001028, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f47dc8be499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f4780000940, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f47dc8bec82 in QEventDispatcherUNIX::processEvents (this=0x7f4780000920, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f47dc88c38f in QEventLoop::processEvents (this=this@entry=0x7f478f1eccd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f47dc88c618 in QEventLoop::exec (this=this@entry=0x7f478f1eccd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f47dc78e410 in QThread::exec (this=this@entry=0x1e2c060) at thread/qthread.cpp:542
#7  0x00007f47dc86dedf in QInotifyFileSystemWatcherEngine::run (this=0x1e2c060) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f47dc790bec in QThreadPrivate::start (arg=0x1e2c060) at thread/qthread_unix.cpp:338
#9  0x00007f47cbdfd3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#10 0x00007f47d8ca6f8e in start_thread (arg=0x7f478f1ed700) at pthread_create.c:311
#11 0x00007f47db496e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f47b12e9700 (LWP 3626)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f47dc79114b in wait (time=18446744073709551615, this=0x4c2e920) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x4c2e4a8, mutex=mutex@entry=0x4c2e4a0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f47dc124636 in QFileInfoGatherer::run (this=0x4c2e490) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f47dc790bec in QThreadPrivate::start (arg=0x4c2e490) at thread/qthread_unix.cpp:338
#5  0x00007f47cbdfd3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#6  0x00007f47d8ca6f8e in start_thread (arg=0x7f47b12e9700) at pthread_create.c:311
#7  0x00007f47db496e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f47b1aea700 (LWP 3627)):
#0  0x00007f47db48f233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f47dc8b94f3 in qt_safe_select (nfds=22, fdread=0x7f4768014598, fdwrite=0x7f4768014830, fdexcept=0x7f4768014ac8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f47dc8be499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f47680143e0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f47dc8bec82 in QEventDispatcherUNIX::processEvents (this=0x7f4793431230, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f47dc88c38f in QEventLoop::processEvents (this=this@entry=0x7f47b1ae9cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f47dc88c618 in QEventLoop::exec (this=this@entry=0x7f47b1ae9cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f47dc78e410 in QThread::exec (this=this@entry=0x4c2ea20) at thread/qthread.cpp:542
#7  0x00007f47dc86dedf in QInotifyFileSystemWatcherEngine::run (this=0x4c2ea20) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f47dc790bec in QThreadPrivate::start (arg=0x4c2ea20) at thread/qthread_unix.cpp:338
#9  0x00007f47cbdfd3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#10 0x00007f47d8ca6f8e in start_thread (arg=0x7f47b1aea700) at pthread_create.c:311
#11 0x00007f47db496e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f47ddc0b7c0 (LWP 3609)):
[KCrash Handler]
#5  0x00007f47db3d4037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#6  0x00007f47db3d7698 in __GI_abort () at abort.c:90
#7  0x00007f47dc7865c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x8c91b98 "ASSERT: \"buttons.size() > 0\" in file /build/buildd/krita-testing-2+git20130808+r74237-41/krita/ui/input/kis_stroke_shortcut.cpp, line 50") at global/qglobal.cpp:2347
#8  0x00007f47dc786938 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f47dc8f0548 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fffa8d12288) at global/qglobal.cpp:2393
#9  0x00007f47dc786ac4 in qFatal (msg=msg@entry=0x7f47dc8f0548 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2576
#10 0x00007f47dc786b06 in qt_assert (assertion=assertion@entry=0x7f47be5833fb "buttons.size() > 0", file=file@entry=0x7f47be5833a0 "/build/buildd/krita-testing-2+git20130808+r74237-41/krita/ui/input/kis_stroke_shortcut.cpp", line=line@entry=50) at global/qglobal.cpp:2021
#11 0x00007f47be51b068 in KisStrokeShortcut::setButtons (this=0x2211980, modifiers=..., buttons=...) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/ui/input/kis_stroke_shortcut.cpp:50
#12 0x00007f47be50f75f in KisInputManager::Private::addStrokeShortcut (this=0x4f15890, action=0x4f174a0, index=index@entry=0, modifiers=..., buttons=...) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/ui/input/kis_input_manager.cpp:141
#13 0x00007f47be5103f2 in KisInputManager::profileChanged (this=this@entry=0x4f157b0) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/ui/input/kis_input_manager.cpp:545
#14 0x00007f47be24ef90 in qt_static_metacall (_id=2, _o=0x4f157b0, _c=<optimized out>, _a=<optimized out>) at /build/buildd/krita-testing-2+git20130808+r74237-41/obj-x86_64-linux-gnu/krita/ui/moc_kis_input_manager.cpp:54
#15 KisInputManager::qt_static_metacall (_o=0x4f157b0, _c=<optimized out>, _id=2, _a=<optimized out>) at /build/buildd/krita-testing-2+git20130808+r74237-41/obj-x86_64-linux-gnu/krita/ui/moc_kis_input_manager.cpp:46
#16 0x00007f47dc8a20ef in QMetaObject::activate (sender=sender@entry=0x4f15930, m=m@entry=0x7f47be834640 <KisInputProfileManager::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#17 0x00007f47be24c113 in KisInputProfileManager::currentProfileChanged (this=this@entry=0x4f15930) at /build/buildd/krita-testing-2+git20130808+r74237-41/obj-x86_64-linux-gnu/krita/ui/moc_kis_input_profile_manager.cpp:107
#18 0x00007f47be530306 in KisInputProfileManager::saveProfiles (this=0x4f15930) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/ui/input/kis_input_profile_manager.cpp:258
#19 0x00007f47be534a85 in KisInputConfigurationPage::saveChanges (this=this@entry=0x8159310) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/ui/input/config/kis_input_configuration_page.cpp:58
#20 0x00007f47be24df48 in qt_static_metacall (_a=0x7fffa8d128b0, _id=0, _o=0x8159310, _c=<optimized out>) at /build/buildd/krita-testing-2+git20130808+r74237-41/obj-x86_64-linux-gnu/krita/ui/moc_kis_input_configuration_page.cpp:58
#21 KisInputConfigurationPage::qt_static_metacall (_o=0x8159310, _c=<optimized out>, _id=0, _a=0x7fffa8d128b0) at /build/buildd/krita-testing-2+git20130808+r74237-41/obj-x86_64-linux-gnu/krita/ui/moc_kis_input_configuration_page.cpp:52
#22 0x00007f47dc8a20ef in QMetaObject::activate (sender=0x8bad890, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#23 0x00007f47dd56ce78 in KDialog::slotButtonClicked(int) () from /usr/lib/libkdeui.so.5
#24 0x00007f47dd56f3f4 in ?? () from /usr/lib/libkdeui.so.5
#25 0x00007f47dc8a20ef in QMetaObject::activate (sender=sender@entry=0x24c01f0, m=m@entry=0x7f47dcbe5c60 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa8d12ae0) at kernel/qobject.cpp:3539
#26 0x00007f47dc8a90fe in QSignalMapper::mapped (this=this@entry=0x24c01f0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:115
#27 0x00007f47dc8a9305 in QSignalMapper::map (this=0x24c01f0, sender=0x45bd060) at kernel/qsignalmapper.cpp:266
#28 0x00007f47dc8a20ef in QMetaObject::activate (sender=sender@entry=0x45bd060, m=m@entry=0x7f47dc6feca0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffa8d12c70) at kernel/qobject.cpp:3539
#29 0x00007f47dc29ec82 in QAbstractButton::clicked (this=this@entry=0x45bd060, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#30 0x00007f47dbff223e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x208e340) at widgets/qabstractbutton.cpp:548
#31 0x00007f47dbff2a30 in QAbstractButtonPrivate::click (this=this@entry=0x208e340) at widgets/qabstractbutton.cpp:541
#32 0x00007f47dbff2c9c in QAbstractButton::mouseReleaseEvent (this=0x45bd060, e=0x7fffa8d13520) at widgets/qabstractbutton.cpp:1123
#33 0x00007f47dbc80a89 in QWidget::event (this=0x45bd060, event=0x7fffa8d13520) at kernel/qwidget.cpp:8375
#34 0x00007f47dbc338ec in QApplicationPrivate::notify_helper (this=this@entry=0xba0f30, receiver=receiver@entry=0x45bd060, e=e@entry=0x7fffa8d13520) at kernel/qapplication.cpp:4567
#35 0x00007f47dbc36a33 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x45bd060, e=e@entry=0x7fffa8d13520) at kernel/qapplication.cpp:4110
#36 0x00007f47c631acb8 in KoApplication::notify (this=<optimized out>, receiver=0x45bd060, event=0x7fffa8d13520) at /build/buildd/krita-testing-2+git20130808+r74237-41/libs/main/KoApplication.cpp:556
#37 0x00007f47dc88d63e in QCoreApplication::notifyInternal (this=0x7fffa8d15990, receiver=receiver@entry=0x45bd060, event=event@entry=0x7fffa8d13520) at kernel/qcoreapplication.cpp:946
#38 0x00007f47dbc39933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x45bd060, event=event@entry=0x7fffa8d13520, alienWidget=alienWidget@entry=0x45bd060, nativeWidget=nativeWidget@entry=0x65ded50, buttonDown=buttonDown@entry=0x7f47dc711308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#40 0x00007f47dbcaeec4 in QETWidget::translateMouseEvent (this=this@entry=0x65ded50, event=event@entry=0x7fffa8d13cb0) at kernel/qapplication_x11.cpp:4631
#41 0x00007f47dbcadef1 in QApplication::x11ProcessEvent (this=0x7fffa8d15990, event=event@entry=0x7fffa8d13cb0) at kernel/qapplication_x11.cpp:3746
#42 0x00007f47dbcd9b39 in QEventDispatcherX11::processEvents (this=0x91b670, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#43 0x00007f47dc88c38f in QEventLoop::processEvents (this=this@entry=0x7fffa8d13f30, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f47dc88c618 in QEventLoop::exec (this=this@entry=0x7fffa8d13f30, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f47dc0ee1c8 in QDialog::exec (this=this@entry=0x8bad890) at dialogs/qdialog.cpp:554
#46 0x00007f47be29f7de in KisDlgPreferences::editPreferences () at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/ui/dialogs/kis_dlg_preferences.cc:730
#47 0x00007f47be3f021d in KisView2::slotPreferences (this=this@entry=0x1f18640) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/ui/kis_view2.cpp:867
#48 0x00007f47be3f1cb8 in qt_static_metacall (_a=0x7fffa8d14330, _id=2, _o=0x1f18640, _c=<optimized out>) at /build/buildd/krita-testing-2+git20130808+r74237-41/obj-x86_64-linux-gnu/krita/ui/kis_view2.moc:76
#49 KisView2::qt_static_metacall (_o=0x1f18640, _c=<optimized out>, _id=2, _a=0x7fffa8d14330) at /build/buildd/krita-testing-2+git20130808+r74237-41/obj-x86_64-linux-gnu/krita/ui/kis_view2.moc:68
#50 0x00007f47dc8a20ef in QMetaObject::activate (sender=sender@entry=0x635dca0, m=m@entry=0x7f47dc6d57a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffa8d14330) at kernel/qobject.cpp:3539
#51 0x00007f47dbc2d152 in QAction::triggered (this=this@entry=0x635dca0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#52 0x00007f47dbc2e580 in QAction::activate (this=this@entry=0x635dca0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#53 0x00007f47dc06c933 in QMenuPrivate::activateCausedStack (this=this@entry=0x1dd8af0, causedStack=..., action=action@entry=0x635dca0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#54 0x00007f47dc071bf9 in QMenuPrivate::activateAction (this=0x1dd8af0, action=0x635dca0, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1130
#55 0x00007f47dd6c6eb0 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#56 0x00007f47dbc80a89 in QWidget::event (this=this@entry=0x1dd7cf0, event=event@entry=0x7fffa8d14ee0) at kernel/qwidget.cpp:8375
#57 0x00007f47dc0733db in QMenu::event (this=0x1dd7cf0, e=0x7fffa8d14ee0) at widgets/qmenu.cpp:2481
#58 0x00007f47dbc338ec in QApplicationPrivate::notify_helper (this=this@entry=0xba0f30, receiver=receiver@entry=0x1dd7cf0, e=e@entry=0x7fffa8d14ee0) at kernel/qapplication.cpp:4567
#59 0x00007f47dbc36a33 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x1dd7cf0, e=e@entry=0x7fffa8d14ee0) at kernel/qapplication.cpp:4110
#60 0x00007f47c631acb8 in KoApplication::notify (this=<optimized out>, receiver=0x1dd7cf0, event=0x7fffa8d14ee0) at /build/buildd/krita-testing-2+git20130808+r74237-41/libs/main/KoApplication.cpp:556
#61 0x00007f47dc88d63e in QCoreApplication::notifyInternal (this=0x7fffa8d15990, receiver=receiver@entry=0x1dd7cf0, event=event@entry=0x7fffa8d14ee0) at kernel/qcoreapplication.cpp:946
#62 0x00007f47dbc39933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#63 QApplicationPrivate::sendMouseEvent (receiver=0x1dd7cf0, event=event@entry=0x7fffa8d14ee0, alienWidget=0x0, nativeWidget=nativeWidget@entry=0x1dd7cf0, buttonDown=buttonDown@entry=0x7f47dc711308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#64 0x00007f47dbcaed8c in QETWidget::translateMouseEvent (this=this@entry=0x1dd7cf0, event=event@entry=0x7fffa8d15670) at kernel/qapplication_x11.cpp:4565
#65 0x00007f47dbcadef1 in QApplication::x11ProcessEvent (this=0x7fffa8d15990, event=event@entry=0x7fffa8d15670) at kernel/qapplication_x11.cpp:3746
#66 0x00007f47dbcd9b39 in QEventDispatcherX11::processEvents (this=0x91b670, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#67 0x00007f47dc88c38f in QEventLoop::processEvents (this=this@entry=0x7fffa8d158e0, flags=...) at kernel/qeventloop.cpp:149
#68 0x00007f47dc88c618 in QEventLoop::exec (this=this@entry=0x7fffa8d158e0, flags=...) at kernel/qeventloop.cpp:204
#69 0x00007f47dc891cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#70 0x00007f47dbc31ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#71 0x00007f47c68783f2 in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20130808+r74237-41/krita/main.cc:79
#72 0x00000000004084ea in _start ()

Possible duplicates by query: bug 323406, bug 323381, bug 322940, bug 322814, bug 322707.

Reported using DrKonqi
Comment 1 vascoalexander 2013-08-21 11:26:26 UTC
Created attachment 81832 [details]
Canvas Input Shortcut File (kritadefault.profile) that crashes Krita

i can reproduce the crash copying the attached file to home/.../.kde/share/apps/krita/input
Comment 2 vascoalexander 2013-08-21 11:30:23 UTC
kritadefault.profile - Plain Text:

[Alternate Invocation]
0={0;2;[1000021];1;0;0}

[Change Primary Setting]
0={0;2;[1000020];1;0;0}

[General]
name=Krita Default

[Leinwand verschieben]
0={0;2;[];4;0;0}

[Show Popup Palette]
0={0;2;[];0;0;0}

[Tool Invocation]
0={2;1;[1000000];0;0;0}
1={1;1;[1000004];0;0;0}
2={0;2;[];1;0;0}

[Zoom Canvas]
0={0;2;[1000023];1;0;0}
1={0;2;[1000021,20];1;0;0}
2={1;2;[1000021,1000023,20];1;0;0}
3={2;3;[];0;1;0}
4={3;3;[];0;2;0}
5={2;1;[3d];0;0;0}
6={3;1;[2d];0;0;0}
7={4;1;[31];0;0;0}
8={5;1;[32];0;0;0}
9={6;1;[33];0;0;0}
Comment 3 Halla Rempt 2013-09-29 11:59:09 UTC
Git commit 7fa1674174bdaf47b2d680de5c01e39d00ff9765 by Boudewijn Rempt.
Committed on 29/09/2013 at 11:58.
Pushed by rempt into branch 'master'.

Do not assert or crash when passing empty list of buttons
Related: bug 323814

M  +6    -2    krita/ui/input/kis_input_manager.cpp
M  +1    -1    krita/ui/input/kis_stroke_shortcut.cpp

http://commits.kde.org/calligra/7fa1674174bdaf47b2d680de5c01e39d00ff9765
Comment 4 Wayne Parker 2013-10-09 06:04:31 UTC
Created attachment 82736 [details]
New crash information added by DrKonqi

krita (2.8 Pre-Alpha) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:  Change a few shortcuts in canvas input shortcuts.  

- Custom settings of the application: none, just tried to change canvas input settings and then krita crashes until I delete the krita input profile in the kde share folder.

-- Backtrace (Reduced):
#10 0x00007f82f5d58b06 in qt_assert (assertion=assertion@entry=0x7f82ccd710ae "buttons.size() > 0", file=file@entry=0x7f82ccd71060 "/build/buildd/krita-wraparound-wip-0.2/krita/ui/input/kis_stroke_shortcut.cpp", line=line@entry=50) at global/qglobal.cpp:2021
#11 0x00007f82ccd0de08 in KisStrokeShortcut::setButtons (this=0x50d4c10, modifiers=..., buttons=...) at /build/buildd/krita-wraparound-wip-0.2/krita/ui/input/kis_stroke_shortcut.cpp:50
#12 0x00007f82ccd0048f in KisInputManager::Private::addStrokeShortcut (this=0x3d5a060, action=0x3d5a1e0, index=index@entry=0, modifiers=..., buttons=...) at /build/buildd/krita-wraparound-wip-0.2/krita/ui/input/kis_input_manager.cpp:244
#13 0x00007f82ccd014a2 in KisInputManager::profileChanged (this=this@entry=0x3d59f80) at /build/buildd/krita-wraparound-wip-0.2/krita/ui/input/kis_input_manager.cpp:673
#14 0x00007f82cca35e20 in qt_static_metacall (_id=2, _o=0x3d59f80, _c=<optimized out>, _a=<optimized out>) at /build/buildd/krita-wraparound-wip-0.2/obj-x86_64-linux-gnu/krita/ui/moc_kis_input_manager.cpp:54