GNOME Bugzilla – Bug 170826
Gimp Crashes when trying to save a pic to a different folder
Last modified: 2008-01-15 12:50:24 UTC
Open a picture from the 'desktop' folder. Once the picture is open, click "file" and "save as", then, in the 'save image' box that comes up, select "Browse for other folders", then in the window that comes up, try selecting the 'Desktop' folder, and watch the Gimp crash with the error message that reads "Pango-Error** file shape.c:line 75(pango_shape):assertation failed (glyphs->num_glyphs>0) aborting"
First question: what version of Gtk+ is installed on your system?
I am using Gtk+ 2.6.2
Duplicate of bug #161797 ?!
Bug reporter: comment #3 is asking whether your Desktop folder happens to be located on a server, rather than on the machine you are using. If so, then this would be a duplicate of bug #161797, and that would be bad, because that bug was supposedly fixed for Gtk+ 2.6.2. In any case, here is another question: what is the default font on your system, and do you still see the problem if you change to a different one (specifically, to one of the fonts that appears in GIMP's text tool font list)? I ask because Pango is the font-handling library that GIMP uses.
The desktop folder is the one on my computer, not on a server. It is the "C:\Documents and Settings\Owner\Desktop" folder to be exact. As for the font, the one that is set for active title bars is "Ariel." I did try to switch it to "Tahoma", but the problem still remaned, so I switched it back to "Ariel."
I would now like to mention that I managed to fix the problem, but I will have to explain. I guess I should have mentioned that I use a theme editor program called "Style XP." It chages the themes and visual styles to any style that you may browse through/download on many internet sites, and sometimes it modifies the fonts as well, depending on whether the particular theme you are using was created to use a different font. Mentioning the fonts made me think that maybe the theme/visual style was the problem. So I changed the theme, and the new theme doesn't seem to conflict at all. But thank you all for the input. Maybe something to think about in future builds of the Gimp. There are a lot of popular theme editors out there...Style XP and Windowblinds are but two of the most popular. And many of the themes for Style XP are created by anybody who has a style builder program, and then posted on the sites that host them. If the Gimp can't be made bulletproof or completely compatible with these programs or 3rd party themes, maybe include something in the help files that discuss compatibility issues with theme editor programs/3rd party themes.
Thanks for the information. It looks like the story is that this is a problem in Pango that has been around for a while, but unfortunately the Pango developers have not yet succeeded in figuring out what is wrong and how to fix it. See the referenced bug report for more information. My guess, by the way, is that there is a strange character in one of your filenames, and the file save widget (which comes from Gtk+, not from GIMP) is barfing when trying to render it. So it may be worth taking a minute to look around for something like that. But it's only a guess. *** This bug has been marked as a duplicate of 151068 *** *** This bug has been marked as a duplicate of 151068 ***