DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2676 Version: 1.3-current All fl_alert dialogs etc seems to crash on Solaris nowadays: Program terminated with signal 11, Segmentation fault. Backtrace: #0 0xff30bd24 in XftCharIndex () from /usr/lib/libXft.so.2 #1 0xff306a20 in XftTextExtents32 () from /usr/lib/libXft.so.2 #2 0x00091d68 in utf8extents () #3 0x00092388 in Fl_Xlib_Graphics_Driver::width(char const*, int) () #4 0x0006cf44 in fl_width(char const*, int) () #5 0x0008f090 in fl_expand_text(char const*, char*, int, double, int&, double&, int, int) () #6 0x0008f30c in fl_draw(char const*, int, int, int, int, unsigned int, void (*)(char const*, int, int, int), Fl_Image*, int) () #7 0x0008fb04 in fl_draw(char const*, int, int, int, int, unsigned int, Fl_Image*, int) () #8 0x000942f0 in fl_normal_label(Fl_Label const*, int, int, int, int, unsigned int) () #9 0x00094398 in Fl_Label::draw(int, int, int, int, unsigned int) const () #10 0x000944b4 in Fl_Widget::draw_label(int, int, int, int, unsigned int) const () #11 0x0006e464 in Fl_Group::draw_child(Fl_Widget&) const () #12 0x0006e654 in Fl_Group::draw_children() () #13 0x00062564 in Fl_Window::flush() () #14 0x00060d0c in Fl::flush() () #15 0x00062904 in Fl::wait(double) () #16 0x000629d4 in Fl::wait() () #17 0x0008bc04 in innards(char const*, void*, char const*, char const*, char const*) () #18 0x0008c038 in fl_choice(char const*, char const*, char const*, char const*, ...) () I've determined that XftTextExtents32 is called from utf8extents, but it is called with desc->font being zero. This seems to be caused by fontopen returning zero. XftFontMatch returns a non-null match_pat, but later the XftFontOpenPattern returns zero. Trying to enable: #if 0 // diagnostic to print the "full name" of the font we actually opened. This works. ...causes the debug printout to segfault. Link: http://www.fltk.org/str.php?L2676 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
