GNU bug report logs - #10913
24.0.94; Crash in redisplay code

Previous Next

Package: emacs;

Reported by: Hannu Koivisto <azure <at> iki.fi>

Date: Wed, 29 Feb 2012 16:14:01 UTC

Severity: normal

Found in version 24.0.94

Done: Glenn Morris <rgm <at> gnu.org>

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: Hannu Koivisto <azure <at> iki.fi>
Cc: 10913 <at> debbugs.gnu.org
Subject: bug#10913: 24.0.94; Crash in redisplay code
Date: Wed, 29 Feb 2012 20:34:23 +0200
> From: Hannu Koivisto <azure <at> iki.fi>
> Date: Wed, 29 Feb 2012 18:12:35 +0200
> 
> Random crash.  I don't know how to reproduce this.  Backtrace included
> below.  Some string variable contents have been changed from what
> they really were.

This is an optimized build, right?  Otherwise, some variables shown
here make no sense at all.  E.g., this:

> #3  0x010873f3 in fast_looking_at (regexp=6, pos=676026, pos_byte=96427,
>     limit=89596416, limit_byte=285891, string=1) at search.c:588

`regexp' is a Lisp string, so it cannot have this value.  And `pos'
and `limit' are likewise garbled.

Anyway, if I'm to believe this backtrace (which I don't, since the
build is evidently optimized), the crash happened here:

	  switch (SWITCH_ENUM_CAST ((re_opcode_t) *pat++))
	    {
	    case on_failure_keep_string_jump:
	      assert (str == NULL);
	      goto continue_failure_jump;

	    case on_failure_jump_nastyloop:
	      assert ((re_opcode_t)pat[-2] == no_op);
	      PUSH_FAILURE_POINT (pat - 2, str);
	      /* Fallthrough */
	    ...
	    default:
	      abort (); <<<<<<<<<<<<<<<<<<<<<
	    }

which means what? that compile_pattern produced an invalid result?
I'd be surprised.

Sigh.




This bug report was last modified 12 years and 94 days ago.

Previous Next


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