#1375 sfcbmof unaligned access when installing sblim-sfcb

Performance
closed-fixed
sfcb (1090)
5
2008-12-15
2008-10-15
J. Bart Whiteley
No
0 up votes | 0 down votes | 0%
5 comments

When running sfcbmof on ia64, the following is observed:

sfcbmof(3010): unaligned access to 0x60000000029dbf94, ip=0x20000000000a3801
sfcbmof(3010): unaligned access to 0x6000000002a30adc, ip=0x20000000000a3801
sfcbmof(3010): unaligned access to 0x6000000002a5e2fc, ip=0x20000000000a3801
sfcbmof(3010): unaligned access to 0x6000000002a71e14, ip=0x20000000000a3801
sfcbmof(3010): unaligned access to 0x6000000002ab29ac, ip=0x20000000000a3801

This patch fixes the problem:
--- objectImpl.h
+++ objectImpl.h
@@ -52,7 +52,7 @@
#define GetMax(f) (GetLo15b((f)))
#define IsMallocedMax(x) (GetHi1b((x)))

- #define CLALIGN 4
+ #define CLALIGN sizeof(void*)
#define CLEXTRA 0

#define ALIGN(x,y) (x == 0 ? 0 : ((((x-1)/y)+1)*y))

Discussion

  • Chris Buccella
    Chris Buccella
    2008-10-15

    • status: open --> pending-fixed
     
  • Chris Buccella
    Chris Buccella
    2008-10-15

    File Added: 2168834-sfcbmof_unaligned_access_ia64.patch

     
  • Chris Buccella
    Chris Buccella
    2008-10-15

    committed to HEAD

     
    • status: pending-fixed --> closed-fixed
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 60 days (the time period specified by
    the administrator of this Tracker).