GNU bug report logs - #18584
24.3.93; Assertion violation in pop_it

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Mon, 29 Sep 2014 14:40:02 UTC

Severity: normal

Found in version 24.3.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18584 in the body.
You can then email your comments to 18584 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18584; Package emacs. (Mon, 29 Sep 2014 14:40:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 29 Sep 2014 14:40:04 GMT) Full text and rfc822 format available.

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

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.93; Assertion violation in pop_it
Date: Mon, 29 Sep 2014 16:26:11 +0200
[Message part 1 (text/plain, inline)]
Hello,

I'm running emacs-24 branch as of Fabrice Niessen's commit :
Author: Fabrice Niessen <fniessen <at> pirilampo.org>
Date:   Mon Sep 29 16:30:16 2014 +0400

    Check in accumulated leuven-theme updates before it's too late
    
    * themes/leuven-theme.el: Updates.

Here's a recipe for getting to an eassert violation in pop_it (xdisp.c):

run: emacs -Q ~/tmp/bug2.org -f visual-line-mode -f org-indent-mode -f end-of-buffer -f org-content

where bug2.org is the attached file (I gzipped it)
[bug2.gz (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
then place mouse cursor in the blank area after the last line (let's say
right under "(xxx)") and scroll down with the mouse (i.e. turn the wheel
up). I usually get the crash immediately, or sometime after scroll-up
then down again.

Here's the gdb session :

(gdb) r -Q ~/tmp/bug2.org -f visual-line-mode -f org-indent-mode -f end-of-buffer -f org-content
Starting program: /home/youngfrog/sources/running-emacs/src/emacs -Q ~/tmp/bug2.org -f visual-line-mode -f org-indent-mode -f end-of-buffer -f org-content --eval '(sit-for 3)' -f scroll-down
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb632cb40 (LWP 12762)]
[New Thread 0xb58e4b40 (LWP 12763)]
[New Thread 0xb4e11b40 (LWP 12764)]

xdisp.c:6184: Emacs fatal error: assertion failed: (BUFFERP (it->object) && IT_CHARPOS (*it) == it->bidi_it.charpos && IT_BYTEPOS (*it) == it->bidi_it.bytepos) || (STRINGP (it->object) && IT_STRING_CHARPOS (*it) == it->bidi_it.charpos && IT_STRING_BYTEPOS (*it) == it->bidi_it.bytepos) || (CONSP (it->object) && it->method == GET_FROM_STRETCH)

Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647)
    at emacs.c:351
351	  signal (sig, SIG_DFL);
(gdb) frame 2
#2  0x08098ccf in pop_it (it=0xbfffc6b0) at xdisp.c:6178
6178	      eassert ((BUFFERP (it->object)
(gdb) p IT_CHARPOS (*it)
$1 = 57215
(gdb) p it->bidi_it.charpos
$2 = 57755


-- 
Nicolas Richard

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18584; Package emacs. (Thu, 02 Oct 2014 10:08:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 18584 <at> debbugs.gnu.org
Subject: Re: bug#18584: 24.3.93; Assertion violation in pop_it
Date: Thu, 02 Oct 2014 12:05:59 +0200
Nicolas Richard <theonewiththeevillook <at> yahoo.fr> writes:
> I'm running emacs-24 branch as of Fabrice Niessen's commit :

FWIW the bug is still present on the pretest, and was not present in
the 24.3.1 binary that I have. Shall I bissect ?

-- 
Nicolas Richard




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 02 Oct 2014 15:00:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
bug acknowledged by developer. (Thu, 02 Oct 2014 15:00:04 GMT) Full text and rfc822 format available.

Message #13 received at 18584-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 18584-done <at> debbugs.gnu.org
Subject: Re: bug#18584: 24.3.93; Assertion violation in pop_it
Date: Thu, 02 Oct 2014 17:59:19 +0300
> From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
> Date: Thu, 02 Oct 2014 12:05:59 +0200
> Cc: 18584 <at> debbugs.gnu.org
> 
> Nicolas Richard <theonewiththeevillook <at> yahoo.fr> writes:
> > I'm running emacs-24 branch as of Fabrice Niessen's commit :
> 
> FWIW the bug is still present on the pretest, and was not present in
> the 24.3.1 binary that I have. Shall I bissect ?

Sorry, I somehow completely missed your original report.  (And thanks
for an easy-to-follow recipe.)

This is now fixed on the emacs-24 branch (r117536).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 31 Oct 2014 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 190 days ago.

Previous Next


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