Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 CC: cygwin AT cygwin DOT com Subject: Re: Program exited with code 0303000 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/