Re: bus error



sophia.agnes@xxxxxxxxx wrote:

Dear all,

I was going through peter van der linden's book expert C programming
there i found the following section on bus error

a few years ago bus errors were also generated if a memory parity
error was detected.These days memory chips are so reliable , and so
well protected by error detection and correction circuitry, that
parity errors are almost un heard of at the application programming
level.

how true is the above explanation and that can any one give example
code for generating memory parity error ?


a bus error can also be generated by referencing a memory that do not
physically exists

<snip>

Instead of asking every question that pops up in your mind at
<news:comp.lang.c>, try doing a simple web search first. Often the
information you want will be available at various places on the WWW.
For example for bus error a Google search yields the following links,
among others:

<http://en.wikipedia.org/wiki/Bus_error>
<http://web.mit.edu/answers/unix/unix_bus_or_seg.html>
<http://c.ittoolbox.com/documents/popular-q-and-a/bus-error-vs-segmentation-error-2235>

.



Relevant Pages

  • bus error
    ... I was going through peter van der linden's book expert C programming ... a few years ago bus errors were also generated if a memory parity ... a bus error can also be generated by referencing a memory that do not ...
    (comp.lang.c)
  • Re: bus error
    ... I was going through peter van der linden's book expert C programming ... a few years ago bus errors were also generated if a memory parity ... code for generating memory parity error? ... I suppose a misalinged attempt at access might generate a bus error. ...
    (comp.lang.c)