Thanks for this amazing software.
We are using v0.7.0. I would like to ask help debugging the following exception which we rarely but consistently get:
terminate called after throwing an instance of 'kj::ExceptionImpl'
what(): kj/table.c++:44: failed: inserted row already exists in table
stack: 7f6f7f0697 7f6f7f1ee3 7f6f802623 7f6f5dc9ab 7f6f5b4823 7f77fdd5bf 557c6f2957 557c63df2b 7f78a30e13 7f78b0f087
Our backtrace shows that we were trying to read from a proto, then the following two functions in capnp were called:
- kj::Table<kj::HashMap<unsigned int, kj::Own<capnp::_::SegmentReader> >::Entry, kj::HashIndex<kj::HashMap<unsigned int, kj::Own<capnp::_::SegmentReader> >::Callbacks> >::insert(kj::HashMap<unsigned int, kj::Own<capnp::_::SegmentReader> >::Entry&&)
- capnp::_::ReaderArena::tryGetSegment(kj::Id<unsigned int, capnp::_::Segment>)
Why would reading from proto trigger an insert call?
How can I make use of the "stack: 7f6f7f0697 7f6f7f1ee3..." to debug this further?
If the way we read proto is OK, can this perhaps be caused by how we populate the proto contents? Perhaps some missing or corrupt members?
Thank you very much for help in advance,
Oguz