Hi Praveen, 

It looks like the tls listener was not properly initialized. I’d recommend 
running a debug image from gdb to get more info. 

Probably openssl complained about the parameters on listen but the error was 
not handled. If I’m right, this [1] should better handle the failed listen. 

Florin

[1] https://gerrit.fd.io/r/c/20815/

> On Jul 23, 2019, at 10:05 PM, Praveen Kariyanahalli <praveen.ha...@gmail.com> 
> wrote:
> 
> Hi All
> 
> I replaced the testca/certs with my CA chain (self signed) and my server 
> client certs. When I run it I am seeing some weird assert on the server side. 
> Can anyone please throw some light on this? 
> 
> Thanks in advance
> Praveen
> 
> Jul 24 04:56:11 myvpp1 vnet[1299]: 
> /home/pk/vpp/src/plugins/tlsopenssl/tls_openssl.c:105 (openssl_lctx_get) 
> assertion `! pool_is_free (openssl_main.lctx_pool, _e)' fails
> Jul 24 04:56:11 myvpp1 vnet[1299]: received signal SIGABRT, PC 0x7f994cd66e97
> Jul 24 04:56:11 myvpp1 vnet[1299]: #0  0x00007f994d730c13 0x7f994d730c13
> Jul 24 04:56:11 myvpp1 vnet[1299]: #1  0x00007f994d43e890 0x7f994d43e890
> Jul 24 04:56:11 myvpp1 vnet[1299]: #2  0x00007f994cd66e97 gsignal + 0xc7
> Jul 24 04:56:11 myvpp1 vnet[1299]: #3  0x00007f994cd68801 abort + 0x141
> Jul 24 04:56:11 myvpp1 vnet[1299]: #4  0x000055a88d861c8d 0x55a88d861c8d
> Jul 24 04:56:11 myvpp1 vnet[1299]: #5  0x00007f994d14c8b3 0x7f994d14c8b3
> Jul 24 04:56:11 myvpp1 vnet[1299]: #6  0x00007f994d14cc82 _clib_error + 0x2c0
> Jul 24 04:56:11 myvpp1 vnet[1299]: #7  0x00007f9903c80d89 openssl_lctx_get + 
> 0xeb
> Jul 24 04:56:11 myvpp1 vnet[1299]: #8  0x00007f9903c81fd2 0x7f9903c81fd2
> Jul 24 04:56:11 myvpp1 vnet[1299]: #9  0x00007f994e7a2dbd 0x7f994e7a2dbd
> Jul 24 04:56:11 myvpp1 vnet[1299]: #10 0x00007f994e7a316b 
> tls_session_accept_callback + 0xf0
> Jul 24 04:56:11 myvpp1 vnet[1299]: #11 0x00007f994e76c90e 
> app_worker_accept_notify + 0x33
> Jul 24 04:56:11 myvpp1 vnet[1299]: #12 0x00007f994e727cff 
> session_stream_accept_notify + 0x62
> Jul 24 04:56:11 myvpp1 vnet[1299]: #13 0x00007f994dd08768 0x7f994dd08768
> Jul 24 04:56:11 myvpp1 vnet[1299]: #14 0x00007f994dd08fd6 
> tcp4_rcv_process_node_fn_avx2 + 0x2d
> ᐧ
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#13552): https://lists.fd.io/g/vpp-dev/message/13552
> Mute This Topic: https://lists.fd.io/mt/32581195/675152
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [fcoras.li...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-

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

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