GNU bug report logs - #16070
24.3.50; Crash, Emacs fatal error: assertion failed: c->buffer_beg <= start && end <= c->buffer_end

Previous Next

Package: emacs;

Reported by: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>

Date: Fri, 6 Dec 2013 10:45:02 UTC

Severity: normal

Found in version 24.3.50

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 16070 in the body.
You can then email your comments to 16070 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#16070; Package emacs. (Fri, 06 Dec 2013 10:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yagnesh Raghava Yakkala <hi <at> yagnesh.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 06 Dec 2013 10:45:03 GMT) Full text and rfc822 format available.

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

From: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
 Crash, Emacs fatal error: assertion failed: c->buffer_beg <= start &&
 end <= c->buffer_end
Date: Fri, 06 Dec 2013 19:43:36 +0900
Emacs crashed while cycling through [(info "(org) Visibility cycling")]  a org
file.

backtrace is attached


--
ఎందరో మహానుభావులు అందరికి వందనములు.
YYR

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16070; Package emacs. (Fri, 06 Dec 2013 10:52:01 GMT) Full text and rfc822 format available.

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

From: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
To: 16070 <at> debbugs.gnu.org
Subject: Re: bug#16070: 24.3.50;
 Crash, Emacs fatal error: assertion failed: c->buffer_beg <= start &&
 end <= c->buffer_end
Date: Fri, 06 Dec 2013 19:51:38 +0900
[Message part 1 (text/plain, inline)]
Hello,

On Dec 06 2013, Yagnesh Raghava Yakkala <hi <at> yagnesh.org> wrote:

> Emacs crashed while cycling through [(info "(org) Visibility cycling")]  a org
> file.
>
> backtrace is attached

Prematurely sent (C-c C-s key-binding should be disabled in message
mode).

Anyway backtrace is now attached. Note that, `enable-multibyte-characters' was
set to nil when this happened.


[gdb.bt (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]

-- 
ఎందరో మహానుభావులు అందరికి వందనములు.
YYR

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16070; Package emacs. (Fri, 06 Dec 2013 11:24:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
Cc: 16070 <at> debbugs.gnu.org
Subject: Re: bug#16070: 24.3.50;
 Crash, Emacs fatal error: assertion failed: c->buffer_beg <= start
 &&	end <= c->buffer_end
Date: Fri, 06 Dec 2013 13:23:08 +0200
> From: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
> Date: Fri, 06 Dec 2013 19:43:36 +0900
> 
> 
> Emacs crashed while cycling through [(info "(org) Visibility cycling")]  a org
> file.

Please show the information collected by "M-x report-emacs-bug RET" on
that machine with that Emacs version.

Also, is the Org manual the one from the Emacs repository, or from
elsewhere?  If the latter, please tell where to get it.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16070; Package emacs. (Fri, 06 Dec 2013 11:29:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: hi <at> yagnesh.org
Cc: 16070 <at> debbugs.gnu.org
Subject: Re: bug#16070: 24.3.50;
 Crash, Emacs fatal error: assertion failed: c->buffer_beg <=
 start	&&	end <= c->buffer_end
Date: Fri, 06 Dec 2013 13:28:27 +0200
> Date: Fri, 06 Dec 2013 13:23:08 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 16070 <at> debbugs.gnu.org
> 
> Also, is the Org manual the one from the Emacs repository, or from
> elsewhere?  If the latter, please tell where to get it.

Sorry, please disregard this part, I misunderstood what you meant by
"cycling".

I guess this crash doesn't happen with every Org file, because I just
tried and it didn't crash.  Could you post the shortest Org file that
causes the crash, and also tell at what position in the file to try to
cycle visibility?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16070; Package emacs. (Fri, 06 Dec 2013 12:40:02 GMT) Full text and rfc822 format available.

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

From: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16070 <at> debbugs.gnu.org
Subject: Re: bug#16070: 24.3.50;
 Crash, Emacs fatal error: assertion failed: c->buffer_beg <=
 start	&&	end <= c->buffer_end
Date: Fri, 06 Dec 2013 21:39:52 +0900
[Message part 1 (text/plain, inline)]
Hello Eli,

On Dec 06 2013, Eli Zaretskii <eliz <at> gnu.org> wrote:

>> Date: Fri, 06 Dec 2013 13:23:08 +0200
>> From: Eli Zaretskii <eliz <at> gnu.org>
>> Cc: 16070 <at> debbugs.gnu.org
>> 
>> Also, is the Org manual the one from the Emacs repository, or from
>> elsewhere?  If the latter, please tell where to get it.
>
> Sorry, please disregard this part, I misunderstood what you meant by
> "cycling".
>
> I guess this crash doesn't happen with every Org file, because I just
> tried and it didn't crash.  Could you post the shortest Org file that
> causes the crash, and also tell at what position in the file to try to
> cycle visibility?

Please see cut down version of my org file.

When opened attached org as follows, it automatically crashes on my system. 
emacs -Q test.org -eval "(set-buffer-multibyte nil)"

[test.org (text/x-org, attachment)]
[Message part 3 (text/plain, inline)]
Info collected from M-x report-emacs-bug

--8<---------------cut here---------------start------------->8---
In GNU Emacs 24.3.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2013-12-05 on sealion
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.3 LTS

Configured using:
 `configure --prefix=/home/yagnesh/local/emacs-05458c7 --enable-checking
 --without-compress-info 'CFLAGS=-g -O0''

Important settings:
  value of $LC_MONETARY: en_IN.UTF-8
  value of $LC_NUMERIC: en_IN.UTF-8
  value of $LC_TIME: en_IN.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o <tab> r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils help-mode easymenu time-date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
--8<---------------cut here---------------end--------------->8---

Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు.
YYR

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16070; Package emacs. (Fri, 06 Dec 2013 15:17:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
Cc: 16070 <at> debbugs.gnu.org
Subject: Re: bug#16070: 24.3.50;
 Crash, Emacs fatal error: assertion failed: c->buffer_beg <=
 start	&&	end <= c->buffer_end
Date: Fri, 06 Dec 2013 17:16:14 +0200
> From: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
> Cc: 16070 <at> debbugs.gnu.org
> Date: Fri, 06 Dec 2013 21:39:52 +0900
> 
> > I guess this crash doesn't happen with every Org file, because I just
> > tried and it didn't crash.  Could you post the shortest Org file that
> > causes the crash, and also tell at what position in the file to try to
> > cycle visibility?
> 
> Please see cut down version of my org file.
> 
> When opened attached org as follows, it automatically crashes on my system. 
> emacs -Q test.org -eval "(set-buffer-multibyte nil)"

Thanks.  That particular crash is fixed in trunk revision 115399, but
I'm not sure if it fixes your original use case (did you also toggle
buffer's multibyteness there, after visiting the file?).  If the
problem is not entirely fixed, please show the recipe to reproduce the
problem.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16070; Package emacs. (Sat, 07 Dec 2013 05:54:02 GMT) Full text and rfc822 format available.

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

From: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16070 <at> debbugs.gnu.org
Subject: Re: bug#16070: 24.3.50;
 Crash, Emacs fatal error: assertion failed: c->buffer_beg <=
 start	&&	end <= c->buffer_end
Date: Sat, 07 Dec 2013 14:53:03 +0900
Hello Eli,

On Dec 07 2013, Eli Zaretskii <eliz <at> gnu.org> wrote:

>> From: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
>> Cc: 16070 <at> debbugs.gnu.org
>> Date: Fri, 06 Dec 2013 21:39:52 +0900
>> 
>> > I guess this crash doesn't happen with every Org file, because I just
>> > tried and it didn't crash.  Could you post the shortest Org file that
>> > causes the crash, and also tell at what position in the file to try to
>> > cycle visibility?
>> 
>> Please see cut down version of my org file.
>> 
>> When opened attached org as follows, it automatically crashes on my system. 
>> emacs -Q test.org -eval "(set-buffer-multibyte nil)"
>
> Thanks.  That particular crash is fixed in trunk revision 115399,

Thanks and I can confirm.

> (did you also toggle buffer's multibyteness there, after visiting the
> file?).

Yes.

> If the problem is not entirely fixed, please show the recipe to reproduce
> the problem.

I can't reproduce original problem now. I think we can close this bug now.  

Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు.
YYR




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 07 Dec 2013 08:36:02 GMT) Full text and rfc822 format available.

Notification sent to Yagnesh Raghava Yakkala <hi <at> yagnesh.org>:
bug acknowledged by developer. (Sat, 07 Dec 2013 08:36:04 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
Cc: 16070-done <at> debbugs.gnu.org
Subject: Re: bug#16070: 24.3.50;
 Crash, Emacs fatal error: assertion failed: c->buffer_beg <=
 start	&&	end <= c->buffer_end
Date: Sat, 07 Dec 2013 10:35:25 +0200
> From: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>
> Cc: 16070 <at> debbugs.gnu.org
> Date: Sat, 07 Dec 2013 14:53:03 +0900
> 
> >> When opened attached org as follows, it automatically crashes on my system. 
> >> emacs -Q test.org -eval "(set-buffer-multibyte nil)"
> >
> > Thanks.  That particular crash is fixed in trunk revision 115399,
> 
> Thanks and I can confirm.
> 
> > (did you also toggle buffer's multibyteness there, after visiting the
> > file?).
> 
> Yes.
> 
> > If the problem is not entirely fixed, please show the recipe to reproduce
> > the problem.
> 
> I can't reproduce original problem now. I think we can close this bug now.  

Thanks, closing.




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

This bug report was last modified 11 years and 225 days ago.

Previous Next


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