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

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

Re: Segmentation fault using font '7x13bold'


From: Chris Moore
Subject: Re: Segmentation fault using font '7x13bold'
Date: Fri, 19 May 2006 23:16:18 +0200

On 5/18/06, I wrote:
I just updated my Emacs source tree from CVS and rebuilt.  I visited
the Changelog file and paged down 4 times and Emacs crashed.

I've found what it was in the ChangeLog file which was causing the
crash - it doesn't like the accented characters in Jérôme Marant's
name.  Jérôme's name appears 4 times in the ChangeLog, but only the
first one causes the crash.

I pulled them out into 4 separate files using this command:

 grep Marant ~/programs/emacs/ChangeLog | awk '{print $2}' | split -l1

Then ran Emacs on each of them:

$ emacs xaa
Fatal error (11)Segmentation fault
$ emacs xab
$ emacs xac
$ emacs xad

using 'od' to see the contents of the files:

$ for i in xa?; do echo $i; od -tx1 $i; done
xaa
0000000 4a 1b 2c 62 69 1b 28 42 72 1b 2c 62 74 1b 28 42
0000020 6d 65 0a
0000023
xab
0000000 4a 1b 2c 41 69 1b 28 42 72 1b 2c 41 74 1b 28 42
0000020 6d 65 0a
0000023
xac
0000000 4a 1b 2c 41 69 1b 28 42 72 1b 2c 41 74 1b 28 42
0000020 6d 65 0a
0000023
xad
0000000 4a 65 72 6f 6d 65 0a
0000007
$

- note that both the 'e' and the 'o' take up 7 bytes:
J (4a) e (1b 2c 62 69 1b 28 42) r (72) o (1b 2c 62 74 1b 28 42) m (6d) e (65) 0a

This happens with a one-line .emacs file, such as:

$ cat ~/.emacs
(set-frame-font "9x15")
$

It doesn't happen if I comment that line out.

Chris.




reply via email to

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