[ILUG] Segmentation Fault

Waider waider at dspsrv.com
Thu Sep 13 14:29:07 IST 2001


According to Michael Treacy:
> Ok, here's the question: in general, what causes segmentation faults?

Trying to access memory you don't have access to. You're attempting to
get at some other program's 'segment'. Most common cause is accessing
uninitialized variables - in C terms, using a NULL pointer, for example.

It's too general a question to get a specific answer to, though.

Cheers,
Waider,
-- 
waider at dspsrv.com / Chances are I'm not at home right now.




More information about the ILUG mailing list