[SR-Users] Kamailio 5.4.3 crash at SSL error

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 14 14:59:12 CEST 2021


OK, let's see if pops up again.

Does Centos 7 ships both libssl 1.0.x and 1.1.x? If yes, then I noticed
immature libssl 1.1.x version being present typically in such cases
(early version of 1.1.x).

You can see which one was used to link the tls module with:

ldd /path/to/tls.so

Cheers,
Daniel

On 14.09.21 14:50, Igor Olhovskiy wrote:
> Daniel,
>
> Will try to update, thanks!
>
> It's only SIP traffic being used in TLS/WSS flavor.
>
> But as I've mentioned, this happened only once for about 3 months of
> non-interrupted running and I don't see a way to reproduce it. Will
> keep an eye on it.
>
> Regards,
> Igor
>
> On 14.09.2021 14:43, Daniel-Constantin Mierla wrote:
>> Hello,
>>
>> can you upgrade to latest 5.4.x version? To be sure it is not a side
>> effect of other issues that were fixed.
>>
>> Are you using http_client or other modules that may create tls/https
>> connections to other applications, not for sip traffic?
>>
>> Cheers,
>> Daniel
>>
>> On 13.09.21 13:32, Igor Olhovskiy wrote:
>>> Hello.
>>>
>>> Kamailio 5.4.3 crashes at CentOS 7 with following error logs
>>>
>>> Sep 13 13:15:11 /usr/local/sbin/kamailio[44592]: ERROR: <core>
>>> [core/tcp_read.c:1500]: tcp_read_req(): ERROR: tcp_read_req: error
>>> reading - c: 0x7f3b93734cf8 r: 0x7f3b93734e20 (-1)
>>> Sep 13 13:15:12 /usr/local/sbin/kamailio[44594]: NOTICE: tls
>>> [tls_domain.c:747]: sr_ssl_ctx_info_callback(): SSL handshake started
>>> Sep 13 13:15:12 kernel: traps: kamailio[44594] general protection
>>> ip:7f3ba8fb3c09 sp:7ffe2c3aff70 error:0 in
>>> libssl.so.1.0.2k[7f3ba8f87000+67000]
>>> Sep 13 13:15:12 /usr/local/sbin/kamailio[44597]: CRITICAL: <core>
>>> [core/pass_fd.c:277]: receive_fd(): EOF on 38
>>> Sep 13 13:15:12 /usr/local/sbin/kamailio[44597]: CRITICAL: <core>
>>> [core/pass_fd.c:85]: recv_all(): 1st recv on 41 failed: Connection
>>> reset by peer
>>> Sep 13 13:15:12/usr/local/sbin/kamailio[44597]: CRITICAL: <core>
>>> [core/tcp_main.c:3543]: handle_tcp_child(): read from tcp child 2 (pid
>>> 44594, no 19) Connection reset by peer [104]
>>> Sep 13 13:15:12/usr/local/sbin/kamailio[44561]: ALERT: <core>
>>> [main.c:777]: handle_sigs(): child process 44594 exited by a signal 11
>>> Sep 13 13:15:12/usr/local/sbin/kamailio[44561]: ALERT: <core>
>>> [main.c:780]: handle_sigs(): core was generated
>>> Sep 13 13:15:12 /usr/local/sbin/kamailio[44561]: INFO: <core>
>>> [main.c:802]: handle_sigs(): terminating due to SIGCHLD
>>>
>>> I'm pretty sure these logs are mostly not usable, but maybe they will
>>> point to some bugs.
>>>
>>> To add, this happened just occasionally and I can't reproduce it at
>>> the moment.
>>>
>>> -- 
>>> Regards,
>>> Igor
>>>
>>>
>>> __________________________________________________________
>>> Kamailio - Users Mailing List - Non Commercial Discussions
>>>   * sr-users at lists.kamailio.org
>>> Important: keep the mailing list in the recipients, do not reply only
>>> to the sender!
>>> Edit mailing list options or unsubscribe:
>>>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>  * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only
> to the sender!
> Edit mailing list options or unsubscribe:
>  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda




More information about the sr-users mailing list