Hi Robert,

This almost certainly means that you're trying to use a Reader object after
the containing MessageReader has been destroyed. Check where you're
creating the MessageReader and make sure it stays alive until you're done
using all the Reader objects that point into it.

-Kenton

On Mon, Mar 23, 2020 at 1:52 PM Robert Ritz <robritz1...@gmail.com> wrote:

> I'm using release 0.6.1 and seeing a crash due to calling pure virtual
> function ReaderArena::tryGetSegment().
> Stack trace is:
>
>  std::terminate() ()
>
>  __cxa_pure_virtual ()
>
>  capnp::_::ReaderArena::tryGetSegment(kj::Id<unsigned int,
> capnp::_::Segment>) ()
>
>  capnp::Data::Reader capnp::_::PointerReader::getBlob<capnp::Data>(void
> const*, unsigned int) const ()
>
>  capnp::_::PointerHelpers<capnp::Data, (capnp::Kind)1>::get
> (defaultBytes=0, defaultValue=0x0, reader=...)
>
>  ...
>
>
> Any idea if this is a known issue?  Or any other suggestion?
>
>
> Thanks,
>
> Rob
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to capnproto+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/capnproto/530df444-eeb7-459a-abfa-f992de71b1c8%40googlegroups.com
> <https://groups.google.com/d/msgid/capnproto/530df444-eeb7-459a-abfa-f992de71b1c8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capnproto+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/CAJouXQkRG03Q%3DunbpdWxQf0Bt7djhwcnvzV2TZ_zNCVhBr7%3Dbg%40mail.gmail.com.

Reply via email to