views:

50

answers:

1

hi,

I have an executable built in windows(exe).I want to pass that exe to an out file built by Cygwin(DOS version). It is going well upto half the way. After that it is showing the following error,which is related to Cygwin dll files(ACL check) .

Program received signal SIGSEGV, Segmentation fault. 0x6108829e in cygwin1!aclcheck () from /usr/bin/cygwin1.dll (gdb)

Can anybody fix this..?

Regards,

Renjith G

A: 

Check your code. Since you're already using gdb, bt full shall be your friend. You're possibly passing bad parameters such as invalid pointers to some system call.

It's likely it's not aclcheck where the segfault itself occurs. Cygwin DLLs are normally not shipped with debugging symbols built in. gdb works backwards from the instruction pointer and takes the previous symbol seen. In non-debug builds there are only symbols of exported functions.

laalto