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


I'm getting a segfault:

(gdb) bt
#0  0xb7e608e8 in XSetFont () from /usr/lib/libX11.so.6
#1  0x080e9ede in XUtf8_measure_extents (display=0x81606a8, d=0, 
    font_set=0x818a6c8, gc=0x0, xx=0xbfffef3c, yy=0xbfffef38,
ww=0xbfffef34, 
    hh=0xbfffef30, string=0x810cfa4 "", num_bytes=0) at
xutf8/utf8Wrap.c:697
#2  0x080d9746 in fl_text_extents (c=0x810cfa3 "x", n=1, dx=@0xbfffefc4, 
    dy=@0xbfffefc0, W=@0xbfffefbc, H=@0xbfffefb8) at fl_font_x.cxx:311
#3  0x080d99c5 in fl_text_extents (c=0x810cfa3 "x", dx=@0xbfffefc4, 
    dy=@0xbfffefc0, w=@0xbfffefbc, h=@0xbfffefb8) at fl_font.cxx:76
#4  0x0808fbd9 in FltkFont (this=0x8198f98, attrs=0xbffff1b4)
    at fltkplatform.cc:120
[...]
(gdb) frame 1
#1  0x080e9ede in XUtf8_measure_extents (display=0x81606a8, d=0, 
    font_set=0x818a6c8, gc=0x0, xx=0xbfffef3c, yy=0xbfffef38,
ww=0xbfffef34, 
    hh=0xbfffef30, string=0x810cfa4 "", num_bytes=0) at
xutf8/utf8Wrap.c:697
697       XSetFont(display, gc, fonts[fnum]->fid);
(gdb) p display
$15 = (Display *) 0x81606a8
(gdb) p gc
$16 = (GC) 0x0
(gdb) p fonts[fnum]->fid
$17 = 31457286


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

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to