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
>
>
> Comment:
>
> "most of the failures look like issues with the tests" Â and examples as
> well.
>
> 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
> Boost-bugs_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-bugs
-- "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