all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Yagnesh Raghava Yakkala <hi@yagnesh.org>
Cc: 14272@debbugs.gnu.org
Subject: bug#14272: 24.3.50; crash on loading theme
Date: Fri, 26 Apr 2013 12:51:43 +0300	[thread overview]
Message-ID: <83mwsltya8.fsf@gnu.org> (raw)
In-Reply-To: <87mwslzltp.fsf@yagnesh.org>

> From: Yagnesh Raghava Yakkala <hi@yagnesh.org>
> Cc: 14272@debbugs.gnu.org
> 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	other threads:[~2013-04-26  9:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26  3:18 bug#14272: 24.3.50; crash on loading theme Yagnesh Raghava Yakkala
2013-04-26  6:03 ` Eli Zaretskii
2013-04-26  7:18   ` Yagnesh Raghava Yakkala
2013-04-26  7:51     ` Eli Zaretskii
2013-04-26  9:24       ` Yagnesh Raghava Yakkala
2013-04-26  9:51         ` Eli Zaretskii [this message]
2013-04-26 12:31           ` Yagnesh Raghava Yakkala
2013-04-26 13:17             ` Eli Zaretskii
2013-04-26 16:59               ` Yagnesh Raghava Yakkala
2013-04-26 17:11                 ` Glenn Morris
2013-04-26 18:13                   ` Yagnesh Raghava Yakkala
2013-04-27 13:42       ` Handa Kenichi
2013-04-27 14:35         ` Yagnesh Raghava Yakkala
2013-04-26  7:29 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mwsltya8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14272@debbugs.gnu.org \
    --cc=hi@yagnesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.