Hello,
I'm trying to understand how works VOM wrapper for C++ API.
VOM manager header: https://pastebin.com/BgG7td5s
VOM manager cpp: https://pastebin.com/890jjUJm
main.cpp: 

int main() {
    TVppManager manager;
    std::cout << "Starting\n";
    manager.Start();
 
    sleep(60);
 
    manager.Stop();
}

When I'm trying to run sudo ./main a I got error:
Starting
Calling connect
Manager is connected
Mon Jul  2 05:33:55 2018 [debug]hw.cpp:129 write() itf-events
Mon Jul  2 05:33:55 2018 [debug]rpc_cmd.hpp:120 operator()() itf-events 0
Started
main: /place/home/xpahos/git/vpp/build-data/../src/vpp-api/vapi/vapi.c:696: 
vapi_msg_is_with_context: Assertion `id <= __vapi_metadata.count' failed.
Aborted

I found that id looks like unsigned value overflow. How can I debug this? I 
don't see anything in trace dump.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9753): https://lists.fd.io/g/vpp-dev/message/9753
Mute This Topic: https://lists.fd.io/mt/22999158/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to