Re: Seg fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Priya Sinha writes:
 > Hi,
 > 
 > Does GCC give segmentation fault when an attempt is made to access
 > memory outside the process address space only or can this error be
 > generated even if an attempt is made to access any area within the
 > adress spaxce itself, for eg; the code area or the .ro section of the
 > process?

gcc doesn't do any of thse things.  SIGSEGV is generated by the
operating system kernel whenever an illegal memory access is detected.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux