The stack after the segfault is

(gdb) bt
#0  0x0000000000405c11 in text_first (f=0x7fff02871e40) at efaxlib.c:986
#1  0x0000000000405789 in newIFILE (f=0x7fff02871e40, fnames=<value optimized 
out>) at efaxlib.c:1268
#2  0x0000000000401ebf in main (argc=-1474048605, argv=0x7fff02875da8) at 
efix.c:306


I think the problem is line 238 in efix.c:

ifile and ovfile are allocated on the stack, which means they are initialized 
with random values.

As it happens, ifile.font is not zero, thus the default font is not loaded, so 
ifile.font retains its random value, which is an invalid address.



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

Reply via email to