GNOME Bugzilla – Bug 719593
On clang, brush outline is not displayed
Last modified: 2013-12-19 23:06:44 UTC
Hello, list - I have a severe problem that shows itself under OS X (10.9 "Mavericks") both with GIMP 2.8.8 and with 2.8.10; 2.8.6 behaves correctly. The problem happens both on my iMac and on my MacBook Pro.
I have installed on my computers the distribution "GIMP on OS X" by Simone Karin Lehmann; I have alerted about my problem the maintainer of the distribution, because it is probably due to a wrong interaction of GIMP with OS X graphics.
Here is what happens: using the pencil tool (or the brush tool), with 2.8.6 I was used to see the outline of the brush shown on the GIMP canvas; that was extremely useful since I was able to check the current size of the brush on my screen, also while increasing/decreasing that size. Now, I cannot see the brush outline anymore. And this happens with the clone/healing tools too; I cannot see where the clone source will be set (with cmd-click), nor where exactly the cloned zone will land on my image (with left-click).
Maybe I am not so clear (english is my third language only); but I have done two screen recordings, in the .mov format, the first one with 2.8.6 and the second one with 2.8.10; they are available for download on Google Drive, and the link is:
In the first video you may see the brush outline (while I am using the pencil tool and clone tool); in the second one, they are not visible.
Please, help; I know that I could downgrade to 2.8.6, but I would like to see a current GIMP correctly working on my computer.
When I look at the changes between 2.8.6 and 2.8.10 I see nothing that would
even remotely look like it could break brush outline drawing.
Can you try copying libcairo from the 2.8.6 app to 2.8.10 and check if
that fixes the problem? Keep the overwritten file around please :)
(this is just a wild guess)
Reproduced with local builds on OS X 10.7.5, with various versions of GIMP: 2.8.0 (X11), 2.8.4 (Quartz), 2.8.10 and git master (X11, Quartz). The dependencies are installed via MacPorts.
The missing brush outlines seem to depend on which compiler was used to build GIMP: the brush outlines are rendered as expected after a complete rebuild with llvm-gcc-4.2 instead of clang (tested and confirmed with current git master on OS X 10.7.5).
Confirming on Linux + GIMP master + clang 3.3. Setting OS to All
Fixed in master and 2.8
Author: Michael Henning <firstname.lastname@example.org>
Date: Sat Nov 30 16:31:57 2013 -0500
Bug 719593 - On clang, brush outline is not displayed
Don't access path_data->len after path_data has been freed.
(In reply to comment #4)
> Fixed in master and 2.8
> commit 95becc7615c7e9cf2f6135c8d5b0fe1cca86648f
> Author: Michael Henning <email@example.com>
> Date: Sat Nov 30 16:31:57 2013 -0500
> Bug 719593 - On clang, brush outline is not displayed
> Don't access path_data->len after path_data has been freed.
Well, a common programming error... So, I'll wait for a new release that fixes my problem. Thank you for the quick diagnosis and fix, M.
*** Bug 719744 has been marked as a duplicate of this bug. ***
*** Bug 720255 has been marked as a duplicate of this bug. ***
*** Bug 720259 has been marked as a duplicate of this bug. ***
*** Bug 720254 has been marked as a duplicate of this bug. ***