PDA

View Full Version : [ubuntu] segmentation fault (core dumped)



jon zendatta
May 6th, 2008, 11:42 PM
hell0 people.
just doing schoolwork, using C code. am able to compile with no error but when i run code i get the error 'segmentation fault' !
any idea's >> cheers.

movieman
May 6th, 2008, 11:44 PM
hell0 people.
just doing schoolwork, using C code. am able to compile with no error but when i run code i get the error 'segmentation fault' !
any idea's >> cheers.

Something broke in your code. Normally a segmentation fault means that you used an invalid pointer (e.g. NULL).