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

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

bug#14272: 24.3.50; crash on loading theme


From: Eli Zaretskii
Subject: bug#14272: 24.3.50; crash on loading theme
Date: Fri, 26 Apr 2013 12:51:43 +0300

> From: Yagnesh Raghava Yakkala <address@hidden>
> Cc: address@hidden
> Date: Fri, 26 Apr 2013 18:24:18 +0900
> 
> > most probably because font->average_width is zero, because
> > FRAME_COLUMN_WIDTH gets its value for font's average_width.
> >
> > Please do this, after Emacs crashes under GD:
> >
> >  (gdb) frame 1
> >  (gdb) p *font
> >  (gdb) pp font_object
> 
> --8<---------------cut here---------------start------------->8---
> (gdb) frame 1
> #1  0x0000000000506e83 in x_new_font (f=0x11c1418, font_object=19333709, 
> fontset=23) at xterm.c:7913
> warning: Source file is more recent than executable.
> 7913    compute_fringe_widths (f, 1);
> (gdb) p *font
> $1 = {
>   header = {
>     size = 4611686018679132178
>   }, 
>   props = {13094754, 16139730, 12959410, 12846194, 13089778, 102720, 102528, 
> 102656, 0, 12846194, 12846194, 0, 23107046, 12846194, 17130513, 17130353, 
> 16123585, 14753874}, 
>   min_width = 0, 
>   max_width = 0, 
>   pixel_size = 0, 
>   height = 3, 
>   space_width = 0, 
>   average_width = 0,  <<<<<<<<<<<<<<<<<<<<<<<<

As expected.

> (gdb) pp font_object
> #<font-object 
> "-unknown-LMSansQuot8-normal-normal-normal-*-*-*-*-*-*-0-iso10646-1">
                                                                       ^
I guess the marked part says it all (assuming I'm right in concluding
that this zero is the size of the font that is being requested).

> > please try this recipe in that build.  
> 
> I don't really know how to do that. 

Did you build your Emacs?  If so, then add the --enable-checking
switch to the configure script when you run it, and then rebuild with
"make".

If you don't build your Emacs, then don't worry about this part of my
response.

> IIRC, I installed a custom font few months ago, that may be the reason.

Are you saying that using this theme worked in the past?





reply via email to

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