[
https://issues.apache.org/jira/browse/STDCXX-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585826#action_12585826
]
Martin Sebor commented on STDCXX-827:
-------------------------------------
It seems to me that the code in the test is just plain wrong: the {{char}}
buffer isn't guaranteed to be aligned. It needs to be aligned on the strictest
boundary (probably that of {{void*}} or {{long long}}) so that the first member
of each facet (most likely the mutex) is properly aligned.
> SIGBUS in 22.locale.stdcxx-554
> ------------------------------
>
> Key: STDCXX-827
> URL: https://issues.apache.org/jira/browse/STDCXX-827
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: trunk
> Environment: HP aCC 3.73/HP-UX/PA-RISC, Sun C++/Solaris
> Reporter: Martin Sebor
> Assignee: Eric Lemings
> Fix For: 4.2.1
>
> Original Estimate: 3h
> Time Spent: 2h
> Remaining Estimate: 1h
>
> The regression test
> [22.locale.stdcxx-554.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/regress/22.locale.stdcxx-554.cpp]
> abends with SIGBUS on some platforms:
> * HP aCC 3.73 on HP-UX/PA-RISC
> * gcc 4.1.1 or Sun C++ 5.9 on Solaris 10/SPARC
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.