delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/27/09:07:31

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
Date: Thu, 27 Jan 2005 09:06:54 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Amit dattatraya Bhandar <amit DOT bhandar AT amdocs DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Help Needed!!!
In-Reply-To: <2449BD3982F1394D9053F173EE34929EF6D889@indiamail1.corp.amdocs.com>
Message-ID: <Pine.GSO.4.61.0501270904460.23972@slinky.cs.nyu.edu>
References: <2449BD3982F1394D9053F173EE34929EF6D889 AT indiamail1 DOT corp DOT amdocs DOT com>
MIME-Version: 1.0

On Thu, 27 Jan 2005, Amit dattatraya Bhandar wrote:

> Hello,
>
> I am running cygwin on a Win2k machine. I have a C
> program that I am compiling using gcc. Upon execution
> from the prompt, the program just exits without any
> output. When I run gdb on the executable,I
> set the first breakpoint at main() and run the
> program. However, the program segfaults before getting
> to main. Upon backtrace,I get the following output:
>
> (gdb) b main
> Breakpoint 1 at 0x4013d6: file iclsn_main.c, line 201.
> (gdb) r
> Starting program: /cygdrive/c/prm60_0/proj/geni600/bin/iclsn_main.exe
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x61071dbb in cygwin_split_path () from /usr/bin/cygwin1.dll
> (gdb) bt
> #0  0x61071dbb in cygwin_split_path () from /usr/bin/cygwin1.dll
> #1  0x610718f2 in cygwin_split_path () from /usr/bin/cygwin1.dll
> #2  0x61071a44 in cygwin_split_path () from /usr/bin/cygwin1.dll
> #3  0x61005b94 in getprogname () from /usr/bin/cygwin1.dll
>
> My machine details are-
> CYGWIN_NT-5.0 ABHANDAR01 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown Cygwin

Not enough details.  Try

> Problem reports:       http://cygwin.com/problems.html

Also, please provide a minimal test case that reproduces the problem for
you (i.e., source, compilation command, etc).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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