GNU bug report logs - #5856
24.0.50; Crash in redisplay

Previous Next

Package: emacs;

Reported by: Jan Djärv <jan.h.d <at> swipnet.se>

Date: Wed, 7 Apr 2010 19:12:02 UTC

Severity: normal

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 5856 <at> debbugs.gnu.org
Subject: bug#5856: 24.0.50; Crash in redisplay
Date: Thu, 08 Apr 2010 02:49:11 -0400
> Date: Thu, 08 Apr 2010 08:16:13 +0200
> From: Jan Djärv <jan.h.d <at> swipnet.se>
> CC: 5856 <at> debbugs.gnu.org
> 
> >> 12775	  if (!(BUFFERP (glyph->object) && glyph->charpos == pt_old)
> > 
> > Ouch!  My bad, probably.
> > 
> > First, what caused the crash?  I think it's BUFFERP, so please tell
> > what is glyph->object.
> > 
> 
> (gdb) whatis glyph->object
> type = Lisp_Object
> (gdb) p glyph->object
> $4 = 8079492959817000301
> (gdb) pp glyph->object
> #<INVALID_LISP_OBJECT 0x7020200a3b29656d>

Yep, it's an invalid object, somehow.  I wonder how did that happen...

(Btw, in a crashed session, it is not safe to use pp and pr: they call
functions in Emacs, which could themselves crash, depending on the
extent of damage caused by the original crash.  It is better to use
"xtype" followed by an xSOMETHING command, where SOMETHING depends on
what "xtype" prints; for example, "xbuffer" if "xtype" says the object
is a buffer.)

> It is correct, I did C-x b and typed an x in the minibuffer when the crash 
> occurred.  The contents of the minibuffer is two lines.

And it looks like you are using some optional feature for minibuffer
completion?  IOW, what should I do in "emacs -Q" to see the possible
completions as I see them in the output of "pgrow", viz.

  Switch to buffer (default xsettings.h):  x(settings.c,lwmenu.c,lwmenu.h,fns.c,te

I'd like to try to reproduce this problem.

Thanks.




This bug report was last modified 15 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.