[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#281203: SEGV in XftCharIndex at "if (!font->hash_value) return 0"



Package: libxft2
Version: 2.1.2-6
Severity: serious

I run a problem which use fltk and SEGV at the beginning of XftCharIndex
The backtrace is like this:

#0  XftCharIndex (dpy=0x81318d0, pub=0x0, ucs4=0) at xftglyphs.c:721
#1  0x41f3d850 in XftDrawString8 (draw=0x8160c38, color=0x81318d0, pub=0x0,
    x=135469264, y=135469264, string=0xbffff1e0 "Quit", len=4) at xftdraw.c:527
#2  0x41b023c5 in fl_draw (str=0x81318d0 "x)\025\b\220$\023\b\a", n=135469264,
    x=135469264, y=135469264) at fl_font_xft.cxx:255
#3  0x41afec43 in fl_draw (str=0x80e9d14 "Quit", x=570, y=344, w=46, h=21,
    align=FL_ALIGN_CENTER,
    callthis=0x41b02290 <fl_draw(char const*, int, int, int)>, img=0x0,
    draw_symbols=1) at fl_draw.cxx:209
#4  0x41aff289 in fl_draw (str=0x80e9d14 "Quit", x=570, y=344, w=46, h=21,
    align=FL_ALIGN_CENTER, img=0x0, draw_symbols=135469264) at fl_draw.cxx:267
#5  0x41b02576 in fl_normal_label (o=0xbffff6c0, X=135469264, Y=135469264,
    W=135469264, H=135469264, align=135469264) at fl_labeltype.cxx:44
#6  0x41b02695 in Fl_Label::draw (this=0x0, X=135469264, Y=135469264,
    W=135469264, H=135469264, align=135469264) at fl_labeltype.cxx:85
#7  0x41b028cc in Fl_Widget::draw_label (this=0x0, X=135469264, Y=135469264,
    W=135469264, H=135469264, a=135469264) at fl_labeltype.cxx:121
#8  0x41b0283b in Fl_Widget::draw_label (this=0x0, X=135469264, Y=135469264,
    W=135469264, H=135469264) at Fl_Widget.H:124
#9  0x41b027db in Fl_Widget::draw_label (this=0x8129d98) at Fl_Widget.H:126
#10 0x41ab43e8 in Fl_Button::draw (this=0x8129d98) at Fl_Button.cxx:63
#11 0x41ac54d4 in Fl_Group::draw_child (this=0x8129d10, widget=@0x8129d98)
    at Fl_Group.cxx:555
---Type <return> to continue, or q <return> to quit---
#12 0x41ac531b in Fl_Group::draw_children (this=0x8129d10) at Fl_Group.cxx:525
#13 0x41ac53aa in Fl_Group::draw (this=0x8129d10) at Fl_Group.cxx:538
#14 0x41af34c1 in Fl_Window::draw (this=0x8129d10) at Fl_Window.cxx:99
#15 0x41abd01c in Fl_Double_Window::flush (this=0x8129d10, eraseoverlay=0)
    at Fl_Double_Window.cxx:310
#16 0x41abcef5 in Fl_Double_Window::flush (this=0x81318d0)
    at Fl_Double_Window.cxx:242
#17 0x41aad79f in Fl::flush () at x.H:123
#18 0x41aad3a5 in Fl::wait (time_to_wait=1e+20) at Fl.cxx:287
#19 0x41aad4bb in Fl::run () at Fl.cxx:295
#20 0x08097067 in main ()

is it a bug?

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libxft2 depends on:
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libfontconfig1            2.2.3-3        generic font configuration library
ii  libfreetype6              2.1.7-2.2      FreeType 2 font engine, shared lib
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:1.2.2-3      compression library - runtime

-- no debconf information



Reply to: