We probably would need to see the code (or have a way of replicating
the problem) to get anywhere. The warning means that tiles are
getting locked without afterward getting unlocked. There are about
100 operations in Gimp that call for tiles to be locked, and there's
just no way to have any idea which of them is going wrong without more
No silver bullet, eh? :-) I had hoped this had come up enough in the
past that tile ref tracing facilities already existed; c'est la vie.
I haven't been able to localize the problem sufficiently to build a
simple test case, and the plugin is involved enough that I was trying
to avoid subjecting everyone to it. See below for instructions on
where to get it and how to replicate the problem. I've also attached
a list of all libgimp functions I call, if that would be of any use.
I'll continue to try to narrow it down and produce a simple test case
-- I'm not expecting anyone to do my debugging for me, although I'd
certainly appreciate any suggestions!
Also, if you're running on hot-rod hardware, there's
some possibility that malfunctioning thread interactions are behind
it. Knowing what your plug-in is doing, and what kind of system you
are running on, would at least make a start toward pinning it down.
I'm not sure how you'd define "hot-rod". This is running on a
non-overclocked Core2 Duo / 2.66GHz, with 3 GB of RAM and the stock 32-bit
Ubuntu 7.10 kernel (2.6.22). Are there any other relevant specs? I'm
certainly not doing any explict threading on my end.
For what it's worth, the plugin takes an ASCII terrain map of the form
used by Battle for Wesnoth (www.wesnoth.org) and generates an
ink-and-parchment representation of it. The relevant components seem to
be 'Stain map' below (which just calls script_fu_coffee_stain in
and rendering a border of width greater than 10 or so: disabling either
resolves the problem. Adding the border involves expanding the image,
creating a series of paths, and stroking them with the paintbrush.
- It's 21M, due to a large number of texture images
- The help docs haven't been updated, since I haven't actually
released 0.7.0 yet.
- The website is far, far out of date.
Install: The usual; it's an autotools package.
Run: Run Wercator from under the Xtns menu
Set the following parameters in the first tab:
- Check 'Use parchment'
- Uncheck 'Damage edges'
- Set 'Damage map' to 0
- Set 'Stain map' to 1 (or more)
- Uncheck 'Fold'
- Check 'Render border'
- Select 'Braided Border' (or 'Square' or 'Greek')
- Set Border width to 20 (or more)
Once the map has been generated, quit GIMP
Gimp-developer mailing list