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 |
Message-ID: | <20031219072544.56763.qmail@web2005.mail.yahoo.co.jp> |
Date: | Fri, 19 Dec 2003 16:25:44 +0900 (JST) |
From: | F K <psauxw AT yahoo DOT co DOT jp> |
Subject: | strtosigno () from /usr/bin/cygwin1.dll |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
I am developing a program on Cygwin. I got "Segmentation fault (core dumped)." >./pa -f sonsi05.pit -r -l256 Segmentation fault (core dumped) I tried gdb like below. (gdb) run Starting program: /cygdrive/c/root/rd/pa/pa.exe -f sonsi05.pit -r -l256 757 printf("raw_rcds[%d]/%d: %p\n", i, *num, raw_rcds[i]); fflush(NULL); (gdb) n raw_rcds[2]/10: 0x0 758 raw_rcds[i] = (struct raw_rcd*)malloc(sizeof(struct raw_rcd)); (gdb) n Program received signal SIGSEGV, Segmentation fault. 0x6109372b in strtosigno () from /usr/bin/cygwin1.dll (gdb) backtrace #0 0x6109372b in strtosigno () from /usr/bin/cygwin1.dll #1 0x6103ec86 in malloc () from /usr/bin/cygwin1.dll Does this mean cygwin problem? Or my code has a problem? Other Information: - It works fine on Solaris. - I don't define malloc by myself. I don't program any threads. >uname -a CYGWIN_NT-5.1 c0139ips 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin Thank you for any help. ---- psauxw __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- 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 |