Hi John.

Thanks for your response. I built my own VPP on Debian 8 and my gcc version 
"gcc (Debian 4.9.2-10) 4.9.2". Since I had problem in building vpp with my gcc, 
I made changes on code which are available in the following link.
https://paste.ubuntu.com/p/kn34fxwSjb/

I don't know exactly what debug image is. But I changed -O2 parameters in 
vpp.mk file into -O0.  After doing this, I ran the test again and there was no 
SIGSEGV.

I took my test again with a vpp which was built by -O2 parameter and again I 
saw SIGSEGV signal. The following link shows the back-trace of new test.
https://paste.ubuntu.com/p/x98qjjxtBS/

Here is my startup.conf.
https://paste.ubuntu.com/p/G5pHbW4PGY/

Do you want me to send my vpp deb files?


Best regards
________________________________
From: John DeNisco (jdenisco) <jdeni...@cisco.com>
Sent: Tuesday, March 12, 2019 3:14 PM
To: Rubina Bianchi; Ole Troan
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] getting segfault in execution of vpp 19.01 having nat 
configuration with trex


Hi Rubina,



I tried to repro this using the VPP image you specified and could not. I was 
able to configure trex the way you had, but was able to run the test without a 
crash overnight.



Could you send us your vpp startup.conf?



Also, is this your own private build or downloaded from package cloud?



Would you be able to build and run a debug image?



Thanks,



John



From: <vpp-dev@lists.fd.io> on behalf of Rubina Bianchi <r_bian...@outlook.com>
Date: Tuesday, March 12, 2019 at 4:10 AM
To: Ole Troan <otr...@employees.org>
Cc: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] getting segfault in execution of vpp 19.01 having nat 
configuration with trex



Hi Ole,





Thanks for your response. I did apply the patch you'd sent on vpp 19.01. Again 
I got SIGSEGV by running the same test, but it occurred in a different part of 
the code.



Here is the back-trace of gdb:

https://paste.ubuntu.com/p/fpmynt3BCm/



best regards

________________________________

From: Ole Troan <otr...@employees.org>
Sent: Monday, March 11, 2019 2:36 PM
To: Rubina Bianchi
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] getting segfault in execution of vpp 19.01 having nat 
configuration with trex



Hi Rubina,

This looks like a fault in a local UDP application (BFD) registering to receive 
UDP packets, even when not configured.
That should be fixed in:
https://gerrit.fd.io/r/#/c/18188/

Great if you can verify when that is merged.

Cheers,
Ole


> I configured nat on vpp 19.01 and wanted to test it using trex. After a 
> while, vpp got SIGSEGV and all packets were dropped. My vpp version was 
> v19.01.1-2~gd0dcf7685.
> Here is my vpp configuration:
> https://paste.ubuntu.com/p/czRf8g6Nt6/
>
> This is trex config file:
> https://paste.ubuntu.com/p/DXHdQf77mC/
> This is my trex yaml file containing pcaps:
> https://paste.ubuntu.com/p/Xdngz3NWRP/
>
> I used this command to start trex test.
> ./t-rex-64 -f cap2/sfr.yaml --cfg cfg/trex_config_nat.yaml -c 4 -m 8 
> --learn-mode 3 -d 3600
>
> Here is back-trace of gdb.
> https://paste.ubuntu.com/p/qxbHP8PVYS/
>
> It would be appreciated if you can help me to fix this SIGSEGV problem.
>
> Best regards
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#12479): https://lists.fd.io/g/vpp-dev/message/12479
> Mute This Topic: https://lists.fd.io/mt/30386509/675193
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [otr...@employees.org]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12563): https://lists.fd.io/g/vpp-dev/message/12563
Mute This Topic: https://lists.fd.io/mt/30386509/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