The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Why not a segmentation fault?? lagigliaivan High Level Programming 22 05-21-2008 08:07 AM
segmentation fault rockgal High Level Programming 8 12-05-2006 09:16 AM
Segmentation Fault compbug UNIX for Dummies Questions & Answers 3 04-21-2006 07:43 AM
segmentation fault wojtyla High Level Programming 3 02-19-2005 11:53 AM
Segmentation fault jshaulis AIX 1 06-01-2004 01:16 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-27-2003
Registered User
 

Join Date: Jun 2002
Posts: 60
segmentation fault

hi all

i'm trying to execute a c program under linux RH and it gives me segmentation fault, this program was running under unix at&t

anybody kow what the problem could be?

thanx in advance
regards
Reply With Quote
Forum Sponsor
  #2  
Old 07-27-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,616
Most likely the program has a bug. Buggy programs are not guaranteed to fail. I test my programs on different platforms. Sometimes I get a failure on one platform. When I do, I know that I have found a bug.
Reply With Quote
  #3  
Old 08-01-2003
Registered User
 

Join Date: Oct 2001
Location: Bangalore
Posts: 93
threads??

Does your programme uses threads??

Another hardware related issue..
Are you sure that signal killing your process is Signal 9 i.e SIGSEGV and not signal 10 i.e SIGBUS?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0