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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Subject: bug#18584: closed (Re: bug#18584: 24.3.93; Assertion violation in
 pop_it)
Date: Thu, 02 Oct 2014 15:00:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#18584: 24.3.93; Assertion violation in pop_it

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18584 <at> debbugs.gnu.org.

-- 
18584: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18584
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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).

[Message part 3 (message/rfc822, inline)]
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 4 (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 6 (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

This bug report was last modified 10 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.