After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587543 - crash when invoking certain actions by keyboard shortcut
crash when invoking certain actions by keyboard shortcut
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.6.6
Other All
: High critical
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-07-01 17:26 UTC by asjo+gimpbugbuddy
Modified: 2009-07-08 19:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description asjo+gimpbugbuddy 2009-07-01 17:26:33 UTC
What were you doing when the application crashed?
Pressing shift+- which I have shortcutted to the Unsharp Mark filter.


Distribution: Debian squeeze/sid
Gnome Release: 2.26.1 2009-04-14 (Debian)
BugBuddy Version: 2.26.0

System: Linux 2.6.29-2-amd64 #1 SMP Sun May 17 17:15:47 UTC 2009 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10601901
Selinux: No
Accessibility: Disabled
GTK+ Theme: Simple
Icon Theme: gnome
GTK+ Modules: gnomebreakpad, canberra-gtk-module

Memory status: size: 422907904 vsize: 422907904 resident: 164544512 share: 18485248 rss: 164544512 rss_rlim: 18446744073709551615
CPU usage: start_time: 1246469048 rtime: 894 utime: 770 stime: 124 cutime:73 cstime: 20 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/gimp-2.6'

(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7fd3b6921760 (LWP 24473)]
[New Thread 0x7fd3aabf1950 (LWP 24475)]
[New Thread 0x7fd3ab3f2950 (LWP 24474)]
(no debugging symbols found)
0x00007fd3b295826f in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 0x7fd3b6921760 (LWP 24473))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 g_spawn_sync
    from /usr/lib/libglib-2.0.so.0
  • #2 g_spawn_command_line_sync
    from /usr/lib/libglib-2.0.so.0
  • #3 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 plug_in_history_cmd_callback
  • #6 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #7 ??
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 ??
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #14 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #17 ??
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #20 gtk_accel_group_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 gtk_accel_groups_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_window_activate_key
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 ??
  • #24 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #26 ??
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #33 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #34 ??
    from /usr/lib/libglib-2.0.so.0
  • #35 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #36 app_run
  • #37 main
  • #0 waitpid
    from /lib/libpthread.so.0


---- Critical and fatal warnings logged during execution ----

** Gimp-PDB **: gimp_procedure_get_arguments: assertion `GIMP_IS_PROCEDURE (procedure)' failed 


----------- .xsession-errors ---------------------
[swscaler @ 0x1693bc0]No accelerated colorspace conversion found.
(nautilus:5031): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
(nautilus:5031): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
(nautilus:5031): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
(nautilus:5031): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
(gimp-2.6:24473): Gimp-PDB-CRITICAL **: gimp_procedure_get_arguments: assertion `GIMP_IS_PROCEDURE (procedure)' failed
warning: .dynamic section for "/usr/lib/libz.so.1" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/lib/libbz2.so.1.0" is not at the expected address (wrong library or version mismatch?)
--------------------------------------------------
Comment 1 Adam Sjøgren 2009-07-01 17:50:50 UTC
If I do not use the keyboard shortcut, I do not get a crash.

Also, if I use the keyboard shortcut after having used Unsharp Mask by clicking the menu, it doesn't crash.

So I only get the crash if I use the keyboard shortcut to invoke the function the first time I use it.

Hm, it seems that I have shift+- configured to invoke the Recently Used filter (I thought I had configured it to run Unsharp Mask), so the crash is coming from invoking that with no filters having been used before!

That makes sense: Invoking the Recently Used filter is not going to work if no filters has ever been used. I guess the menu-entry doesn't appear, so it is impossible to reach this crash using the mouse, but with the keyboard shortcut it is.

To reproduce:

1) Put this line in your ~/.gimp-2.6/menurc:

     (gtk_accel_path "<Actions>/plug-in/plug-in-recent-01" "underscore")

2) Start Gimp

3) Open an image

4) Press shift+- (_)
Comment 2 Martin Nordholts 2009-07-01 19:50:08 UTC
Thanks for a good bug report, they are rare these days. Fix pushed to master and gimp-2-6:

commit f07d89de2aafdc3f1e28f87017cfcb6ede2f2791
Author: Martin Nordholts <martinn@src.gnome.org>
Date:   Wed Jul 1 21:45:33 2009 +0200

    Bug 587543 – crash in GNU Image Manipulation Program: Pressing shift+-

    Not all actions have procedures associated with them, for example
    unused "plug-in-recent-[N]" actions, so check for NULL before we
    invoke the plug-in action

 app/widgets/gimppluginaction.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
Comment 3 Adam Sjøgren 2009-07-01 20:01:06 UTC
Thank you for the swift resolution.