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 138961 - WinXP crash on startup
WinXP crash on startup
Status: RESOLVED DUPLICATE of bug 132366
Product: GIMP
Classification: Other
Component: General
2.0.x
Other Windows
: Normal blocker
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-04-03 16:58 UTC by Greg K Nicholson
Modified: 2004-04-04 17:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Greg K Nicholson 2004-04-03 16:58:42 UTC
Install GTK and GIMP from http://www2.arnes.si/~sopjsimo/gimp/stable.html
Once installed, run the GIMP
GIMP crashes every time, reporting:

(gimp-2.0.exe:1916): GLib-CRITICAL **: file gconvert.c: line 498 (g_convert): as
sertion `str != NULL' failed
Comment 1 Greg K Nicholson 2004-04-03 18:18:47 UTC
The crash always occurs during the startup process at "Looking for data files:
Fonts"
Comment 2 Pedro Gimeno 2004-04-03 18:57:55 UTC
This is just another duplicate of bug #132366.

The workaround is to find the faulty fonts and edit C:\Documents and
Settings\<your_user_name>\.fonts.cache-1, removing the offending characters from
their corresponding font name entries. If you use Notepad to edit the file,
you'll probably want to set line wrapping off as the lines are long and the font
name is near the start of each line.

Perhaps looking for "Fontographer" with the Windows version of "grep" in the
fonts directory may help locating these offending fonts. Can you please try and
report back whether looking for "Fontographer" does help?

I wonder if leaving this bug open will help people find it more easily instead
of reporting it again and again.
Comment 3 Sven Neumann 2004-04-03 19:09:12 UTC

*** This bug has been marked as a duplicate of 132366 ***
Comment 4 Greg K Nicholson 2004-04-03 23:51:09 UTC
I've got a hell of a lot of fonts and I'm not sure which are faulty. Would the
file be regenerated if I just deleted it (based on that fact that the name is
"cache")?
Comment 5 Pedro Gimeno 2004-04-04 10:10:32 UTC
The problematic fonts are always "*.fon". Yes, the file will be regenerated if
you delete it but that won't help if there are lots of troublesome fonts, since
the chance of hitting a wrong Unicode string increases drastically. As I said,
try "grep" on the Fonts directory from a console. You can get grep from e.g.
http://unxutils.sf.net which is standalone. Open a terminal, change to your
Windows dir then type:
 C:\Windows> cd fonts
 C:\Windows\Fonts> grep -l Fontographer *.fon
That should show a list of potentially faulty fonts.
Comment 6 Greg K Nicholson 2004-04-04 16:42:09 UTC
I removed all lines containing ".fon" from .fonts.cache-1 and the GIMP loads
successfully.
It's a shame the GIMP no longer works straight out of the box; perhaps there
could be a script to sort this out automatically?
Comment 7 Sven Neumann 2004-04-04 17:26:55 UTC
The problem has been sorted out and will be fixed in future releases, see bug
#132366.