Solved

Segmentation fault ?

Posted on 2006-11-23
3
188 Views
Last Modified: 2010-04-16
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.
0
Comment
Question by:tatikor_143
  • 2
3 Comments
 
LVL 84

Expert Comment

by:ozo
Comment Utility
Can you show us the code?
0
 
LVL 8

Expert Comment

by:deadite
Comment Utility
Yes, we will need to see some code...

Also, what compiler... cc or gcc?
0
 
LVL 8

Accepted Solution

by:
deadite earned 500 total points
Comment Utility
actually, I think I answered my own question.... I think you only have cc available...
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now