There seems to be two possible ways to trigger a bug on amd64, if I load
the font from the menu it crashes when double clicking a letter to edit
it. The crash happens somewhere in Pango.

If I load the font from the command line, the crash happens right after
I single click on a letter, this crash appears to be somewhere in malloc
land.

This seems to be some memory corruption on 64bit since these bugs do not
appear on 32bit. However on the amd64 I don't have access to valgrind to
try and find it.

Mark,
I'd suggest if you can go through the BDF loading code and trying to see
if there are places where variables are not initialized properly when
they are in 64bit mode. Remember that the variables might be larger than
they seem.

One thing that jumps to the eye from memset analysis is that in fontgrid
you memset sometimes with sizeof(unsigned long) and sometimes with
sizeof(guint32), on 64 bit machines the first will be double the size!

Cheers,
Baruch


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to