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 X-Originating-IP: [66.167.206.172] X-Originating-Email: [rkitover AT hotmail DOT com] X-Sender: rkitover AT hotmail DOT com From: "Rafael Kitover" To: Subject: RE: Segmentation fault (core dumped) Date: Tue, 3 Feb 2004 17:01:27 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 04 Feb 2004 01:01:29.0179 (UTC) FILETIME=[6BE98AB0:01C3EABA] >-----Original Message----- >From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of >Eva Bordeaux >Sent: Tuesday, February 03, 2004 4:40 PM >To: cygwin AT cygwin DOT com >Subject: Segmentation fault (core dumped) > >Hello, I try to run my program on Windows machine using Cygwin. > >$ make clean all >gcc -c -o codon.o codon.ccreate_codon.c >gcc -c -o linkcurve.o linkcurve.c >subpart.c: In function `part_extractor_closed': >subpart.c:179: warning: passing arg 2 of `strcat' makes pointer from integer >wit >hout a cast >gcc -c -o suppress.o suppress.c >gcc -c -o feature_match.o feature_match.c >gcc -c -o ListDir.o ListDir.c >gcc main.o create_codon.o codon.o io.o k_smooth.o linkcurve.o lowe.o >matrix.o p >rematch.o subpart.o suppress.o feature_match.o ListDir.o -lm -o getmatch > >$ ./getmatch Query.raw 250 250 r rs >check point 10 is fine >Segmentation fault (core dumped) Try this: make clean all CC="gcc -g" gdb --args ./getmatch Query.raw 250 250 r rs (gdb) run .. program runs and crashes (gdb) bt Then give the results to whoever wrote the program, or try to fix it yourself. HTH > >When I run this on Unix machine at the lab in University , it works without >any problem. >What can be wrong? Maybe I didn't install all needed parts of compiler? When >I installed Cygwin, I pick Base and all Devel categories. >Any idea how to fix this is appreciated. >Eva -- Rafael -- 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/