delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/27/13:49:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <415852A3.8080904@bellsouth.net>
Date: Mon, 27 Sep 2004 12:49:23 -0500
From: Bobby McNulty <bobbymcn AT bellsouth DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
MIME-Version: 1.0
To: Dave Korn <dk AT artimi DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Program exited with code 0303000
References: <NUTMEGLaqSOc7wo95EF00000108 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
In-Reply-To: <NUTMEGLaqSOc7wo95EF00000108@NUTMEG.CAM.ARTIMI.COM>
X-IsSubscribed: yes

Dave Korn wrote:
>>-----Original Message-----
>>From: cygwin-owner On Behalf Of Bobby McNulty
>>Sent: 27 September 2004 18:05
> 
> 
>>Bobby McNulty wrote:
>>
>>
>>>set CYGWIN_error_start=d:\cygwin\bin\dumper.exe
>>>that is what it is supposed to be.
>>>That is why he is getting the errors.
> 
> 
>   Bobby, your advice is no good.
> 
> 
>>>set CYGWIN_error_start=d:\cygwin\bin\dumper.exe
> 
> 
> #1:  That's the wrong environment variable.  You want to set CYGWIN to
> contain, among any other options, the text
> "error_start=D:\cygwin\bin\dumper.exe".  You told him to set
> CYGWIN_error_start, which is a different variable altogether and not used by
> cygwin.
> 
> 
>>>that is what it is supposed to be.
> 
> 
> #2:  Only when you have a program that is failing with SEGV or some other
> kind of fatal exception.  If the program is executing and running to
> completion, the error_start setting will never be used.
> 
> 
>>>That is why he is getting the errors.
> 
> 
> #3:  He was getting the errors before dumper.exe even came into it, so
> setting it wrong couldn't have possible caused the errors.  Go back and read
> his original post again.  The reason he is getting errors is because his
> program is exiting with a non-zero return value.  It was not caused by
> dumper.exe and it will not be diagnosable with dumper.exe.
> 
>     cheers, 
>       DaveK
Originally, he set the variable to set Cygwin=error_start=...
You are right, it should be
set error_start=d:\cygwin\bin\dumper.
As to the problem in the code,
He needs to examine his code closely through a text editor.
SEGV is a segment fault which is caused by placing a char where an int 
should be or vice versa. I know. My trek trivia program had this problem 

for years before I finally fixed it.
The disk I had had the same error because I did not replace the broken 
code with the fixed code.
Bobby


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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