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 340365 - F1 on Buffers Dialog causes gimp to crash
F1 on Buffers Dialog causes gimp to crash
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
git master
Other Linux
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-05-02 03:41 UTC by Carol
Modified: 2006-05-03 14:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carol 2006-05-02 03:41:07 UTC
I have installed gimp-help-common from Debian unstable.

In the preferences, I have told GIMP to use the web browser to display the help documentation and I have shown it the path to my web browser binary.

When I open File/Dialogs/Buffers and press F1 while the mouse is hovering over any part of the dialog face, GIMP crashed.

Then I ran "gdb --args gimp-2.3 --g-fatal-warnings" and GIMP crashed while loading the helpbrowser plug-in:

  • #0 raise
    from /lib/tls/libc.so.6
  • #1 abort
    from /lib/tls/libc.so.6
  • #2 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #3 g_log
    from /usr/lib/libglib-2.0.so.0
  • #4 gimp_wire_read
    at gimpwire.c line 139
  • #5 _gimp_wire_read_int8
    at gimpwire.c line 357
  • #6 _gimp_wire_read_int32
    at gimpwire.c line 311
  • #7 gimp_wire_read_msg
    at gimpwire.c line 255
  • #8 plug_in_call_query
    at plug-in.c line 171
  • #9 gimp_plug_in_manager_restore
    at gimppluginmanager.c line 365
  • #10 gimp_real_restore
    at gimp.c line 583
  • #11 g_cclosure_marshal_VOID__POINTER
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #17 gimp_restore
    at gimp.c line 822
  • #18 app_run
    at app_procs.c line 268
  • #19 main
    at main.c line 316

Comment 1 Carol 2006-05-02 04:08:47 UTC
After looking at ./autogen.sh --help, I reran it: ./autogen.sh  --with-html-dir=/usr/share/doc/gimp-help-en/html/

The configuration report is telling me this:

Optional Plug-Ins:
  Help Browser:     no (GtkHtml2 not found)

So, I started to think that maybe some other time and some other version of GIMP I might have built gimp with the help browser.  And there it was:

-rwxr-xr-x 1 root root 146887 2005-10-01 08:39 /usr/local/lib/gimp/2.0/plug-ins/helpbrowser

The dark side of backwards compatiblity....

What would be nice is if it could be handled so that it will not crash if things with the plug-in do not go as expected.

I am uncertain if this bug report should be closed with a reprimand to the filer or fixed or refiled with a different summary.
Comment 2 Sven Neumann 2006-05-02 07:21:06 UTC
GIMP must of course not crash, no matter what goes wrong with the plug-in. And the help-browser plug-in from GIMP 2.2 should also work with GIMP 2.3.
Comment 3 Carol 2006-05-02 07:25:14 UTC
gtkhtml2 is not installed.

It is very unusual circumstances.
Comment 4 Sven Neumann 2006-05-03 14:15:18 UTC
2006-05-03  Sven Neumann  <sven@gimp.org>

	* app/core/gimpparamspecs.c (gimp_string_array_new,
	gimp_param_string_array_validate): relaxed the checks so that
	GimpStringArray deals correctly with (length == 0 && data != NULL).
	Fixes bug #340365.