www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/17/08:55:20

Date: Thu, 17 Apr 1997 09:38:15 -0300
Message-Id: <1.5.4.16.19970417093100.294700dc@dce03.ipt.br>
Mime-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
From: Cesar Scarpini Rabak <csrabak AT ipt DOT br>
Subject: Re: Emacs 19.34 crash on startup -- odd problem
Cc: djgpp AT delorie DOT com

At 18:17 15/04/97 +0300, Eli Zaretskii wrote:
>
>First thing to check: do you have trailing whitespace or other junk (such 
>as ^Z) at the end of your DJGPP.ENV?  What happens if you rename 
>DJGPP.ENV to something else?

I could not find any junk on my DJGPP.ENV. Renaming it makes Emacs to work.
However, even if I use the original DJGPP.ENV from the djdev201.zip the
problem shows up.

I feel your guess is in the right direction however: playing with
environment variables I can have emacs working or not, in addition to what I
reported in my earlier e-mail, these environment variables modify this odd
behaviour:

        if I unset my USER env var, or;
        if I unset my HOME env var, or;
        if I set GO32_DEBUG to y.
Emacs works w/o problems.

I then did the following tests: copied the _emacs.xmp to _emacs in both
c:/djgpp/gnu/emacs and c:/usr/csrabak to be sure that the problem was not
related to this file ('though crashes with the -q option, anyway). No
modification in the behaviour.

>
>Failing that, please run symify on the traceback and post the results (or 
>better still, try to see what that traceback says).
>

As you could surmise from my earlier e-mail, attempt to capture the
traceback w/redir did not cut! This time I made use of an old trick, using a
utility from ole PC Mag LPT2FILE and got the screen output (see below).

To symify this trace back does not show any other information as the emacs
binary seems to be built w/o symbols. (Also, I did not fetched the sources
for this new distribution).

This is the traceback I get:

[MS-DOS]C:\DJGPP\GNU\EMACS\BIN>C:\DJGPP\GNU\EMACS\BIN\EMACS
Exiting due to signal SIGSEGV
General Protection Fault at eip=000761a6
eax=32334f47 ebx=00119000 ecx=00112000 edx=0000000a esi=00119c00 edi=00000008
ebp=001df21c esp=001df1e8 program=C:\DJGPP\GNU\EMACS\BIN\EMACS.EXE
cs: sel=00a7  base=10000000  limit=0022ffff
ds: sel=00af  base=10000000  limit=0022ffff
es: sel=00af  base=10000000  limit=0022ffff
fs: sel=008f  base=00013550  limit=0000ffff
gs: sel=00cf  base=00000000  limit=ffffffff
ss: sel=00af  base=10000000  limit=0022ffff

Call frame traceback EIPs:
  0x000761a6
  0x0007642e
  0x0007646a
  0x000491cb
  0x0007646a
  0x000432d4
  0x00048360
  0x0003f495
  0x0003f558
  0x0003f898
  0x0003f927

[MS-DOS]C:\DJGPP\GNU\EMACS\BIN>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cesar Scarpini Rabak                      E-mail: csrabak AT ipt DOT br
DME/ASC                                   Phone: 55-11-268-3522 Ext.350
IPT - Instituto de Pesquisas Tecnologicas Fax:   55-11-268-5996
Av. Prof. Almeida Prado, 532.  Sao Paulo - SP 05508-901 BRAZIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019