Thx for fast response!
That solved my problem, now I can debug it!

BR /Tobias



On 29 June 2017 at 13:46, Damjan Marion (damarion) <damar...@cisco.com>
wrote:

>
> > On 29 Jun 2017, at 11:25, Tobias Sundqvist <tobias.sundqv...@tieto.com>
> wrote:
> >
> > Hi I am devloping a crypto node using vpp (version 17.02) on Ubuntu. I
> first setup the nodes that I am going to use and it works fine just
> forwarding the packets as it should.
> > But now I have implemented some crypto functions inside the nodes and
> also added a new node of type process that should initialize some crypto
> parts before the nodes can be used.
> >
> > My problem is now that vpp crashes during startup when it loads my
> plugin and I cannot see why in the log. I only see:
> >
> > load_one_plugin:184: Loaded plugin: gtpu.so (Encapsulates packets with a
> GTPU header.)
> > vpp[11278]: received signal SIGSEGV, PC 0x7f6b09e1785a, faulting address
> 0x7f6ac9471ff0
> >
> > and vpp has not been started (with the latest changes in my plugin vpp
> starts normally)
> >
> > If I start vpp with gdb then I can step from the main program but I can
> never reach my plugin code and I cannot set breakpoints inside the process
> function, it will never reach that code.
> >
> > Is there some way to debug my own plugin or get more information in the
> vpp log.
>
> Have you set your plugin path properly when you start vpp from gdb? i.e.
>
> gdb> r unix interactive plugin_path /path/to/plugin/dir
>
>
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to