Solved

Segmentation fault ?

Posted on 2006-11-23
3
198 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
[X]
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
3 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 18005423
Can you show us the code?
0
 
LVL 8

Expert Comment

by:deadite
ID: 18005596
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
ID: 18005597
actually, I think I answered my own question.... I think you only have cc available...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

730 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