unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: emacs-devel@gnu.org
Subject: Re: Emacs crashes, 07nov16
Date: Mon, 19 Nov 2007 00:30:26 +0000 (UTC)	[thread overview]
Message-ID: <m1ItuWw-002K4JC@rattlesnake.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 6151 bytes --]

My intermittent crashes occur when a 20 pixel wide font accompanies an
RMAIL file with a UTF-8 font in it.  It does not occur with an 18
pixel font.

Today's GNU Emacs CVS snapshot, Sun, 2007 Nov 18  23:51 UTC
GNU Emacs 23.0.50.4 (i686-pc-linux-gnu, GTK+ Version 2.12.1)
started in debugger with

    set args -i -q \
    --eval '(emacs-version t)' -bg DodgerBlue4 -fg white \
    -fn '-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO8859-1' \
    -geometry 80x44+660+51 -name '-q GNU Emacs in Debugger 4'

This worked fine on the test file (given below) with an 18 pixel wide
font, but Emacs crashed when I shifted to a 20 pixel font.

(Because I have a high resolution screen and old eyes, I normally use
a 20 pixel font that does not look to me more than 14 actual pixels
high.)

The crash comes on the UTF-8 test file with the 20 pixel font, both
when I shifted from the 18 pixel font and when started a new instance
of Emacs after setting

    set args -i -q \
    --eval '(emacs-version t)' -bg DodgerBlue4 -fg white \
    -fn '-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1' \
    -geometry 80x44+660+51 -name '-q GNU Emacs in Debugger 5'


The backtrace with  -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1

(gdb) bt full
#0  abort () at emacs.c:431
No locals.
#1  0x081608fd in internal_condition_case_2 (bfun=0x8163770 <Frun_hook_with_args>, nargs=2, args=0xbf91d594, handlers=137562361, hfun=0x80619e0 <delete_frame_handler>) at eval.c:1567
	val = <value optimized out>
	c = {
  tag = 8, 
  val = 164459224, 
  next = 0x9cd72d8, 
  gcpro = 0xbf91d4a8, 
  jmp = {{
      __jmpbuf = {134613301, 143787109, 143787101, 143787101, 140514176, 164459224}, 
      __mask_was_saved = -1080961768, 
      __saved_mask = {
        __val = {3214005464, 134614008, 3214005528, 137717769, 164459224, 858992693, 959592497, 143790848, 143791029, 140514180, 140514176, 140514180, 3214005544, 134615033, 140514176, 3214005528, 139479557, 0, 0, 140218436, 3072788108, 3081050916, 1511, 137563360, 3214005544, 135750762, 140217088, 78, 137720200, 137563364, 22, 135950114}
      }
    }}, 
  backlist = 0xbf91d558, 
  handlerlist = 0x817690a, 
  lisp_eval_depth = 137563364, 
  pdlcount = 135950114, 
  poll_suppress_count = 22, 
  interrupt_input_blocked = 22, 
  byte_stack = 0x835da11
}
	h = {
  handler = 137748338, 
  var = 140514176, 
  chosen_clause = 140514176, 
  tag = 0x8601380, 
  next = 0x8601384
}
#2  0x08062305 in Fdelete_frame (frame=140514180, force=137562361) at frame.c:1411
	args = {137720201, 140514180}
	f = (struct frame *) 0x8601380
	sf = <value optimized out>
	kb = <value optimized out>
#3  0x080cca1f in x_connection_closed (dpy=0x85b8b00, error_message=<value optimized out>) at xterm.c:7835
	dpyinfo = (struct x_display_info *) 0x85e1bc8
	frame = 0
	tail = <value optimized out>
#4  0x080ccf2a in x_error_quitter (display=0x85b8b00, error=0xbf91dbbc) at xterm.c:7968
	buf = "BadValue (integer parameter out of range for operation)", '\0' <repeats 200 times>
	buf1 = "X protocol error: BadValue (integer parameter out of range for operation) on protocol request 77\000\331\221\001\310w\003\000\310w\003\000\200\023`\b\310\331\221\277\272(\017\bP\264\204\b`{\204\b\200\023`\b\001\000\000\000Dv\211\b\200\023`\b\000\000\000\000`{\204\b`\026`\b4\332\221\277P\264\204\bH\260\210\b\001\000\000\000\177\f\177\003@v\211\bP\273\207\bT\273\207\b\000\000\000\000H\332\221\277\243\016\r\b"...
#5  0x080ccf80 in x_error_handler (display=0x85b8b00, error=0xbf91dbbc) at xterm.c:7924
No locals.
#6  0xb79a71ef in _XError () from /usr/lib/libX11.so.6
No symbol table info available.
#7  0xb79a9c77 in _XEventsQueued () from /usr/lib/libX11.so.6
No symbol table info available.
#8  0xb7995723 in XPending () from /usr/lib/libX11.so.6
No symbol table info available.
#9  0xb7c0ccfd in gdk_check_xpending (display=<value optimized out>) at /tmp/buildd/gtk+2.0-2.12.1/gdk/x11/gdkevents-x11.c:150
No locals.
#10 0xb7c0cdf1 in gdk_event_prepare (source=0x85c4e00, timeout=0xbf91e4f8) at /tmp/buildd/gtk+2.0-2.12.1/gdk/x11/gdkevents-x11.c:2308
	display = (GdkDisplay *) 0x1
	retval = 0

The test file I ran RMAIL on -- in this message you may not see the
Euro sign that I could see with the test file in the -q instance.

BABYL OPTIONS: -*- rmail -*-
Version: 5
Labels:
Note:   This is the header of an rmail file.
Note:   If you are seeing it in rmail,
Note:    it means the file has no messages in it.
\x1f\f
1,,
X-Coding-System: undecided-unix
Mail-from: From bob@rattlesnake.com Sun Nov 18 23:46:57 2007
Return-Path: <bob>
Received: by rattlesnake.com
	via sendmail from stdin
	id <m1Ittqr-002K4JC@rattlesnake.com> (Debian Smail3.2.0.115)
	Sun, 18 Nov 2007 23:46:57 +0000 (UTC) 
Message-Id: <m1Ittqr-002K4JC@rattlesnake.com>
Date: Sun, 18 Nov 2007 23:46:57 +0000 (UTC)
From: "Robert J. Chassell" <bob@benthic.rattlesnake.com>
To: bob@rattlesnake.com
Subject: test for mail

*** EOOH ***
Date: Sun, 18 Nov 2007 23:46:57 +0000 (UTC)
From: "Robert J. Chassell" <bob@benthic.rattlesnake.com>
To: bob@rattlesnake.com
Subject: test for mail

This is a simple test of mail.


\x1f\f
1,,
X-Coding-System: utf-8-unix
Mail-from: From bob@rattlesnake.com Sun Nov 18 23:47:18 2007
Return-Path: <bob>
Received: by rattlesnake.com
	via sendmail from stdin
	id <m1IttrC-002K4JC@rattlesnake.com> (Debian Smail3.2.0.115)
	Sun, 18 Nov 2007 23:47:18 +0000 (UTC) 
Message-Id: <m1IttrC-002K4JC@rattlesnake.com>
Date: Sun, 18 Nov 2007 23:47:18 +0000 (UTC)
From: "Robert J. Chassell" <bob@benthic.rattlesnake.com>
To: bob@rattlesnake.com
Subject: test for utf-8
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

*** EOOH ***
Date: Sun, 18 Nov 2007 23:47:18 +0000 (UTC)
From: "Robert J. Chassell" <bob@benthic.rattlesnake.com>
To: bob@rattlesnake.com
Subject: test for utf-8
MIME-version: 1.0
Content-type: text/plain; charset=utf-8

(insert (make-char 'latin-iso8859-15 164))

œôôÌ

This is a test of utf-8

\x1f

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

             reply	other threads:[~2007-11-19  0:30 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-19  0:30 Robert J. Chassell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-28 18:36 Emacs crashes, 07nov16 Robert J. Chassell
2007-11-29  6:51 ` Jan Djärv
2007-11-29 11:28   ` Robert J. Chassell
2007-11-29 12:05     ` Jan Djärv
2007-11-28 12:06 Robert J. Chassell
2007-11-28 17:49 ` Jan Djärv
2007-11-16 19:35 Robert J. Chassell
2007-11-18 13:01 ` Richard Stallman
2007-11-18 22:06   ` Robert J. Chassell
2007-11-19 12:25     ` Richard Stallman
2007-11-19 14:05       ` Robert J. Chassell
2007-11-20  3:59         ` Richard Stallman
2007-11-20 11:17           ` Robert J. Chassell
2007-11-20 12:08             ` Jan Djärv
2007-11-20 16:07               ` Robert J. Chassell
2007-11-21  7:42                 ` Jan Djärv
2007-11-21 12:45                   ` Robert J. Chassell
2007-11-21 15:13                     ` Stefan Monnier
2007-11-22  7:07                     ` Jan Djärv
2007-11-22 12:31                       ` Robert J. Chassell
2007-11-22 13:13                         ` Jan Djärv
2007-11-22 16:00                           ` Robert J. Chassell
2007-11-23  9:45                             ` Jan Djärv
2007-11-23 12:31                               ` Robert J. Chassell
2007-11-23 12:46                                 ` David Kastrup
2007-11-23 14:54                                   ` Jan Djärv
2007-11-23 17:07                                     ` Robert J. Chassell
2007-11-24  9:20                                       ` Jan Djärv
2007-11-24 14:08                                         ` Robert J. Chassell
2007-11-26 14:54                                           ` Jan Djärv
2007-11-26 16:44                                             ` Robert J. Chassell
2007-11-26 19:04                                               ` Jan Djärv
2007-11-24  9:19                                 ` Jan Djärv
2007-11-21 12:04                 ` Richard Stallman
2007-11-21 17:20                   ` Robert J. Chassell
2007-11-22  7:07                     ` Jan Djärv
2007-11-22 11:55                       ` Robert J. Chassell

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m1ItuWw-002K4JC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    --cc=emacs-devel@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).