Author Topic: Article about Segmentation Fault  (Read 2145 times)

0 Members and 1 Guest are viewing this topic.

Offline petermlm

  • Knight
  • **
  • Posts: 226
  • Cookies: 7
  • Information is Power
    • View Profile
    • Security Check
Article about Segmentation Fault
« on: January 28, 2012, 02:00:53 am »
So I wrote this article talking about Segmentation Fault. A common bug. I didn't go into must details regarding computer architecture and virtual memory because this article is aimed at people who don't know about these things in the first place.

The link is here:
http://petermlm.net84.net/wp/?p=9

Offline Flikka

  • Banned leecher
  • Peasant
  • *
  • Posts: 56
  • Cookies: -65527
  • Life isn't fair. We all learn it the hard way.
    • View Profile
Re: Article about Segmentation Fault
« Reply #1 on: January 28, 2012, 03:32:48 am »
My name is:
01000110 01101100 01101001 01101011 01101011 01100001

Offline xzid

  • Knight
  • **
  • Posts: 329
  • Cookies: 41
    • View Profile
Re: Article about Segmentation Fault
« Reply #2 on: January 28, 2012, 08:06:20 am »
wasted alot of time on dumb mistakes, happens less and less often.

Offline petermlm

  • Knight
  • **
  • Posts: 226
  • Cookies: 7
  • Information is Power
    • View Profile
    • Security Check
Re: Article about Segmentation Fault
« Reply #3 on: January 28, 2012, 01:29:55 pm »
I got this:


http://www.000webhost.com/admin-review

That is because of the host. They check if the site has malicious contempt. The link is working now.

wasted alot of time on dumb mistakes, happens less and less often.

Me too. I used to have a hard time figuring out a mistake and just inserted a lot out printf(), or System.out.println() or some other output function to try and check what was wrong with a program. But I guess that is just natural, lol.
« Last Edit: January 28, 2012, 01:32:09 pm by petermlm »

Offline recursion

  • NULL
  • Posts: 3
  • Cookies: 0
  • C++
    • View Profile
Re: Article about Segmentation Fault
« Reply #4 on: April 22, 2012, 01:34:57 pm »
Yeah, this is a frustrating bug. I usually always got Segmentation faults when using arrays and I did a bit too much using the arrays and it couldn't access whatever it was I was trying to do. lol. Great article.