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 #38 received at 24368 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24368 <at> debbugs.gnu.org
Subject: Re: bug#24368: 25.1; Assertion failure in attach_marker
Date: Mon, 05 Sep 2016 22:28:11 +0200
> 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?

The bug in ‘window-state-get’ is a separate bug.  Its consequences
should be silly window start and point positions.  Emacs should continue
to be operative.

The assertion failure is triggered whenever we copy a marker whose
character position differs from its byte position into a buffer whose
character size equals its byte size.  Such behavior is more than silly.
It may lead to the loss of a user's work.  Agreed?

>> I applied the attached patch.
>
> And which test case triggers the assertion in temp_set_point_both,
> after applying that patch?

The same as in my original report.  You just have to apply the patch for
marker.c first but _not_ the patch for window.el.

martin





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.