#24 Bus error on SPARC platform

open
David Sugar
None
5
2004-04-29
2004-02-25
Anonymous
No

Class MemPager has a problem of memory access on SPARC
platform in methods alloc(size) and first(size).
Pointer access must be aligned on 4-bytes boundaries.
An improperly aligned address causes a bus error to occur.

Best regards.
Vyacheslav Hryhoryev.
E-mail: slava@itcs.com.ua

Discussion

  • Patch for MemPager class to fix Bus error on SPARC

     
    Attachments
  • David Sugar
    David Sugar
    2004-04-29

    Logged In: YES
    user_id=217

    I believe this has been resolved in current releases, where
    x-byte aligned objects are now accounted for in mempager.
    There are some defines that may need to be added for different
    cpu architectures to assure correct alignment beyond ultra-sparc.

     
  • David Sugar
    David Sugar
    2004-04-29

    • assigned_to: nobody --> dyfet
    • status: open --> open-fixed