Bug 345288 - Crash from digiKam when try customizing a shortcut to a Tag
Summary: Crash from digiKam when try customizing a shortcut to a Tag
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-18 02:01 UTC by Henrique Santos Fernandes
Modified: 2018-08-11 11:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments
New crash information added by DrKonqi (15.16 KB, text/plain)
2015-04-18 15:01 UTC, Henrique Santos Fernandes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrique Santos Fernandes 2015-03-18 02:01:44 UTC
I am trying to set up the letter "a" to add the tag "TAG-A" to some pictures.

Using Tag proprieties it is not possible to set a single letter to the shortcut. You need an combination of Ctrl, ALt or Meta + letter or something like it...



Reproducible: Always

Steps to Reproduce:
1. Add shortcut "Alt + a" to Tag "TAG-A" in tags proprieties
2. Go to Digikam shortcut settings
3. Find the "Add Tag TAG-A to picture"
4. Customize "Add Tag TAG-A to picture" To a single letter. (or any other combination i guess)
5. Click out side, Digikam crashes

Actual Results:  
Digikam crashes
But the shortcut is saved ok

Expected Results:  
Save shortcut

I hope it could be possible to set the shortcut directly from the tags proprieties.

After the change, the shortcut you edited is no longer a "custon key" is now back to "default key"

I hope i made myself clear.

Thanks
Comment 1 caulier.gilles 2015-03-18 06:15:29 UTC
We need a GDB backtrace of crash. Look here for info :

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 Henrique Santos Fernandes 2015-03-18 12:28:34 UTC
$ gdb digikam
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam...(no debugging symbols found)...done.
(gdb) catch throw 
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffc3fff700 (LWP 27142)]
[Thread 0x7fffc3fff700 (LWP 27142) exited]
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
kbuildsycoca4(27156) KBuildSycoca::checkTimestamps: checking file timestamps
kbuildsycoca4(27156) KBuildSycoca::checkTimestamps: timestamps check ok
kbuildsycoca4(27156) kdemain: Emitting notifyDatabaseChanged ()
[New Thread 0x7fff58ff9700 (LWP 27221)]
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so: (libQtGStreamerUtils-1.0.so.0: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so: (libmediawiki.so.1: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "iPodExport"  ( "kipiplugin_ipodexport" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_ipodexport.so: (libgpod.so.4: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so: (libkvkontakte.so.1: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so: (libQtGStreamerUtils-1.0.so.0: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so: (libmediawiki.so.1: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "iPodExport"  ( "kipiplugin_ipodexport" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_ipodexport.so: (libgpod.so.4: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so: (libkvkontakte.so.1: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so: (libQtGStreamerUtils-1.0.so.0: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so: (libmediawiki.so.1: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "iPodExport"  ( "kipiplugin_ipodexport" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_ipodexport.so: (libgpod.so.4: cannot open shared object file: Arquivo ou diretório não encontrado)" 
digikam(27120)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so: (libkvkontakte.so.1: cannot open shared object file: Arquivo ou diretório não encontrado)" 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[New Thread 0x7fff33fff700 (LWP 27222)]
[New Thread 0x7fff597fa700 (LWP 27220)]
[New Thread 0x7fff59ffb700 (LWP 27219)]
[New Thread 0x7fff5a7fc700 (LWP 27218)]
[New Thread 0x7fff5b7fe700 (LWP 27217)]
[New Thread 0x7fff5bfff700 (LWP 27216)]
[New Thread 0x7fff60ff9700 (LWP 27215)]
[New Thread 0x7fff617fa700 (LWP 27214)]
[New Thread 0x7fff61ffb700 (LWP 27213)]
[New Thread 0x7fff627fc700 (LWP 27212)]
[New Thread 0x7fff62ffd700 (LWP 27211)]
[New Thread 0x7fff5affd700 (LWP 27210)]
[New Thread 0x7fff637fe700 (LWP 27209)]
[New Thread 0x7fff63fff700 (LWP 27208)]
[New Thread 0x7fff8cff9700 (LWP 27207)]
[New Thread 0x7fff8d7fa700 (LWP 27206)]
[New Thread 0x7fff8dffb700 (LWP 27205)]
[New Thread 0x7fff8e7fc700 (LWP 27204)]
[New Thread 0x7fff8effd700 (LWP 27203)]
[New Thread 0x7fff8f7fe700 (LWP 27202)]
[New Thread 0x7fff8ffff700 (LWP 27201)]
[New Thread 0x7fffa4ff7700 (LWP 27200)]
[New Thread 0x7fffa57f8700 (LWP 27199)]
[New Thread 0x7fffa5ff9700 (LWP 27198)]
[New Thread 0x7fffa67fa700 (LWP 27197)]
[New Thread 0x7fffa6ffb700 (LWP 27196)]
[New Thread 0x7fffa77fc700 (LWP 27195)]
[New Thread 0x7fffa7ffd700 (LWP 27194)]
[New Thread 0x7fffc0f25700 (LWP 27193)]
[New Thread 0x7fffc2dee700 (LWP 27147)]
[New Thread 0x7fffc3fff700 (LWP 27146)]
[New Thread 0x7fffc8ee8700 (LWP 27141)]
[New Thread 0x7fffc96e9700 (LWP 27140)]
[New Thread 0x7fffcf9c6700 (LWP 27139)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff25c8e75 in QAction::shortcuts() const () from /usr/lib/libQtGui.so.4
(gdb) bt
#0  0x00007ffff25c8e75 in QAction::shortcuts() const () from /usr/lib/libQtGui.so.4
#1  0x00007ffff325fadd in KAction::shortcut(QFlags<KAction::ShortcutType>) const () from /usr/lib/libkdeui.so.5
#2  0x00007ffff32c606d in ?? () from /usr/lib/libkdeui.so.5
#3  0x00007ffff32c629d in ?? () from /usr/lib/libkdeui.so.5
#4  0x00007ffff32c8346 in ?? () from /usr/lib/libkdeui.so.5
#5  0x00007ffff32c8a2f in ?? () from /usr/lib/libkdeui.so.5
#6  0x00007ffff1982d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#7  0x00007ffff32cd077 in ?? () from /usr/lib/libkdeui.so.5
#8  0x00007ffff32c428a in ?? () from /usr/lib/libkdeui.so.5
#9  0x00007ffff32cd1e1 in ?? () from /usr/lib/libkdeui.so.5
#10 0x00007ffff1982d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00007ffff32cd242 in ?? () from /usr/lib/libkdeui.so.5
#12 0x00007ffff32c3aa2 in ?? () from /usr/lib/libkdeui.so.5
#13 0x00007ffff32cd309 in ?? () from /usr/lib/libkdeui.so.5
#14 0x00007ffff1982d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x00007ffff33f79f2 in KKeySequenceWidget::keySequenceChanged(QKeySequence const&) () from /usr/lib/libkdeui.so.5
#16 0x00007ffff33f98a4 in ?? () from /usr/lib/libkdeui.so.5
#17 0x00007ffff1982d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007ffff1987363 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007ffff25ce9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007ffff25d5408 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007ffff33436fa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007ffff196e28d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007ffff199f9db in ?? () from /usr/lib/libQtCore.so.4
#24 0x00007ffff199ca59 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007fffea03e71d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007fffea03ea08 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007fffea03eabc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007ffff199d37d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007ffff26723a6 in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007ffff196cde1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007ffff196d145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007ffff2aa28ec in QDialog::exec() () from /usr/lib/libQtGui.so.4
#33 0x00007ffff32ccff8 in KShortcutsDialog::configure(bool) () from /usr/lib/libkdeui.so.5
#34 0x000000000059a4ae in ?? ()
#35 0x000000000059a98b in ?? ()
#36 0x00007ffff1982d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#37 0x00007ffff25c81e2 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#38 0x00007ffff25c9d67 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#39 0x00007ffff2a1cd9d in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007ffff2a21759 in ?? () from /usr/lib/libQtGui.so.4
#41 0x00007ffff340c473 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#42 0x00007ffff2621c08 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#43 0x00007ffff2a2572b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#44 0x00007ffff25ce9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#45 0x00007ffff25d556f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#46 0x00007ffff33436fa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#47 0x00007ffff196e28d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#48 0x00007ffff25d4bcf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#49 0x00007ffff264bb3a in ?? () from /usr/lib/libQtGui.so.4
#50 0x00007ffff264a19c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#51 0x00007ffff26722e2 in ?? () from /usr/lib/libQtGui.so.4
#52 0x00007fffea03e71d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#53 0x00007fffea03ea08 in ?? () from /usr/lib/libglib-2.0.so.0
#54 0x00007fffea03eabc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#55 0x00007ffff199d397 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0x00007ffff26723a6 in ?? () from /usr/lib/libQtGui.so.4
#57 0x00007ffff196cde1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#58 0x00007ffff196d145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#59 0x00007ffff19726e9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#60 0x0000000000496726 in ?? ()
#61 0x00007ffff0cc3800 in __libc_start_main () from /usr/lib/libc.so.6
#62 0x0000000000498fe9 in _start ()
(gdb) 
(gdb) quit
A debugging session is active.

	Inferior 1 [process 27120] will be killed.

Quit anyway? (y or n) y
Comment 3 Henrique Santos Fernandes 2015-03-18 12:30:58 UTC
If you need anything else, let me know.

I wasnt sure if i needed to attach or paste in the comment.. so i pasted...

There is one diferences when runing from gdb, 
Digikam hangs insted of crash.. but i think this is becasue gdb itself.
Comment 4 caulier.gilles 2015-03-18 12:43:56 UTC
There is no debug symbols from digiKam. Install debug package and try again. digiKam source code must be listed in GDB backtrace.

Gilles Caulier
Comment 5 Henrique Santos Fernandes 2015-03-18 13:15:45 UTC
Sorry, i don't have time right now to see those debugs packages and etc

Did you try to reproduce?
Would be easier and faster if you could reproduce...


Thanks
Comment 6 caulier.gilles 2015-03-18 13:36:13 UTC
not reproducible here.

I suspect a conflict with global shortcuts from you KDE desktop...

Gilles Caulier
Comment 7 Henrique Santos Fernandes 2015-03-18 14:22:18 UTC
weird

I don't use kde, i am currently in gnome.. but i do have plasma5 instaled.

The trace above i got from lxde because gnome-shell was freezing.

Once i have time i will install debug packages and etc

i am at work now, and not sure if i will have anytime this week to do so.

Sorry
Comment 8 Henrique Santos Fernandes 2015-03-21 14:17:09 UTC
Follow the trace with debug symbols...  i don't see much difference.. am i doing something wrong?


$ gdm digikam
<3>Falha ao criar diretório /var/run/gdm marcador de executado uma vez: Operação não permitida
<5>GLib: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Operação não permitida
<3>Falha ao criar logdir /var/log/gdm: Operação não permitida
<5>Somente o usuário administrador pode executar o GDM
[sfrique@sfrique-arch ~]$ gdb digikam
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam...done.
(gdb) ca
call   catch  
(gdb) catch throw 
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffc3fff700 (LWP 13715)]
[Thread 0x7fffc3fff700 (LWP 13715) exited]
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
kbuildsycoca4(13738) KBuildSycoca::checkTimestamps: checking file timestamps
kbuildsycoca4(13738) KBuildSycoca::checkTimestamps: timestamps check ok
kbuildsycoca4(13738) kdemain: Emitting notifyDatabaseChanged ()
[New Thread 0x7fff317fa700 (LWP 13800)]
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
[Thread 0x7fff317fa700 (LWP 13800) exited]
[New Thread 0x7fff30ff9700 (LWP 13801)]
[New Thread 0x7fffc0ab2700 (LWP 13741)]
[New Thread 0x7fffc2b5d700 (LWP 13732)]
[New Thread 0x7fffc3fff700 (LWP 13731)]
[New Thread 0x7fffc8a5a700 (LWP 13714)]
[New Thread 0x7fffc925b700 (LWP 13713)]
[New Thread 0x7fffcf539700 (LWP 13687)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff25cce75 in QAction::shortcuts() const () from /usr/lib/libQtGui.so.4
(gdb) 
(gdb) bt
#0  0x00007ffff25cce75 in QAction::shortcuts() const () from /usr/lib/libQtGui.so.4
#1  0x00007ffff3263add in KAction::shortcut(QFlags<KAction::ShortcutType>) const () from /usr/lib/libkdeui.so.5
#2  0x00007ffff32ca06d in ?? () from /usr/lib/libkdeui.so.5
#3  0x00007ffff32ca29d in ?? () from /usr/lib/libkdeui.so.5
#4  0x00007ffff32cc346 in ?? () from /usr/lib/libkdeui.so.5
#5  0x00007ffff32cca2f in ?? () from /usr/lib/libkdeui.so.5
#6  0x00007ffff1986d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#7  0x00007ffff32d1077 in ?? () from /usr/lib/libkdeui.so.5
#8  0x00007ffff32c828a in ?? () from /usr/lib/libkdeui.so.5
#9  0x00007ffff32d11e1 in ?? () from /usr/lib/libkdeui.so.5
#10 0x00007ffff1986d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00007ffff32d1242 in ?? () from /usr/lib/libkdeui.so.5
#12 0x00007ffff32c7aa2 in ?? () from /usr/lib/libkdeui.so.5
#13 0x00007ffff32d1309 in ?? () from /usr/lib/libkdeui.so.5
#14 0x00007ffff1986d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x00007ffff33fb9f2 in KKeySequenceWidget::keySequenceChanged(QKeySequence const&) () from /usr/lib/libkdeui.so.5
#16 0x00007ffff33fd8a4 in ?? () from /usr/lib/libkdeui.so.5
#17 0x00007ffff1986d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007ffff198b363 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007ffff25d29ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007ffff25d9408 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007ffff33476fa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007ffff197228d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007ffff19a39db in ?? () from /usr/lib/libQtCore.so.4
#24 0x00007ffff19a0a59 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007fffea06171d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007fffea061a08 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007fffea061abc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007ffff19a137d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007ffff26763a6 in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007ffff1970de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007ffff1971145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007ffff2aa68ec in QDialog::exec() () from /usr/lib/libQtGui.so.4
#33 0x00007ffff32d0ff8 in KShortcutsDialog::configure(bool) () from /usr/lib/libkdeui.so.5
#34 0x000000000059a5fe in Digikam::DigikamApp::slotEditKeys (this=<optimized out>) at /home/sfrique/Downloads/digikam/src/digikam-4.7.0/core/app/main/digikamapp.cpp:2451
#35 0x000000000059aadb in Digikam::DigikamApp::qt_static_metacall (_o=0xf9c1c0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at /home/sfrique/Downloads/digikam/src/build/core/app/digikamapp.moc:220
#36 0x00007ffff1986d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#37 0x00007ffff25cc1e2 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#38 0x00007ffff25cdd67 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#39 0x00007ffff2a20d9d in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007ffff2a25759 in ?? () from /usr/lib/libQtGui.so.4
#41 0x00007ffff3410473 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#42 0x00007ffff2625c08 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#43 0x00007ffff2a2972b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#44 0x00007ffff25d29ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#45 0x00007ffff25d956f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#46 0x00007ffff33476fa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#47 0x00007ffff197228d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#48 0x00007ffff25d8bcf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#49 0x00007ffff264fb3a in ?? () from /usr/lib/libQtGui.so.4
#50 0x00007ffff264e19c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#51 0x00007ffff26762e2 in ?? () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#52 0x00007fffea06171d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#53 0x00007fffea061a08 in ?? () from /usr/lib/libglib-2.0.so.0
#54 0x00007fffea061abc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#55 0x00007ffff19a1397 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0x00007ffff26763a6 in ?? () from /usr/lib/libQtGui.so.4
#57 0x00007ffff1970de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#58 0x00007ffff1971145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#59 0x00007ffff19766e9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#60 0x0000000000496726 in main (argc=<optimized out>, argv=<optimized out>) at /home/sfrique/Downloads/digikam/src/digikam-4.7.0/core/app/main/main.cpp:237
Comment 9 caulier.gilles 2015-03-21 14:29:25 UTC
The crash trace is clear : digiKam call as expected the KDE shortcut config dialog. This one crash internally into KDELIbs. It's abnormal and sound like a KDE bug.

Gilles Caulier
Comment 10 caulier.gilles 2015-03-21 14:32:44 UTC
Henrique, 

I move this file to KDELibs component, as i suspect a problem with KDE shorcuts config management.

Please, specify which KDE version you use exactly.

Note : the is nothing special from digiKam side : we pass Action Collection to KDE config dialog, and that all.

Gilles Caulier
Comment 11 Henrique Santos Fernandes 2015-03-21 14:39:02 UTC
Gilles,

As far as i can tell i use kde5, but it seens archlnux keep both kde4 and kde5 for some reason.

I am using uptodate archlinux kde5 packages. But as i said, i only have them installed for using kde5 (plasma) so i cantry it out. 

My main desktop is gnome-shell. I also have lots of others desktops instaled, so i can try them out  once in a while.

If you need me to run specific commands let me know!

Thanks.
Comment 12 Henrique Santos Fernandes 2015-04-18 15:01:41 UTC
Created attachment 92113 [details]
New crash information added by DrKonqi

digikam (4.9.0) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed:
Change a tag shortcut to only a letter

- Custom settings of the application:
Add a shortcut to a tag

-- Backtrace (Reduced):
#6  0x00007fd044720ec5 in QAction::shortcuts() const () from /usr/lib/libQtGui.so.4
#7  0x00007fd0453baadd in KAction::shortcut(QFlags<KAction::ShortcutType>) const () from /usr/lib/libkdeui.so.5
[...]
#21 0x00007fd0455529f2 in KKeySequenceWidget::keySequenceChanged(QKeySequence const&) () from /usr/lib/libkdeui.so.5
[...]
#24 0x00007fd043adde73 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007fd0447269fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
Comment 13 caulier.gilles 2018-08-11 11:22:06 UTC
Since digiKam 5.0.0 with the port to Qt5, we use only QAction instead KAction, and problem cannot be reproduce.

Gilles Caulier