c++ - How to get a "bus error"? -
i trying hard bus error.
one way misaligned access , have tried examples given here , here, no error me - programs execute fine.
is there situation sure produce bus error?
bus errors can invoked on hardware platforms that:
- require aligned access, and
- don't compensate unaligned access performing 2 aligned accesses , combining results.
you not have access such system.
Comments
Post a Comment