Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Subject | Re: C error messages |
| Date | 2011-09-22 18:08 +0100 |
| Message-Id | <pan.2011.09.22.17.08.38.712000@nowhere.com> |
| Newsgroups | comp.lang.c |
| References | <j5dh8j$dim$1@speranza.aioe.org> |
| Organization | Zen Internet |
On Wed, 21 Sep 2011 20:25:55 +0000, Quentin Pope wrote: > What is the principle difference between a Bus Error and a Segmentation > Fault please. Ultimately, it depends upon which interrupt the hardware generates. Typically, SIGSEGV arises from accessing a virtual memory page which is either not backed by physical memory or which doesn't permit the requested operation (e.g. write to a read-only page), while SIGBUS arises from a misaligned access on an architecture which has alignment constraints.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
C error messages Quentin Pope <qp19433@hotmail.NOSPAM.com> - 2011-09-21 20:25 +0000
Re: C error messages blp@cs.stanford.edu (Ben Pfaff) - 2011-09-21 13:36 -0700
Re: C error messages Quentin Pope <qp19433@hotmail.NOSPAM.com> - 2011-09-22 21:07 +0000
Re: C error messages blp@cs.stanford.edu (Ben Pfaff) - 2011-09-22 14:34 -0700
Re: C error messages Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2011-09-22 16:05 -0600
Re: C error messages Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-22 21:21 -0400
Re: C error messages Nobody <nobody@nowhere.com> - 2011-09-22 18:08 +0100
Re: C error messages Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2011-09-23 12:00 +0300
csiph-web