[Insight-users] Sid broke my Applications

Gavin Baker gavinb+xtk at cs.mu.OZ.AU
Thu Nov 11 03:09:39 EST 2004


Greetings & salutations,

In the wake of a recent dist-upgrade under Debian sid/unstable (1), my
FLTK, X server and X fonts have all been upgraded.  Something in that
change has broken the InsightApplications for me, at least those that
use FLTK (2).

What I get now is a segfault at XftCharIndex(), and looking at the
stack trace it is where fl_draw() calls XftDrawString8() in response
to a draw_label().  It seems a null font handle is being passed in,
which is undesireable to say the least.

Has anyone else seen this problem?  Interestingly, if I fire it up
with the environment variable LANG unset (normally en_AU for me) it
runs fine, but with blank labels for everything (3).  Running with
LANG=en_US still segfaults.  So it really seems like a fonty
problem...

Anyone else who has seen this please drop me a line.

Guess it's time to fire up GDB!

cheerio -

  :: Gavin



(1) Yes, you take your chances with Sid - I know... I rarely have a
    problem though.

(2) It is FLTK 1.1.5, but with the jpeg stuff disabled, so there is no
    conflict with the system libraries which are indeed used.

(3) Now that would seem to be another bug; it should default to the C
    locale, or en_US or something.



-- 
Gavin Baker                                      Complex Systems Group
http://www.cs.mu.oz.au/~gavinb             The University of Melbourne


More information about the Insight-users mailing list