Help Needed!!!

Amit dattatraya Bhandar amit.bhandar@amdocs.com
Thu Jan 27 07:49:00 GMT 2005



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

Any help will be appreciated!

Thanks in advance,
Amit

The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

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



More information about the Cygwin mailing list