Segmentation fault

This is a discussion on Segmentation fault within the C Programming forums, part of the General Programming Boards category; what does a segmentation fault mean????...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    18

    Post Segmentation fault

    what does a segmentation fault mean????

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    It means "Bad Thing(tm)".

    Actually it means something like: You're trying to use memory you aren't allowed to. This is usually caused by you using a pointer which hasn't been initialized or something similar. (Such as overflowing a buffer, etc...)

    Quzah.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Re: Segmentation fault
    By turkish_van in forum C Programming
    Replies: 8
    Last Post: 01-20-2007, 05:50 PM
  2. Segmentation fault
    By bennyandthejets in forum C++ Programming
    Replies: 7
    Last Post: 09-07-2005, 06:04 PM
  3. Segmentation fault
    By NoUse in forum C Programming
    Replies: 4
    Last Post: 03-26-2005, 03:29 PM
  4. Locating A Segmentation Fault
    By Stack Overflow in forum C Programming
    Replies: 12
    Last Post: 12-14-2004, 01:33 PM
  5. Segmentation fault...
    By alvifarooq in forum C++ Programming
    Replies: 14
    Last Post: 09-26-2004, 01:53 PM

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