all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: 18584@debbugs.gnu.org
Subject: bug#18584: 24.3.93; Assertion violation in pop_it
Date: Mon, 29 Sep 2014 16:26:11 +0200	[thread overview]
Message-ID: <87k34mtse4.fsf@geodiff-mac3.ulb.ac.be> (raw)

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

Hello,

I'm running emacs-24 branch as of Fabrice Niessen's commit :
Author: Fabrice Niessen <fniessen@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)

[-- Attachment #2: bug2.gz --]
[-- Type: application/octet-stream, Size: 11753 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1561 bytes --]


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

             reply	other threads:[~2014-09-29 14:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-29 14:26 Nicolas Richard [this message]
2014-10-02 10:05 ` bug#18584: 24.3.93; Assertion violation in pop_it Nicolas Richard
2014-10-02 14:59   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k34mtse4.fsf@geodiff-mac3.ulb.ac.be \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=18584@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.