GNOME Bugzilla – Bug 301139
Crashes when trying to browse through folders
Last modified: 2006-04-17 21:00:27 UTC
Distribution/Version: XP Simply go to the open folder and browse for a file. Error message: Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0) aborting...
I can't reproduce this - is there anything special with or within the folders?
Looks like the well-known problem with non-TTF fonts on Win32, doesn't it?
I just wonder how this can happen on a XP system - unless the user or some app changed the default font settings, that is.
I just tried to access the c:\ from the file browser and it gave me the error message
This is a known bug in the version of Pango used by the GIMP package (1.4.1); Pango is the font-rendering library that goes with Gtk+. This could actually be called a duplicate of bug #149643, but because the bug is supposedly fixed in later versions of Pango, I am going instead to confirm it and assign it to the GIMP Installer component.
Bug reporter, if you resolve the bug as FIXED, then nobody will pay any more attention to it and nothing will be done -- please leave it open so that it will appear on the list of open bugs, and can remind us that something needs to be upgraded in the installer. Thanks.
*** Bug 302022 has been marked as a duplicate of this bug. ***
*** Bug 302206 has been marked as a duplicate of this bug. ***
Hmm. In a followup comment for bug #302022, it was reported that changing to Pango 1.8.0 did not solve the problem, but that changing the GIMP theme from "default" to "small" did prevent the crash. So it seems there are still some questions to be answered here.
I just tried changing the theme from "default" to "small" and it did indeed prevent GIMP form crashing. (WinXP SP1)
Changing the theme changes the font.
*** Bug 302449 has been marked as a duplicate of this bug. ***
Perhaps the default theme that's disted with the win32 installer should explicitly set the font too.
I distribute the ms-windows-engine (Wimp) compiled from GTK+ source tarball with my installer, maybe this shold be reassigned to GTK+ then?
*** Bug 303688 has been marked as a duplicate of this bug. ***
*** Bug 303710 has been marked as a duplicate of this bug. ***
I think Jernej has a point in comment #14. If this font definition is found in the gtk+ source tree, then it should be fixed there. Reassigning to GTK+.
*** Bug 303790 has been marked as a duplicate of this bug. ***
I've solved my problem with this, so I'm going to tell you what I did. I'm not sure if the problem was installing the GTK without uninstalling the previous version, or installing the Gimp without uninstalling the previous version, but one of the two must have been the main problem. Uninstall both the GTK and Gimp programs and reinstall them fresh. That fixed the problem for me. If you get an error message that says Windows can't uninstall either one because an uninstaller file is missing, manually delete the main program files. I had to do this with GTK, as an uninstaller file was missing from GTK 2.6.4, and 2.6.7 wouldn't even install. Uninstall them both and try a fresh install. In fact, maybe this should be must, and mentioned as necessary directions somewhere.
FWIW, in my case both GTK and Gimp were installed from scratch, no previous installation of any of them.
*** Bug 304142 has been marked as a duplicate of this bug. ***
So, check this out... is the directory where it dies the one with pagefile.sys in it? While the thought that it's rendering of odd letters might hold water, I am in the USA, and never use non-ASCII characters for file names. Perhaps the font biz is a red herring... and it's a wild pointer that is setting glyphs to zero. There certainly have been enough reports of problems here. It is odd that the changing of Themes from Default fixes it, though the wild pointer may hit a less dangerous place then? GIMP is a nice product though
No, it's not the root folder but some folder two levels below. Same goes for non-ASCII chars - I'm in USA too and none of the files have non-US characters.
*** Bug 304068 has been marked as a duplicate of this bug. ***
*** Bug 304440 has been marked as a duplicate of this bug. ***
I just confirmed that changing the theme from "default" to "small" and it did prevent GIMP form crashing, thereby correcting the problem for me. (XPPRO SP2)
*** Bug 305389 has been marked as a duplicate of this bug. ***
Shouldn't this be marked as a Pango bug? Duplicate of bug #304702 (or vice versa?).
*** This bug has been marked as a duplicate of 304702 ***
*** Bug 307929 has been marked as a duplicate of this bug. ***
*** Bug 315535 has been marked as a duplicate of this bug. ***
*** Bug 338809 has been marked as a duplicate of this bug. ***