Long Question about Portability

This is a discussion on Long Question about Portability within the C Programming forums, part of the General Programming Boards category; There's a scripting language, called NerveBreak , which compiles & runs fine on Windows and Linux. However, on MacOS X, ...

  1. #1
    Registered User kinghajj's Avatar
    Join Date
    Jun 2003
    Posts
    218

    Long Question about Portability

    There's a scripting language, called NerveBreak, which compiles & runs fine on Windows and Linux. However, on MacOS X, it compiles but gives a "Segmentation Fault" error when I try to run a script. I need to know this: what kind of programming error causes a "Segmentation Fault"?
    01011001 01101111 01110101 00100000 01110100 01101111 01101111 1101011 00100000 01110100 01101000 01101001 01110011 00100000 01101101 01110101 01100011 01101000 00100000 01110100 01101000 01101101 01100101 00100000 01110100 01101111 00100000 01110010 01100101 01100001 01100100 00100000 01011001 01101000 01101001 01110011 00111111 00100000 01000100 01100001 01101101 01101110 00100001 00000000

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Accessing memory outside your given "segment". More commonly, and more specificly, over or undershooting the bounds of an array, or using a pointer which has been uninitialized, dereferencing a null pointer, or something along those lines.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Base container class question
    By Raigne in forum C++ Programming
    Replies: 8
    Last Post: 11-04-2008, 04:56 PM
  2. struct question
    By ctovb in forum C Programming
    Replies: 3
    Last Post: 08-13-2008, 12:23 PM
  3. Replies: 6
    Last Post: 11-14-2005, 06:23 AM
  4. Peculiar Problem with Printf
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-02-2002, 01:34 AM
  5. Peculiar Problem with Printf
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 07-02-2002, 01:03 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21