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 516369 - Wind plug-in crashes
Wind plug-in crashes
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.4.x
Other All
: Normal major
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-02-14 07:04 UTC by Jari Saarelainen
Modified: 2008-10-30 20:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the file before applying wind (23.69 KB, image/x-xcf)
2008-02-21 13:51 UTC, Jari Saarelainen
Details

Description Jari Saarelainen 2008-02-14 07:04:36 UTC
Steps to reproduce:
1. create a duplicate of a new text layer
2. alpha channel to selection
3. apply filters->distorsion->wind


Stack trace:


Other information:
this occurs both in winxp and ubuntu 7.10
Comment 1 Sven Neumann 2008-02-14 07:39:46 UTC
I cannot reproduce this problem. Please give a more detailed description. What type of image are you working on, what are the layer sizes? Perhaps attach a small XCF file that we can use to reproduce the problem.
Comment 2 Jari Saarelainen 2008-02-21 12:21:40 UTC
The size of the image it happens on is the default size 420x300.
> I'm trying to reproduce a bloody text tutorial wich include following
> steps:
> * Create a text layer
> * Duplicate the the layer - and with that layer selected:
> * Hide the first textlayer
> * Enlarge the selection to layer boundary ( border?) ( The program is
> swedish I hope it the correct translation.
> * Transform  -> rotate the layer CCW
> * Layer to Alpha selection
> * bucket fill selection with red
> * Filter - distorsion - wind
> 
> And then plug-in crashes and warning window pops up with notice to save
> the current work.
> 
> that tutorial includes also gaussian blur, transforming selection CW
> back

 The crash occurs as I described but when I
deselected the item and added wind plug-in it behaved normal.
Comment 3 Sven Neumann 2008-02-21 12:52:50 UTC
This is still not enough information to reproduce the problem. Please attach an XCF file with everything before the step where the crash occurs.
Comment 4 Jari Saarelainen 2008-02-21 13:51:39 UTC
Created attachment 105696 [details]
the file before applying wind

requiered file
Comment 5 Sven Neumann 2008-02-22 07:22:02 UTC
Thanks. I can reproduce the crash now:

  • #11 IA__g_malloc
    at /tmp/buildd/glib2.0-2.14.6/glib/gmem.c line 135
  • #12 render_effect
    at wind.c line 460
  • #13 run
    at wind.c line 234

Comment 6 Sven Neumann 2008-02-22 07:40:40 UTC
This is now fixed in both branches:

2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wind.c (render_wind): fixed call to
	gimp_drawable_mask_intersect() which was causing a crash as
	reported in bug #516369.