Boost logo

Boost :

Subject: Re: [boost] [boost1.38][serialization][Patch Request] Request a patch for fixing crashes on SunOS 64bit platform
From: Joanne chiang (maverickchiang_at_[hidden])
Date: 2009-05-17 21:52:56


2009/5/18 Beman Dawes <bdawes_at_[hidden]>:
> On Sun, May 17, 2009 at 10:01 AM, Joanne chiang
> <maverickchiang_at_[hidden]> wrote:
>> Hi,
>
> First, please don't top post. See
> http://www.boost.org/community/policy.html#quoting
>
>> Sorry that I don't really get it. I observed there's already SunOs
>> 5.7, 5.8, 5.9 32bit run on the trunk. The fastest way is to make a
>> slight change via simply adding '-m64' of CC options....
>
> You can ask one of the testers to do that. The best place to reach
> them is the Boost Testing list: boost-testing at lists.boost.org.
> Presumably the current SunOS testers contribute tests for
> configurations they care most about, but it won't hurt to ask.
>
> --Beman
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

Hi Beman,

Thanks for your info. Currently I'll focus on Item 1 as I posted.
There are some crashes that require a patch fix.
Hope the following debug messages helpful

--
build % dbx bin.v2/libs/serialization/test/test_array_xml_archive.test/sun-5.10/debug/link-static/test_array_xml_archive
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.6' in
your .dbxrc Reading test_array_xml_archive Reading ld.so.1 Reading
librt.so.1 Reading libCrun.so.1 Reading libm.so.2 Reading libc.so.1
Reading libaio.so.1 Reading libmd5.so.1
(dbx) check -all
access checking - ON
memuse checking - ON
(dbx) run
Running: test_array_xml_archive
(process id 20491)
Reading rtcapihook.so
Reading libdl.so.1
Reading rtcaudit.so
Reading libmapmalloc.so.1
Reading libgen.so.1
Reading libc_psr.so.1
Reading rtcboot.so
Reading librtc.so
RTC: Enabling Error Checking...
RTC: Running program...
Read from uninitialized (rui):
Attempting to read 1 byte at address 0xffffffff7fffbffc
    which is 204 bytes above the current stack pointer stopped in
std::for_each<const char*,boost::archive::detail::XML_name<const char>
> at line 67 in file "_algo.h"
   67   }
(dbx) where
=>[1] std::for_each<const char*,boost::archive::detail::XML_name<const
char> >(__first = 0x100223244 "", __last = 0x100223244 "", __f =
STRUCT), line 67 in "_algo.h"
  [2] boost::archive::basic_xml_oarchive<boost::archive::xml_oarchive>::save_start(this
= 0xffffffff7fffdd30, name = 0x10022323d "a_array"), line 103 in
"basic_xml_oarchive.ipp"
  [3] boost::archive::basic_xml_oarchive<boost::archive::xml_oarchive>::save_override<A[10]const>(this
= 0xffffffff7fffdd30, t = STRUCT, _ARG3 = 0), line 102 in
"basic_xml_oarchive.hpp"
  [4] boost::archive::detail::interface_oarchive<boost::archive::xml_oarchive>::operator<<
<const boost::serialization::nvp<A[10]const> >(this =
0xffffffff7fffdd40, t = STRUCT), line 64 in "interface_oarchive.hpp"
  [5] test_array<A>(_ARG1 = CLASS), line 68 in "test_array.cpp"
  [6] test_main(_ARG1 = 1, _ARG2 = 0xffffffff7ffff0d8), line 117 in
"test_array.cpp"
  [7] main(argc = 1, argv = 0xffffffff7ffff0d8), line 179 in "test_tools.hpp"
(dbx)

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk