all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18584: 24.3.93; Assertion violation in pop_it
@ 2014-09-29 14:26 Nicolas Richard
  2014-10-02 10:05 ` Nicolas Richard
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Richard @ 2014-09-29 14:26 UTC (permalink / raw)
  To: 18584

[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#18584: 24.3.93; Assertion violation in pop_it
  2014-09-29 14:26 bug#18584: 24.3.93; Assertion violation in pop_it Nicolas Richard
@ 2014-10-02 10:05 ` Nicolas Richard
  2014-10-02 14:59   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Richard @ 2014-10-02 10:05 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: 18584

Nicolas Richard <theonewiththeevillook@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#18584: 24.3.93; Assertion violation in pop_it
  2014-10-02 10:05 ` Nicolas Richard
@ 2014-10-02 14:59   ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2014-10-02 14:59 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: 18584-done

> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> Date: Thu, 02 Oct 2014 12:05:59 +0200
> Cc: 18584@debbugs.gnu.org
> 
> Nicolas Richard <theonewiththeevillook@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).





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-02 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-29 14:26 bug#18584: 24.3.93; Assertion violation in pop_it Nicolas Richard
2014-10-02 10:05 ` Nicolas Richard
2014-10-02 14:59   ` Eli Zaretskii

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.