Link to home
Start Free TrialLog in
Avatar of tatikor_143
tatikor_143

asked on

Segmentation fault ?

I am compiling a code which converts a binary log file into ascii format with symbols.When I am compiling it on solaris,it works fine and gives the desired output but when I comiple the same on windows using cygwin compiler.it compiles properly but it gives output as binary file corrupted(probably bad stack).segmentation fault  and gives some junk output.Please help me to resolve the same.
Avatar of ozo
ozo
Flag of United States of America image

Can you show us the code?
Yes, we will need to see some code...

Also, what compiler... cc or gcc?
ASKER CERTIFIED SOLUTION
Avatar of deadite
deadite
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial