Subject: bug#10913: 24.0.94; Crash in redisplay code

From: Eli Zaretskii <[email-masked]>
Date: Thu, 01 Mar 2012 06:04:28 +0200

> From: Jan Djärv <[email-masked]>
> Date: Wed, 29 Feb 2012 22:23:48 +0100
> Cc: Hannu Koivisto <[email-masked]>,
>  [email-masked]
> 
> > 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.
> 
> 
> Remember that optimization may join aborts together, so they look like they happened there, but it can be just about any abort in that file.

True.  Exactly the reason why I wrote that I don't believe this
backtrace.