GNU bug report logs - #25282
emacs 25,1 crash w/bt

Previous Next

Package: emacs;

Reported by: Hlöðver Sigurðsson <hlolli <at> gmail.com>

Date: Tue, 27 Dec 2016 17:05:01 UTC

Severity: normal

Tags: moreinfo

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 25282 in the body.
You can then email your comments to 25282 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#25282; Package emacs. (Tue, 27 Dec 2016 17:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hlöðver Sigurðsson <hlolli <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 27 Dec 2016 17:05:01 GMT) Full text and rfc822 format available.

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

From: Hlöðver Sigurðsson <hlolli <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: emacs 25,1 crash w/bt
Date: Tue, 27 Dec 2016 12:21:32 +0100
[Message part 1 (text/plain, inline)]
My emacs 25.1 is crashing these days every 3 hours, irrelevant if Im
on my laptop or work computer, and if Im programming in C or
Clojure. Im always using Fedora, and I install emacs either by
compiling from sources or installed from dnf. Just a paste of my last
gdb crash backtrace: https://www.refheap.com/124399

Crashes are on my computer more likely when saveing or simply using the
cursor around a document. I have aggressive indent mode enabled, haven't
ruled that out yet. Looks to me still that something is not right in
intervals.c?

Thanks for all feedback, hope I don't have to downgrade my emacs.

Best,
Hlödver

(the beginning of the trace)
Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
0x00000000005a0937 in balance_an_interval (i=0x685d630) at intervals.c:443
443    + RIGHT_TOTAL_LENGTH (i->left) - LEFT_TOTAL_LENGTH (i->left);
(gdb) bt
#0  0x00000000005a0937 in balance_an_interval (i=0x685d630) at
intervals.c:443
#1  0x00000000005a0ba5 in balance_possible_root_interval
(interval=<optimized out>) at intervals.c:482
#2  0x00000000005a1749 in find_interval (tree=<optimized out>, position=0)
at intervals.c:673
#3  0x00000000005a4d8e in validate_interval_range (object=<optimized out>,
begin=begin <at> entry=0x7fffffff0028, end=end <at> entry=0x7fffffff0028,
force=force <at> entry=false) at textprop.c:192
#4  0x00000000005a4ffb in Ftext_properties_at (position=<optimized out>,
position <at> entry=2, object=<optimized out>, object <at> entry=34216612) at
textprop.c:568
#5  0x00000000005a506c in Fget_text_property (position=position <at> entry=2,
prop=prop <at> entry=20256, object=object <at> entry=34216612) at textprop.c:588
#6  0x00000000004b750c in face_at_string_position (w=<optimized out>,
string=34216612, pos=<optimized out>, bufpos=bufpos <at> entry=11967,
endptr=endptr <at> entry=0x7fffffff0158, base_face_id=22, mouse_p=false) at
xfaces.c:6081
#7  0x000000000043e33e in handle_face_prop (it=0x7fffffff61e0) at
xdisp.c:3974
#8  0x000000000043b8da in handle_stop (it=it <at> entry=0x7fffffff61e0) at
xdisp.c:3371
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25282; Package emacs. (Tue, 27 Dec 2016 22:53:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Hlöðver Sigurðsson <hlolli <at> gmail.com>
Cc: 25282 <at> debbugs.gnu.org
Subject: Re: bug#25282: emacs 25,1 crash w/bt
Date: Wed, 28 Dec 2016 00:52:33 +0200
> From: Hlöðver Sigurðsson
> 	<hlolli <at> gmail.com>
> Date: Tue, 27 Dec 2016 12:21:32 +0100
> 
> My emacs 25.1 is crashing these days every 3 hours, irrelevant if Im
> on my laptop or work computer, and if Im programming in C or
> Clojure. Im always using Fedora, and I install emacs either by
> compiling from sources or installed from dnf. Just a paste of my last
> gdb crash backtrace: https://www.refheap.com/124399
> 
> Crashes are on my computer more likely when saveing or simply using the cursor around a document. I have
> aggressive indent mode enabled, haven't ruled that out yet. Looks to me still that something is not right in
> intervals.c?
> 
> Thanks for all feedback, hope I don't have to downgrade my emacs.
> 
> Best,
> Hlödver
> 
> (the beginning of the trace)
> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> 0x00000000005a0937 in balance_an_interval (i=0x685d630) at intervals.c:443
> 443 + RIGHT_TOTAL_LENGTH (i->left) - LEFT_TOTAL_LENGTH (i->left);
> (gdb) bt
> #0 0x00000000005a0937 in balance_an_interval (i=0x685d630) at intervals.c:443
> #1 0x00000000005a0ba5 in balance_possible_root_interval (interval=<optimized out>) at intervals.c:482
> #2 0x00000000005a1749 in find_interval (tree=<optimized out>, position=0) at intervals.c:673
> #3 0x00000000005a4d8e in validate_interval_range (object=<optimized out>,
> begin=begin <at> entry=0x7fffffff0028, end=end <at> entry=0x7fffffff0028, force=force <at> entry=false) at textprop.c:192

Please try the latest pretest of Emacs 25.2, I think this is due to
known bugs that were already fixed since v25.1 was released.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25282; Package emacs. (Wed, 04 Jan 2017 13:48:01 GMT) Full text and rfc822 format available.

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

From: Hlöðver Sigurðsson <hlolli <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25282 <at> debbugs.gnu.org
Subject: Re: bug#25282: emacs 25,1 crash w/bt
Date: Wed, 4 Jan 2017 14:47:19 +0100
[Message part 1 (text/plain, inline)]
I compiled from master branch on Savannah (hope I spelled it right),
running on v 26.0.50.1 does not crash at all.

Thanks for that!

2016-12-27 23:52 GMT+01:00 Eli Zaretskii <eliz <at> gnu.org>:

> > From: Hlöðver Sigurðsson
> >       <hlolli <at> gmail.com>
> > Date: Tue, 27 Dec 2016 12:21:32 +0100
> >
> > My emacs 25.1 is crashing these days every 3 hours, irrelevant if Im
> > on my laptop or work computer, and if Im programming in C or
> > Clojure. Im always using Fedora, and I install emacs either by
> > compiling from sources or installed from dnf. Just a paste of my last
> > gdb crash backtrace: https://www.refheap.com/124399
> >
> > Crashes are on my computer more likely when saveing or simply using the
> cursor around a document. I have
> > aggressive indent mode enabled, haven't ruled that out yet. Looks to me
> still that something is not right in
> > intervals.c?
> >
> > Thanks for all feedback, hope I don't have to downgrade my emacs.
> >
> > Best,
> > Hlödver
> >
> > (the beginning of the trace)
> > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> > 0x00000000005a0937 in balance_an_interval (i=0x685d630) at
> intervals.c:443
> > 443 + RIGHT_TOTAL_LENGTH (i->left) - LEFT_TOTAL_LENGTH (i->left);
> > (gdb) bt
> > #0 0x00000000005a0937 in balance_an_interval (i=0x685d630) at
> intervals.c:443
> > #1 0x00000000005a0ba5 in balance_possible_root_interval
> (interval=<optimized out>) at intervals.c:482
> > #2 0x00000000005a1749 in find_interval (tree=<optimized out>,
> position=0) at intervals.c:673
> > #3 0x00000000005a4d8e in validate_interval_range (object=<optimized out>,
> > begin=begin <at> entry=0x7fffffff0028, end=end <at> entry=0x7fffffff0028,
> force=force <at> entry=false) at textprop.c:192
>
> Please try the latest pretest of Emacs 25.2, I think this is due to
> known bugs that were already fixed since v25.1 was released.
>
> Thanks.
>
[Message part 2 (text/html, inline)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Wed, 04 Jan 2017 15:48:01 GMT) Full text and rfc822 format available.

Notification sent to Hlöðver Sigurðsson <hlolli <at> gmail.com>:
bug acknowledged by developer. (Wed, 04 Jan 2017 15:48:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Hlöðver Sigurðsson <hlolli <at> gmail.com>
Cc: 25282-done <at> debbugs.gnu.org
Subject: Re: bug#25282: emacs 25,1 crash w/bt
Date: Wed, 04 Jan 2017 17:47:26 +0200
> From: Hlöðver Sigurðsson <hlolli <at> gmail.com>
> Date: Wed, 4 Jan 2017 14:47:19 +0100
> Cc: 25282 <at> debbugs.gnu.org
> 
> I compiled from master branch on Savannah (hope I spelled it right), running on v 26.0.50.1 does not crash at
> all.
> 
> Thanks for that!

Thanks for testing, I'm therefore closing this bug.




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

This bug report was last modified 8 years and 199 days ago.

Previous Next


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