Hi,

I also faced this type of issue,  there is a keep alive message,  which VPP
keep on sending to its client,  and if you don't have it's registration,
client app crashes.

Can you print the message id and you can refer various VPP CLI

show api messag
show api client
show api ring

etc

Regards,
Chetan Bhasin

On Mon, Jul 2, 2018, 13:10 Klement Sekera via Lists.Fd.Io <ksekera=
cisco....@lists.fd.io> wrote:

> Hi,
>
> can you please run in gdb (or open core) and pass us a stack trace?
>
> Thanks,
> Klement
>
> On Sun, 2018-07-01 at 19:36 -0700, xpa...@gmail.com wrote:
> > 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/675704
> > Group Owner: vpp-dev+ow...@lists.fd.io
> > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [ksek...@cisco.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#9755): https://lists.fd.io/g/vpp-dev/message/9755
> Mute This Topic: https://lists.fd.io/mt/22999158/856484
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [
> chetan.bhasin...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9769): https://lists.fd.io/g/vpp-dev/message/9769
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