Opened 10 years ago

#7017 new Bugs

libs/pool/test/test_simple_seg_storage.cpp produces bus error on 64-bit Solaris SPARC architecture

Reported by: Mike Liang <mtliang@…> Owned by: Chris Newbold
Milestone: To Be Determined Component: pool
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

main() in test_simple_seg_storage.cpp adds blocks with offsets of 0, 49 and 25. This results in non-word aligned access and a bus error on the Sparc Solaris architecture for the latter two when built and run in 64-bit mode. It looks like the offsets should have been 48 and 24 since the all three requested chunk sizes are 24.

Attachments (2)

test_simple_seg_storage.cpp.patch (859 bytes ) - added by Mike Liang <mtliang@…> 10 years ago.
test_simple_seg_storage.cpp.2.patch (859 bytes ) - added by Mike Liang <mtliang@…> 10 years ago.

Download all attachments as: .zip

Change History (2)

by Mike Liang <mtliang@…>, 10 years ago

by Mike Liang <mtliang@…>, 10 years ago

Note: See TracTickets for help on using tickets.