GNU bug report logs - #24368
25.1; Assertion failure in attach_marker

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Mon, 5 Sep 2016 07:26:02 UTC

Severity: normal

Found in version 25.1

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 24368 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 24368 <at> debbugs.gnu.org
Subject: Re: bug#24368: 25.1; Assertion failure in attach_marker
Date: Mon, 05 Sep 2016 21:25:55 +0300
> Date: Mon, 05 Sep 2016 19:58:19 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: 24368 <at> debbugs.gnu.org
> 
>  >> How?  In attach_frame, the buffer where the positions came from is not
>  >> known.
>  >
>  > It looks like the callers already take care of that?  Or did you find
>  > a case where this is not happening?
> 
> How would you then explain the assertion failure I reported initially?

I thought you've explained it yourself?  It was a bug, whereby the
marker was set up incorrectly.  Why would we want the assertions to be
protected from bugs?

Alternatively, if we do want to avoid assertions in such cases, let's
simply signal an error when the conditions don't hold.

>  >> Anyway, I passed an extra boolean to attach_marker to fix that
>  >> and now I get a similar assertion violation in temp_set_point_both.
>  >> This is a can of worms :-(
>  >
>  > Sorry, I guess you lost me: what did you try to fix and how?
> 
> I applied the attached patch.

And which test case triggers the assertion in temp_set_point_both,
after applying that patch?




This bug report was last modified 8 years and 292 days ago.

Previous Next


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