DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1660
Version: 2.0-current
Fix Version: 2.0-current


Read the original comment.  It crashes when getting either the list of
encodings or the list of sizes on X11.
The list of encodings function (IIRC) has a bug where a static is not
initialized to zero, but that's not the source of the crash.
I also compared the code to the 1.0 branch and they were identical (down
to even the bug of the uninitialized static variable), so my guess is that
the bug is either on both, or the bug is present on 2.0 but it is related
to some other uninitialized variable somewhere else out there.
I am no expert on X11 or Xft, but as far as I could tell, the functions
are being called correctly (I think I also compared the code against
xlsfonts which is the Xft demo for listing stuff, IIRC).
I also run the code under valgrind with no report (albeit valgrind will
not catch any static variables or auto variable memory overruns).


Link: http://www.fltk.org/str.php?L1660
Version: 2.0-current
Fix Version: 2.0-current

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to