GNU bug report logs - #13968
24.3.50; emacs_backtrace.txt

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 15 Mar 2013 21:01:01 UTC

Severity: normal

Tags: moreinfo

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.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 13968 in the body.
You can then email your comments to 13968 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#13968; Package emacs. (Fri, 15 Mar 2013 21:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 15 Mar 2013 21:01:02 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.3.50; emacs_backtrace.txt
Date: Fri, 15 Mar 2013 13:59:09 -0700
Backtrace:
0x01158AA0
0x01158B12
0x01001459
0x01021E80
0x0114E571
0x7E418730
0x7E418812
0x7E4189C9
0x7E418A0C
0x0114CB8E
0x0114CE2D
0x7C80B725
 

In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2013-03-04 on ODIEONE
Bzr revision: 111935 yamaoka <at> jpl.org-20130304102733-4qy111z41qwoh2as
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13968; Package emacs. (Fri, 15 Mar 2013 21:09:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 13968 <at> debbugs.gnu.org
Subject: Re: bug#13968: 24.3.50; emacs_backtrace.txt
Date: Fri, 15 Mar 2013 23:06:53 +0200
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Date: Fri, 15 Mar 2013 13:59:09 -0700
> 
> Backtrace:
> 0x01158AA0
> 0x01158B12
> 0x01001459
> 0x01021E80
> 0x0114E571
> 0x7E418730
> 0x7E418812
> 0x7E4189C9
> 0x7E418A0C
> 0x0114CB8E
> 0x0114CE2D
> 0x7C80B725

  w32_backtrace at C:\Devel\emacs\repo\build\src/w32fns.c:7727
  emacs_abort at C:\Devel\emacs\repo\build\src/w32fns.c:7759
  terminate_due_to_signal at C:\Devel\emacs\repo\build\src/emacs.c:343
  die at C:\Devel\emacs\repo\build\src/alloc.c:6556
  w32_wnd_proc at C:\Devel\emacs\repo\build\src/w32fns.c:3163
  ??
  ??:0
  ??
  ??:0
  ??
  ??:0
  ??
  ??:0
  w32_msg_pump at C:\Devel\emacs\repo\build\src/w32fns.c:2493
  w32_msg_worker <at> 4 at C:\Devel\emacs\repo\build\src/w32fns.c:2619

Useless without a recipe.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13968; Package emacs. (Fri, 15 Mar 2013 21:22:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: drew.adams <at> oracle.com
Cc: 13968 <at> debbugs.gnu.org
Subject: Re: bug#13968: 24.3.50; emacs_backtrace.txt
Date: Fri, 15 Mar 2013 23:19:52 +0200
> Date: Fri, 15 Mar 2013 23:06:53 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 13968 <at> debbugs.gnu.org
> 
>   w32_backtrace at C:\Devel\emacs\repo\build\src/w32fns.c:7727
>   emacs_abort at C:\Devel\emacs\repo\build\src/w32fns.c:7759
>   terminate_due_to_signal at C:\Devel\emacs\repo\build\src/emacs.c:343
>   die at C:\Devel\emacs\repo\build\src/alloc.c:6556
>   w32_wnd_proc at C:\Devel\emacs\repo\build\src/w32fns.c:3163
>   ??
>   ??:0
>   ??
>   ??:0
>   ??
>   ??:0
>   ??
>   ??:0
>   w32_msg_pump at C:\Devel\emacs\repo\build\src/w32fns.c:2493
>   w32_msg_worker <at> 4 at C:\Devel\emacs\repo\build\src/w32fns.c:2619
> 
> Useless without a recipe.

Forgot to show where it aborts:

	  form.rcArea.bottom = (WINDOW_BOTTOM_EDGE_Y (w)
				- WINDOW_MODE_LINE_HEIGHT (w));

It's an assertion violation, but the report doesn't even say what was
the text of the assertion message.  The above 2 macros could abort in
XFRAME, XWINDOW, or XBUFFER.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13968; Package emacs. (Fri, 15 Mar 2013 21:36:01 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Eli Zaretskii'" <eliz <at> gnu.org>
Cc: 13968 <at> debbugs.gnu.org
Subject: RE: bug#13968: 24.3.50; emacs_backtrace.txt
Date: Fri, 15 Mar 2013 14:34:09 -0700
> > Useless without a recipe.
> 
> Forgot to show where it aborts:
> 
> 	  form.rcArea.bottom = (WINDOW_BOTTOM_EDGE_Y (w)
> 				- WINDOW_MODE_LINE_HEIGHT (w));
> 
> It's an assertion violation, but the report doesn't even say what was
> the text of the assertion message.  The above 2 macros could abort in
> XFRAME, XWINDOW, or XBUFFER.

Yes, well there never is a recipe for this kind of thing (but thanks for taking
a look)...  The crashes I get seem to happen any old time, and each time I send
in emacs_backtrace.txt you say it is useless (and I believe you).

And I've gotten plenty of crashes, seemingly ever since Emacs Dev starting
adding more assertions here and there to the C code.

What's the point of adding such assertions and providing backtraces that are
apparently useless?  That doesn't seem to have accomplished much that is
constructive, but it does seem to have increased the number of crashes (just a
guess).

Anyway, multiple reports of crashes (by me and others) have not prevented Emacs
24.2 or 24.3 from being released.  FWIW, before Emacs 24 I rarely had an Emacs
crash.

The C code seems to be a bit flaky now.  There seems to be a lot of C
development since Emacs 24.1, and perhaps there is not as much in the way of
fixing problems that get introduced along the way.  Not an informed judgment,
just one, naive impression.

I'm not faulting you, Eli, and I do appreciate your taking a look at the bug
reports.  Just mentioning that in my naive view, Emacs seems less stable than
before, on the C side.

Presumably such assertions are turned off when Emacs is released (?), so
releases should crash less, at least.  I tend to use trunk builds, so perhaps I
underestimate the release stability in this regard.

As you hint above, perhaps the assertions can be refined, so the backtraces
produced become more informative.  I will continue to report them, unless you
say it's not worth the trouble in general.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13968; Package emacs. (Sat, 16 Mar 2013 07:20:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 13968 <at> debbugs.gnu.org
Subject: Re: bug#13968: 24.3.50; emacs_backtrace.txt
Date: Sat, 16 Mar 2013 09:17:31 +0200
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Cc: <13968 <at> debbugs.gnu.org>
> Date: Fri, 15 Mar 2013 14:34:09 -0700
> 
> > > Useless without a recipe.
> > 
> > Forgot to show where it aborts:
> > 
> > 	  form.rcArea.bottom = (WINDOW_BOTTOM_EDGE_Y (w)
> > 				- WINDOW_MODE_LINE_HEIGHT (w));
> > 
> > It's an assertion violation, but the report doesn't even say what was
> > the text of the assertion message.  The above 2 macros could abort in
> > XFRAME, XWINDOW, or XBUFFER.
> 
> Yes, well there never is a recipe for this kind of thing

As I probably already said, they are probably related to your heavy
use of separate and minibuffer-less frames.  But this conclusion is
not instrumental to fixing those aborts, without a clear recipe to
reproduce a similar problem and/or without the ability to look around
when the abort does happen.  I urge you (again) to run Emacs from GDB
and leave the GDB session running long enough for us to ask you to
investigate after the abort.

> What's the point of adding such assertions and providing backtraces that are
> apparently useless?

The assertions are not specific to the aborts you experience.  They
are part of C macros, such as XWINDOW and XBUFFER, which extract C
data structures from a Lisp object.  These macros are used all over
the code.

> Anyway, multiple reports of crashes (by me and others) have not prevented Emacs
> 24.2 or 24.3 from being released.

In a release version, these assertions are not compiled into the
binary.

> FWIW, before Emacs 24 I rarely had an Emacs crash.

Probably because pretest and snapshot binaries before that were not
compiled with these assertions.

> Presumably such assertions are turned off when Emacs is released (?)

Yes.

> As you hint above, perhaps the assertions can be refined, so the backtraces
> produced become more informative.  I will continue to report them, unless you
> say it's not worth the trouble in general.

Please continue reporting them.  However, it will be much more useful
if you could let us investigate by using GDB.




bug closed, send any further explanations to 13968 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 05 Feb 2014 23:56:02 GMT) Full text and rfc822 format available.

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

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

Previous Next


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