Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12913: Undefined behaviour in serialization library
From: F (fabrizio_at_[hidden])
Date: 2017-05-04 16:12:13
Conta de email desativada
Email account disabled
On 4 May 2017, at 13:12, Boost C++ Libraries via Boost-bugs <boost-bugs_at_[hidden]> wrote:
> #12913: Undefined behaviour in serialization library
> Â Reporter: Â johnmaddock Â Â Â Â Â Â Â Â Â Â Â Â Â | Â Â Â Â Â Owner: Â ramey
> Â Â Â Â Â Type: Â Bugs Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â | Â Â Â Â Status: Â assigned
> Milestone: Â To Be Determined Â Â Â Â Â Â Â Â | Â Component: Â serialization
> Â Â Version: Â Boost Development Trunk Â | Â Â Severity: Â Problem
> Resolution: Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â | Â Â Keywords:
> Changes (by ramey):
> * status: Â new => assigned
> "most of the failures look like issues with the tests" Â and examples as
> Unfortunately, when making the tests and examples, I totally ignored the
> issue of object lifetime. Â Actually it should be addressed in the
> documentation itself since de-serialization of a pointer creates a new
> object which may be without an owner. Â It's odd that no one has complained
> about this. Â I sometimes wonder if this causes problems for some people.
> In any case, it prevents me from running the "sanitizers" which I would
> have liked to be able to do. Â Making alterations to support this would
> take a very large amount of time which is hard to justify for the
> serialization library these days. Â I'm wondering when it will be replaced.
> This particular error is kind of interesting. Â According to the message,
> the complaint is in trying to downcast an object of type
> xml_oarchive_impl<xml_oarchive> to an object of type xml_oarchive. Â But
> I'm quite sure that xml_oarchive has xml_oarchive_impl<xml_oarchive> as a
> base class. So I can't really understand the message and I'm not really
> sure what to do about it - if anything.
> Thanks for pointing this out - I'll leave this open in case I stumble upon
> something which sheds light on it.
> Ticket URL: <https://svn.boost.org/trac/boost/ticket/12913#comment:1>
> Boost C++ Libraries <http://www.boost.org/>
> Boost provides free peer-reviewed portable C++ source libraries.
> Boost-bugs mailing list
-- "Esta mensagem Ã© enviada exclusivamente a seu destinatÃ¡rio e pode conter informaÃ§Ãµes confidenciais, protegidas por sigilo profissional. Sua utilizaÃ§Ã£o desautorizada Ã© ilegal e sujeita o infrator Ã s penas da lei. Se vocÃª a recebeu indevidamente, queira, por gentileza, reenviÃ¡-la ao emitente, esclarecendo o equÃvoco."
This archive was generated by hypermail 2.1.7 : 2017-05-04 16:22:09 UTC