This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help Needed!!!


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]