<html 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=us-ascii">
<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;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-NZ" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">From gdb debug:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Program terminated with signal SIGSEGV, Segmentation fault.</p>
<p class="MsoNormal">#0 0x00007f573bbf1bd0 in b2bl_insert_new () from /usr/lib/x86_64-linux-gnu/opensips/modules/b2b_logic.so</p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b>From: </b><a href="mailto:hobe69@hotmail.com">Bela H</a><br>
<b>Sent: </b>Thursday, 23 February 2023 11:47<br>
<b>To: </b><a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
<b>Subject: </b>[OpenSIPS-Users] [CRASH] segfault in b2b_logic</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am playing with b2bua and OpenSIPS was working fine but suddenly stopped to respond.<o:p></o:p></p>
<p class="MsoNormal">Tried to restart it but crashes now all the time with b2b. (without that it starts OK).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am using OpenSIPS:<o:p></o:p></p>
<p class="MsoNormal">version: opensips 3.2.10 (x86_64/linux)<o:p></o:p></p>
<p class="MsoNormal">flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<o:p></o:p></p>
<p class="MsoNormal">ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<o:p></o:p></p>
<p class="MsoNormal">poll method support: poll, epoll, sigio_rt, select.<o:p></o:p></p>
<p class="MsoNormal">main.c compiled on with gcc 10<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">on Debian 11.3<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">After restart I got the following error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Feb 23 11:31:37 sbc1 /usr/sbin/opensips[7010]: CRITICAL:core:sig_usr: segfault in attendant (starter) process!<o:p></o:p></p>
<p class="MsoNormal">Feb 23 11:31:37 sbc1 kernel: [66677.326614] opensips[7010]: segfault at 968 ip 00007fdf8fd68bd0 sp 00007ffe650ced00 error 4 in b2b_logic.so[7fdf8fd3d000+2d000]<o:p></o:p></p>
<p class="MsoNormal">Feb 23 11:31:37 sbc1 kernel: [66677.326627] Code: 41 89 84 24 e4 00 00 00 8b 44 24 0c 41 89 44 24 04 8b 45 08 41 89 44 24 2c 8b 45 0c 41 89 44 24 30 48 85 d2 74 2d 48 8b 04 24 <8b> 80 68 09 00 00 23 05 b4 0a 01 00 74 1b ff d2 f3 0f 6f 00
41 0f<o:p></o:p></p>
<p class="MsoNormal">Feb 23 11:31:37 sbc1 opensips: INFO:core:daemonize: pre-daemon process exiting with -1<o:p></o:p></p>
<p class="MsoNormal">Feb 23 11:31:37 sbc1 systemd[1]: opensips.service: Control process exited, code=exited, status=255/EXCEPTION<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is this a bug? How can I check it further?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">Bela<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>