Solved

Segmentation fault ?

Posted on 2006-11-23
3
197 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
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

840 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