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 528292 - pdb.plug_in_gap_morph_layers cannot create more than 3 tweening frames
pdb.plug_in_gap_morph_layers cannot create more than 3 tweening frames
Status: RESOLVED OBSOLETE
Product: gimp-gap
Classification: Other
Component: general
2.2.0
Other All
: Normal normal
: ---
Assigned To: hof
hof
Depends on:
Blocks:
 
 
Reported: 2008-04-15 19:46 UTC by Aniket
Modified: 2018-05-24 10:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Aniket 2008-04-15 19:46:01 UTC
Please describe the problem:
When invoked from the python console, the procedure pdb.plug_in_gap_morph_layers can successfully create at most 3 tweening frames. Requesting 4 or more tweening frames causes the plugin to crash with a segfault.

Steps to reproduce:
1. Create a new image
2. Make two transparency layers with different contents
3. Open the python-fu console
4. Execute 
pdb.plug_in_gap_morph_layers(gimp.image_list()[0], gimp.image_list()[0].layers[1], gimp.image_list()[0].layers[2], 4, 0, True, "/home/aniket/research/morph/workfile", "/home/aniket/research/morph/workfile");
This requests four tweening frames and reveals the bug.

Actual results:
Only three tweening are created of the four expected. A cluttered image is also created and available in the images window, representing some intermittent step of the morphing process. 

The python-fu console displays:
Traceback (most recent call last):
  • File "/usr/lib/gimp/2.0/plug-ins/gtkcons.py", line 267 in run
    exec cmd in self.namespace
  • File "<string>", line 1 in ?
RuntimeError: execution error

The linux terminal from which gimp was executed console displays:
/usr/lib/gimp/2.0/plug-ins/gtkcons.py:186: GtkDeprecationWarning: gtk.idle_add is deprecated, use gobject.idle_add instead
  gtk.idle_add(self.focus_text)
/usr/lib/gimp/2.0/plug-ins/gap_morph: fatal error: Segmentation fault

Expected results:
Four tweening frames should be created

Does this happen every time?
Yes

Other information:
I have not been able to reproduce this problem using the GUI.

The plugin requires a work file to execute. I created this file using the GUI, and in my case all of the data points are along the border of the image, as is the default.
Comment 1 GNOME Infrastructure Team 2018-05-24 10:20:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp-gap/issues/4.