delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
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" <caelum AT debian DOT org> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Segmentation fault (core dumped) |
Date: | Tue, 3 Feb 2004 17:01:27 -0800 |
MIME-Version: | 1.0 |
In-Reply-To: | <Law12-F48yYD5KofKc900024b8e@hotmail.com> |
Message-ID: | <BAY12-DAV50UgrSMhc4000198b1@hotmail.com> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |