GNU bug report logs - #18270
Crash in lates emacs-24 branch on ubuntu 14.04

Previous Next

Package: emacs;

Reported by: jaimef <at> linbsd.org

Date: Fri, 15 Aug 2014 04:25:01 UTC

Severity: normal

Merged with 15700, 22000, 22898, 25313, 31626

Found in versions 24.3, 24.5, 25.0.50

To reply to this bug, email your comments to 18270 AT debbugs.gnu.org.

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#18270; Package emacs. (Fri, 15 Aug 2014 04:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jaimef <at> linbsd.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 15 Aug 2014 04:25:02 GMT) Full text and rfc822 format available.

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

From: jaimef <at> linbsd.org
To: bug-gnu-emacs <at> gnu.org
Subject: Crash in lates emacs-24 branch on ubuntu 14.04
Date: Fri, 15 Aug 2014 00:22:41 -0400 (EDT)
[Message part 1 (text/plain, inline)]
The gdb output is provided.
Latest emacs-24 branch built today with default autogen/configure/make 
bootstrap/make
[emacs.crash (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18270; Package emacs. (Thu, 21 Aug 2014 01:59:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: jaimef <at> linbsd.org
Cc: 18270 <at> debbugs.gnu.org
Subject: Re: Crash in latest emacs-24 branch on ubuntu 14.04
Date: Wed, 20 Aug 2014 18:58:39 -0700
The backtrace looks like nonsense, unfortunately, e.g., it shows two 
arguments to adjust_decode_mode_spec_buffer, a function that has just 
one argument, and it shows xrealloc being called with 
size=18446744073709551597, even though the code passed 
FRAME_MESSAGE_BUF_SIZE (f) + 1 as the size, and I don't see any way to 
get 18446744073709551597 even if overflow is taken into account.

Can you reproduce the problem?

Can you compile with '-g3 -O0' and reproduce the problem?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18270; Package emacs. (Thu, 21 Aug 2014 02:02:01 GMT) Full text and rfc822 format available.

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

From: Jaime Fournier <jaimef <at> linbsd.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 18270 <at> debbugs.gnu.org
Subject: Re: Crash in latest emacs-24 branch on ubuntu 14.04
Date: Wed, 20 Aug 2014 19:00:55 -0700
[Message part 1 (text/plain, inline)]
I can reproduce if I link against gtk3. Not on gtk2/1

On August 20, 2014 6:58:39 PM PDT, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
>The backtrace looks like nonsense, unfortunately, e.g., it shows two 
>arguments to adjust_decode_mode_spec_buffer, a function that has just 
>one argument, and it shows xrealloc being called with 
>size=18446744073709551597, even though the code passed 
>FRAME_MESSAGE_BUF_SIZE (f) + 1 as the size, and I don't see any way to 
>get 18446744073709551597 even if overflow is taken into account.
>
>Can you reproduce the problem?
>
>Can you compile with '-g3 -O0' and reproduce the problem?

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18270; Package emacs. (Thu, 21 Aug 2014 02:02:02 GMT) Full text and rfc822 format available.

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

From: Jaime Fournier <jaimef <at> linbsd.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 18270 <at> debbugs.gnu.org
Subject: Re: Crash in latest emacs-24 branch on ubuntu 14.04
Date: Wed, 20 Aug 2014 19:00:16 -0700
[Message part 1 (text/plain, inline)]
I can reproduce if I link against gtk3. Not on gtk2/1

On August 20, 2014 6:58:39 PM PDT, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
>The backtrace looks like nonsense, unfortunately, e.g., it shows two 
>arguments to adjust_decode_mode_spec_buffer, a function that has just 
>one argument, and it shows xrealloc being called with 
>size=18446744073709551597, even though the code passed 
>FRAME_MESSAGE_BUF_SIZE (f) + 1 as the size, and I don't see any way to 
>get 18446744073709551597 even if overflow is taken into account.
>
>Can you reproduce the problem?
>
>Can you compile with '-g3 -O0' and reproduce the problem?

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18270; Package emacs. (Thu, 21 Aug 2014 03:06:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jaime Fournier <jaimef <at> linbsd.org>
Cc: 18270 <at> debbugs.gnu.org
Subject: Re: Crash in latest emacs-24 branch on ubuntu 14.04
Date: Wed, 20 Aug 2014 20:04:46 -0700
Jaime Fournier wrote:
> I can reproduce if I link against gtk3

Thanks; please send a recipe for reproducing it, starting with 'emacs 
-Q'.  It'd be nice if you could rebuild with -g3 -O0 first and send a 
backtrace.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18270; Package emacs. (Sun, 24 Aug 2014 18:59:01 GMT) Full text and rfc822 format available.

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

From: jaimef <at> linbsd.org
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 18270 <at> debbugs.gnu.org
Subject: Re: Crash in latest emacs-24 branch on ubuntu 14.04
Date: Sun, 24 Aug 2014 14:56:36 -0400 (EDT)
[Message part 1 (text/plain, inline)]
I can reproduce with my config on Spectrwm tiling WM.
However under KDE it runs fine without segfaults.
Also "emacs -Q" would hang but not crash as it did.
Must be an issue with gtk3 and the Spectrwm wm.

I've attached the Crash output as well as the configure/etc.


On Wed, 20 Aug 2014, Paul Eggert wrote:

> Date: Wed, 20 Aug 2014 20:04:46 -0700
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> To: Jaime Fournier <jaimef <at> linbsd.org>
> Cc: 18270 <at> debbugs.gnu.org
> Subject: Re: Crash in latest emacs-24 branch on ubuntu 14.04
> 
> Jaime Fournier wrote:
>> I can reproduce if I link against gtk3
>
> Thanks; please send a recipe for reproducing it, starting with 'emacs -Q'. 
> It'd be nice if you could rebuild with -g3 -O0 first and send a backtrace.
>
[emacs-crash (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18270; Package emacs. (Fri, 23 Aug 2019 19:04:01 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: jaimef <at> linbsd.org
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 18270 <at> debbugs.gnu.org
Subject: Re: bug#18270: Crash in latest emacs-24 branch on ubuntu 14.04
Date: Fri, 23 Aug 2019 21:03:03 +0200
jaimef <at> linbsd.org writes:

> I can reproduce with my config on Spectrwm tiling WM.
> However under KDE it runs fine without segfaults.
> Also "emacs -Q" would hang but not crash as it did.
> Must be an issue with gtk3 and the Spectrwm wm.
>
> I've attached the Crash output as well as the configure/etc.

I see in the output from the crash:

> (emacs:19316): Gtk-CRITICAL **: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed
> Fatal error 11: Segmentation fault

In the etc/PROBLEMS file, we have the following item regarding a crash
with the same error message:

> *** Emacs built with GTK+ toolkit can unexpectedly widen frames

Perhaps this should therefore be merged with the bugs mentioned there:

> See also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=15700,
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22000,
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22898 and
> https://lists.gnu.org/r/emacs-devel/2016-07/msg00154.html.

Thanks,
Stefan Kangas




Merged 15700 18270 22000 22898 31626. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Sat, 24 Aug 2019 00:59:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18270; Package emacs. (Sat, 24 Aug 2019 01:00:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Stefan Kangas <stefan <at> marxist.se>, jaimef <at> linbsd.org
Cc: 18270 <at> debbugs.gnu.org
Subject: Re: bug#18270: Crash in latest emacs-24 branch on ubuntu 14.04
Date: Fri, 23 Aug 2019 17:59:29 -0700
Stefan Kangas wrote:
> Perhaps this should therefore be merged with the bugs mentioned there:

Sounds good to me; I merged them.




Forcibly Merged 15700 18270 22000 22898 25313 31626. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 29 Sep 2019 17:39:01 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 258 days ago.

Previous Next


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