Hi Florin,

The problem observed is in v18.07, not the rc, and the line is at 1126 (session 
= pool_elt_at_index ()), sorry for wrong version last time.

-------------
YeXin

发件人: Florin Coras [mailto:[email protected]]
发送时间: 2018年8月6日 23:35
收件人: yexin (F) <[email protected]>
抄送: [email protected]; wangyalei (A) <[email protected]>
主题: Re: [vpp-dev] Assertion fails in external echo server/client

Hi YeXin,

First of all, do you see this with 18.07 or master? Secondly, I’ve checked out 
origin/stable/1804 and at line 1126 there’s no attempt to access a pool. Are 
you testing with rc0 or custom code?

Thanks,
Florin


On Aug 5, 2018, at 11:29 PM, yexin (F) 
<[email protected]<mailto:[email protected]>> wrote:

The version tested is v18.04.

发件人: yexin (F)
发送时间: 2018年8月6日 14:22
收件人: '[email protected]<mailto:[email protected]>' 
<[email protected]<mailto:[email protected]>>
抄送: wangyalei (A) 
<[email protected]<mailto:[email protected]>>
主题: Assertion fails in external echo server/client

Hi vpp-dev,

I get the “assertion failure” when test external echo server/client by doing 
below:

1.      Build the external test echo apps
2.      Start vpp1 and attach the server application, `./tcp_echo uri 
tcp://192.168.122.67/11111 use-svm-api`
3.      Start vpp2 and connect to tcp_echo server from vpp prompt, `vpp# test 
echo clients uri tcp://192.168.122.67/11111`<tcp://192.168.122.67/11111%60>

Then the server crashed due to assertion failure. The error message looks like:

‘/vpp/src/tests/vnet/session/tcp_echo.c:1126(server_handle_fifo_event_rx) 
assertion `! pool_is_free (em->sessions, _e)` fails’

----------
YeXin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10039): https://lists.fd.io/g/vpp-dev/message/10039
Mute This Topic: https://lists.fd.io/mt/24206621/675152
Group Owner: [email protected]<mailto:[email protected]>
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10056): https://lists.fd.io/g/vpp-dev/message/10056
Mute This Topic: https://lists.fd.io/mt/24217935/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to