Segmentation fault ?

Posted on 2006-11-23
Medium Priority
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.
Question by:tatikor_143
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 84

Expert Comment

ID: 18005423
Can you show us the code?

Expert Comment

ID: 18005596
Yes, we will need to see some code...

Also, what compiler... cc or gcc?

Accepted Solution

deadite earned 1500 total points
ID: 18005597
actually, I think I answered my own question.... I think you only have cc available...

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
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 …

777 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