emacs-pretest-bug
[Top][All Lists]
Advanced

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

Segmentation fault in best_matching_font()


From: Łukasz Demianiuk
Subject: Segmentation fault in best_matching_font()
Date: Sun, 21 May 2006 16:38:15 +0200

if (needs_overstrike) at xfaces.c:6681
shoud probably be if (best && needs_overstrike)

(gdb) bt full
#0  best_matching_font (f=0x865bd50, attrs=0x85805d0, fonts=0x8580550,
nfonts=1, width_ratio=2,
   needs_overstrike=0xbfffdc68) at xfaces.c:6684
       want_weight = XLFD_WEIGHT_MEDIUM
       got_weight = 140138052
       non_scalable_has_exact_height_p = 0
       font_name = 0x85805d0 "\210"
       best = (struct font_name *) 0x0
       i = 0
       pt = 157
       specified = {5, 157, 5, 1, 140885328}
       exact_p = 0
       avgwidth = 200
#1  0x080bb330 in choose_face_font (f=0x865bd50, attrs=0x88a4730,
fontset=20, c=12,
   needs_overstrike=0xbfffdc68) at xfaces.c:6910
       pattern = 140138052
       fonts = (struct font_name *) 0x8580550
       nfonts = 0
       width_ratio = 140138052
#2  0x080b3d83 in load_face_font (f=0x865bd50, face=0x88a46e8,
c=49152) at xfaces.c:1257
       font_info = (struct font_info *) 0xc000
       font_name = 0x88da6e8 "\201g2\b[8\215\bŠä2\bč\004"
       needs_overstrike = 0
#3  0x080bbad3 in realize_face (cache=0x0, attrs=0x88da6e8, c=49152,
base_face=0x88da6a0,
   former_face_id=140138052) at xfaces.c:7166
       face = (struct face *) 0x88a46e8
#4  0x080b9a09 in lookup_face (f=0x865bd50, attr=0x88da6e8, c=49152,
base_face=0x88da6a0)
   at xfaces.c:5687
       cache = (struct face_cache *) 0x865c400
       hash = 17221816
       face = (struct face *) 0x0
#5  0x080d8f92 in face_for_char (f=0x865bd50, face=0x88da6a0, c=49152)
at fontset.c:548
       fontset = 143501132
       elt = 5
       face_id = 143500960
...


In GNU Emacs 22.0.50.7 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2006-05-20 on wildebeest
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--prefix=/usr/local''

Important settings:
 value of $LC_ALL: pl_PL
 value of $LC_COLLATE: C
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: pl_PL
 locale-coding-system: iso-latin-2
 default-enable-multibyte-characters: t

Minor modes in effect:
 display-time-mode: t
 iswitchb-mode: t
 show-paren-mode: t
 tooltip-mode: t
 auto-compression-mode: t
 mouse-wheel-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 unify-8859-on-encoding-mode: t
 utf-translate-cjk-mode: t
 column-number-mode: t
 line-number-mode: t

reply via email to

[Prev in Thread] Current Thread [Next in Thread]