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 321932 - Map Object plug-in crashes on second call
Map Object plug-in crashes on second call
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.3.x
Other Linux
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-11-20 15:38 UTC by Roxana Chernogolova aka mavka
Modified: 2008-01-15 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Roxana Chernogolova aka mavka 2005-11-20 15:38:14 UTC
Distribution/Version: FC4

1. Run Gimp
2. Open image, apply filtres-map-map object
3. (optionaly) Undo
4. Try to apply map object again:

/usr/local/lib/gimp/2.0/plug-ins/MapObject: fatal error: Segmentation fault
/usr/local/lib/gimp/2.0/plug-ins/MapObject (pid:12220): [E]xit, [H]alt, show [S]
tack trace or [P]roceed: S
  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libc.so.6
  • #2 g_on_error_stack_trace
    from /usr/lib/libglib-2.0.so.0
  • #3 g_on_error_query
    from /usr/lib/libglib-2.0.so.0
  • #4 gimp_plugin_sigfatal_handler
    at gimp.c line 1488
  • #5 <signal handler called>
  • #6 gimp_zoom_button_new
  • #7 main_dialog
    at mapobject_ui.c line 1407
  • #8 run
  • #9 gimp_main
  • #10 main
    at mapobject_main.c line 343

Comment 1 Sven Neumann 2005-11-21 11:29:38 UTC
Seems to work fine for me, I cannot reproduce the problem.
Comment 2 Sven Neumann 2005-11-21 11:44:12 UTC
There is definitely a problem in the Map Object plug-in. The GimpZoomModel must
not be part of the data structure that is being saved and restored using
gimp_set_data() and gimp_get_data().
Comment 3 Sven Neumann 2005-11-21 12:01:16 UTC
Now fixed in CVS:

2005-11-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/MapObject/mapobject_main.[ch]
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.c: must not keep pointers in the
	struct that is being used to preserve data between invocations of
	the plug-in. Fixes bug #321932.