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

[STR Pending]

Link: http://www.fltk.org/str.php?L2550
Version: 1.3-current


Yep, I get a similar debug:

(gdb) where
#0  0xb7cb6022 in XSetFont () from /usr/lib/libX11.so.6
#1  0x080755b3 in XUtf8_measure_extents (display=0x80c20f0, d=0,
font_set=0x80ca230, gc=0x0, xx=0xbfd10d8c, yy=0xbfd10d88, ww=0xbfd10d84,
hh=0xbfd10d80, string=0x807ec29 "", num_bytes=0) at xutf8/utf8Wrap.c:698
#2  0x08062d4d in fl_text_extents (c=0x807ec28 "x", n=1, dx=@0xbfd10dec,
dy=@0xbfd10de8, W=@0xbfd10de4, H=@0xbfd10de0) at fl_font_x.cxx:311
#3  0x08062db8 in fl_text_extents (c=0x807ec28 "x", dx=@0xbfd10dec,
dy=@0xbfd10de8, w=@0xbfd10de4, h=@0xbfd10de0) at fl_font.cxx:76
#4  0x0804b722 in main ()

I'd guess that d=0 (drawable) and gc=0x0 (graphics context) is probably a
bad thing. And probably understandable given no window has been opened
yet. But apparently XUtf8_measure_extents() needs these in order to
operate correctly, since it calls XSetFont() with the gc, and that seems
to be where it's crashing.


Link: http://www.fltk.org/str.php?L2550
Version: 1.3-current

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

Reply via email to