<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-CH" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Sorry, idea was to test the 5.6.0 and not the 5.5.0, so I will try again
</span><span lang="EN-US" style="font-family:"Segoe UI Emoji",sans-serif">😊</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">BR<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Laurent<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:FR-CH">From:</span></b><span lang="EN-US" style="mso-fareast-language:FR-CH"> Laurent Schweizer
<br>
<b>Sent:</b> vendredi, 11 juin 2021 23:49<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org><br>
<b>Subject:</b> Kamailio 5.5.0 | CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 26<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I setup a Kamailio 5.5.0 (from GIT) on a ubuntu Ubuntu 18.04.5 LTS and I have some error with the libssl/ libmysql, seems not happening every time.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regarding the config file, it’s a config running correctly on a Kamailio 5.3.x on a centos 7<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have attached the returned error and the result of the core file.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Any idea ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">BR<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Laurent<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">version: kamailio 5.5.0 (x86_64/linux) 66370c<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">id: 66370c<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">compiled on 07:23:15 Jun 11 2021 with gcc 7.5.0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: loading modules under config path: /usr/local/lib64/kamailio/modules/<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: Listening on<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: udp: 80.132.9.112:5060<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: udp: 80.132.9.112:6000<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: tcp: 80.132.9.112:5060<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: tcp: 80.132.9.112:6000<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: tls: 80.132.9.112:5061<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: Aliases:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: tls: zrh02-srv03:5061<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: tcp: zrh02-srv03:6000<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: tcp: zrh02-srv03:5060<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: udp: zrh02-srv03:6000<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: udp: zrh02-srv03:5060<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 kamailio[7129]: *: sipbkp.demo.ch:*<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 /usr/local/sbin/kamailio[7135]: WARNING: tls [tls_init.c:793]: tls_h_mod_init_f(): openssl bug #1491 (crash/mem leaks on low memory) workaround enabled (on low memory tls operations will fail
preemptively) with free memory thresholds 13107200 and 6553600 bytes<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:45 zrh02-srv03 /usr/local/sbin/kamailio[7135]: NOTICE: tls [tls_domain.c:1136]: ksr_tls_fix_domain(): registered server_name callback handler for socket [:0], server_name='<default>' ...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:46 zrh02-srv03 kernel: [304361.950608] traps: kamailio[7147] general protection ip:7f5d209a344b sp:7ffe6ae5adb8 error:0 in libcrypto.so.1.1[7f5d207b5000+29b000]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:46 zrh02-srv03 systemd[1]: Started Kamailio SIP Server.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:54 zrh02-srv03 /usr/local/sbin/kamailio[7161]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 26<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:54 zrh02-srv03 /usr/local/sbin/kamailio[7135]: ALERT: <core> [main.c:788]: handle_sigs(): child process 7147 exited by a signal 11<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:54 zrh02-srv03 /usr/local/sbin/kamailio[7135]: ALERT: <core> [main.c:791]: handle_sigs(): core was generated<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:54 zrh02-srv03 systemd[1]: kamailio.service: Main process exited, code=exited, status=1/FAILURE<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jun 11 21:35:54 zrh02-srv03 systemd[1]: kamailio.service: Failed with result 'exit-code'.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This GDB was configured as "x86_64-linux-gnu".<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Type "show configuration" for configuration details.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For bug reporting instructions, please see:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Find the GDB manual and other documentation resources online at:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://www.gnu.org/software/gdb/documentation/">http://www.gnu.org/software/gdb/documentation/</a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For help, type "help".<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Type "apropos word" to search for commands related to "word"...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Reading symbols from /usr/local/sbin/kamailio...done.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[New LWP 7147]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Thread debugging using libthread_db enabled]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Core was generated by `/usr/local/sbin/kamailio -m 5000 -M 128 -P /run/kamailio/kamailio.pid -f /confi'.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Program terminated with signal SIGSEGV, Segmentation fault.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#0 0x00007f5d209a344b in X509_LOOKUP_by_subject () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">(gdb) bt<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#0 0x00007f5d209a344b in X509_LOOKUP_by_subject () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#1 0x00007f5d209a3a5b in X509_STORE_CTX_get_by_subject () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#2 0x00007f5d209a418d in X509_STORE_CTX_get1_issuer () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#3 0x00007f5d209a9207 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#4 0x00007f5d209a9f96 in X509_verify_cert () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#5 0x00007f5d20caf337 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#6 0x00007f5d20cd037b in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#7 0x00007f5d20cd2995 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#8 0x00007f5d20ccc48c in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#9 0x00007f5d20cb84e4 in SSL_do_handshake () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#10 0x00007f5d215cbdb1 in ?? () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#11 0x00007f5d2159f4de in mysql_real_connect () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#12 0x00007f5d21b410b1 in db_mysql_new_connection (id=0x7f5d21ee2b30) at km_my_con.c:157<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#13 0x00007f5d211456dc in db_do_init2 (url=0x7f5d1e9dd4e0 <ul_db_url>, new_connection=0x7f5d21b3f6a4 <db_mysql_new_connection>, pooling=DB_POOLING_PERMITTED) at db.c:317<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#14 0x00007f5d211443f9 in db_do_init (url=0x7f5d1e9dd4e0 <ul_db_url>, new_connection=0x7f5d21b3f6a4 <db_mysql_new_connection>) at db.c:270<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH">#15 0x00007f5d21b3459e in db_mysql_init (_url=0x7f5d1e9dd4e0 <ul_db_url>) at km_dbase.c:202<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#16 0x00007f5d1e7a1987 in child_init (_rank=-1) at usrloc_mod.c:471<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#17 0x000055ddd6c45602 in init_mod_child (m=0x7f5d21e03818, rank=-1) at core/sr_module.c:864<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#18 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e03bb8, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#19 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e04498, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#20 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e056a8, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#21 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e06390, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#22 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e06b38, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#23 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e06fb8, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#24 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e075f0, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#25 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e090c0, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#26 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e09500, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#27 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e0a400, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#28 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e0aa70, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#29 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e0b0b0, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#30 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e0b5d8, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#31 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e0bdd0, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#32 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e0c968, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#33 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e0f7f8, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#34 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e105d8, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#35 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e109b0, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#36 0x000055ddd6c4521d in init_mod_child (m=0x7f5d21e10ea0, rank=-1) at core/sr_module.c:860<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#37 0x000055ddd6c45ef9 in init_child (rank=-1) at core/sr_module.c:909<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#38 0x000055ddd6b9eebe in fork_process (child_id=-1, desc=0x55ddd6ee7847 "slow timer", make_sock=1) at core/pt.c:337<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#39 0x000055ddd6abaa62 in main_loop () at main.c:1814<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#40 0x000055ddd6ac6095 in main (argc=9, argv=0x7ffe6ae5d298) at main.c:3053<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>