delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/13/01:02:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 13 Nov 2000 01:00:18 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: XEmacs on cygwin wierdness
Message-ID: <20001113010018.A6535@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3A0F7709 DOT F8ED68FF AT ece DOT gatech DOT edu> <20001113000953 DOT A4917 AT redhat DOT com> <3A0F827C DOT 15675931 AT ece DOT gatech DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A0F827C.15675931@ece.gatech.edu>; from cwilson@ece.gatech.edu on Mon, Nov 13, 2000 at 12:56:12AM -0500

On Mon, Nov 13, 2000 at 12:56:12AM -0500, Charles S. Wilson wrote:
>Christopher Faylor wrote:
>>On Mon, Nov 13, 2000 at 12:07:21AM -0500, Charles S.  Wilson wrote:
>>>I've tried to build XEmacs-21.2.36 multiple times tonight.  Each time,
>>>it works perfectly as long as I launch it from with a cygwin-bash
>>>window.  However, if I launch it from the DOS cmd prompt, it
>>>stackdumps.
>>
>>Why aren't you running it under gdb to pinpoint where the error is
>>occurring?
>
>I got a popup saying "Program received signal SIGSEGV, Segmentation fault"
>Stack window shows "_size_of_stack_reserve__"

That is the symbol that gdb seems to use when it can't find anything
else to use.  What address is associated with this?  Is this the only
thing in the stack window?  There aren't any other addresses being
displayed?  How about the .stackdump file?

>unfortunately, I can't get further than that -- I think it's because of
>the odd structure of an xemacs executable -- in-built lisp data +
>interpreter, this wierd "dumping" process it does to itself when
>building, etc...
>
>Now, maybe I'm blowing bull patties, but I can't even get the source
>window to show anything but assembler -- because "xemacs.exe" is a
>dumped executable generated by "temacs.exe" which loads a bunch of lisp
>code and data and then "dumps" an image of itself to disk during the
>build.
>
>So, gdb shows *me* nothing -- which is why I asked if anyone could make
>a *guess* as to why a program will run fine under a bash shell, but
>stackdump when run from a DOS box (or within gdb).

Try using gdb -nw.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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