unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Harald Maier <harald@maierh.de>
Cc: help-emacs-windows@gnu.org, bug-gnu-emacs@gnu.org
Subject: Re: [h-e-w] Current word on binaries
Date: Sat, 14 Feb 2004 14:18:24 +0100	[thread overview]
Message-ID: <m3oes1240v.fsf@ate.maierh> (raw)
In-Reply-To: 7494-Sat14Feb2004140608+0200-eliz@elta.co.il

"Eli Zaretskii" <eliz@elta.co.il> writes:

>> From: Harald Maier <harald@maierh.de>
>> Date: Sat, 14 Feb 2004 10:33:50 +0100
>> >
>> > I tried it too and I found too that something goes wrong. 'emacs -q'
>> > works fine, but when I tried to load my .emacs it displays the 'Emacs
>> > Abort Dialog' and complains that 'A fatal error has occured!'
>> 
>> I did some additional tests and it looks that the problem occurs only
>> if emacs-21.3 is compiled with a latest cygwin gcc. I did two test
>> with the emacs-21.3.tar.gz from March last year and the actual tarball
>> from ftp.gnu.org. On both sources the same happens, so it does not
>> look that something has changed since the compromise of the server.
>> Afterwards I compiled emacs with MSVC and the result is that all works
>> as expected. Currently I have no clue why the problem with gcc
>> happens.
>
> What version of GCC is the one that produces a bad binary?  What does
> "gcc --version" says?
>
> Can someone run Emacs under GDB and see where exactly does it abort?
>
> One possible idea to check is to use lower level of optimizations when
> building Emacs, like -O0 or -O1.  Can someone see if that produces a
> good binary?

It's gcc-3.3.1. I debugged the problem with insight and I got the
following backtrace in insight:

#1  0x01165be7 in w32_abort () at w32fns.c:14239
#2  0x01124db1 in Fbyte_code (bytestr=831842164, vector=1100249856, maxdepth=4) at bytecode.c:1710
#3  0x010234a7 in funcall_lambda (fun=1100290880, nargs=0, arg_vector=0x82ecf8) at eval.c:2851
#4  0x01022e7b in Ffuncall (nargs=1, args=0x82ecf4) at eval.c:2707
#5  0x01122e57 in Fbyte_code (bytestr=831842132, vector=1100249920, maxdepth=3) at bytecode.c:716
#6  0x01021cbc in Feval (form=1367136764) at eval.c:2019


The problem occured with the following command line:

$ emacs -q --no-site-file -l f:/home/maierh/local/elisp/html-helper-mode.el

,----
| ;;; html-helper-mode.el --- Major mode for composing html files.
| ;;; v 3.0.4jolly
`----

html-helper-mode is not the only example where it happens. As I
mentioned before with the current cvs emacs all works fine.

Harald

  parent reply	other threads:[~2004-02-14 13:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <009901c3ec70$b3013940$6400a8c0@austin.rr.com>
     [not found] ` <m3broc4fdc.fsf@ate.maierh>
2004-02-14  9:33   ` [h-e-w] Current word on binaries Harald Maier
2004-02-14 11:57     ` Jason Rumney
2004-02-14 12:06     ` Eli Zaretskii
2004-02-14 12:18       ` [h-e-w] " Jason Rumney
2004-02-16 19:52         ` Richard Stallman
2004-02-16 20:38           ` Jason Rumney
2004-02-17  6:50             ` [h-e-w] " Eli Zaretskii
2004-02-17  8:56               ` Jason Rumney
2004-02-17 19:03                 ` Eli Zaretskii
2004-02-18  0:13                   ` Jason Rumney
2004-02-18  6:11                     ` Eli Zaretskii
2004-02-18  8:38             ` Richard Stallman
2004-02-18 10:39               ` [h-e-w] " Eli Zaretskii
2004-02-18 12:30                 ` Harald Maier
2004-02-18 13:37                   ` [h-e-w] " Jason Rumney
2004-02-18 14:28                   ` Eli Zaretskii
2004-02-18 23:29                   ` Jason Rumney
2004-02-18 13:43                 ` Jason Rumney
2004-02-18 18:54                   ` [h-e-w] " Eli Zaretskii
2004-02-14 13:18       ` Harald Maier [this message]
2004-02-14 13:37         ` Jason Rumney
2004-02-14 15:41           ` Harald Maier
2004-02-14 16:56             ` [h-e-w] " Eli Zaretskii
2004-02-14 17:24               ` Harald Maier
2004-02-14 17:49                 ` Eli Zaretskii
2004-02-14 19:26                   ` Harald Maier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3oes1240v.fsf@ate.maierh \
    --to=harald@maierh.de \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=help-emacs-windows@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).