<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><tt>Hi, Samy!</tt></p>
<p><tt>The problem is that you forgot to also define DBG_STRUCT_HIST,
which resulted in a broken binary - I did not cover this compilation
corner-case when I pushed the feature.</tt></p>
<p><tt>Just pushed a fix [1] for this on master. Defining DBG_TCPCON
without DBG_STRUCT_HIST should have no impact on the resulting
binary. You will, however, get some nice warnings all over your
screen if you try this again :)</tt></p>
<p><tt>Thanks for the report!</tt></p>
<p><tt>Cheers,</tt></p>
<p><tt>[1]:
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/ec04149f2b9b09">https://github.com/OpenSIPS/opensips/commit/ec04149f2b9b09</a></tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 29.11.2017 18:58, SamyGo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJUJwtitjeQ5osPLjn3xLH9wTtafxLUwU3UnqXJQ8U9UPYGYMA@mail.gmail.com">
<div dir="ltr"><span style="font-size:12.8px">Hi,</span>
<div style="font-size:12.8px">I just installed the head version
from git.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div><font face="monospace, monospace">version: opensips
2.4.0-dev (x86_64/linux)</font></div>
<div><font face="monospace, monospace">flags: STATS: On,
SHM_EXTRA_STATS, EXTRA_DEBUG, DISABLE_NAGLE, USE_MCAST,
SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT</font></div>
<div><font face="monospace, monospace">ADAPTIVE_WAIT_LOOPS=1024,
MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE
1024, BUF_SIZE 65535</font></div>
<div><font face="monospace, monospace">poll method support:
poll, epoll_lt, epoll_et, sigio_rt, select.</font></div>
<div><font face="monospace, monospace">git revision: d1a4419</font></div>
<div><font face="monospace, monospace">main.c compiled on
19:53:20 Nov 28 2017 with gcc 4.8</font></div>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">It was compiled with EXTRA_DEBUG
and DBG_TCPCON flags;</div>
<div style="font-size:12.8px">While starting opensips with the
residential vanilla script it gives following error:</div>
<div style="font-size:12.8px"><font face="monospace, monospace"><br>
</font></div>
<div style="font-size:12.8px">
<div><font face="monospace, monospace">Nov 28 20:05:52
[30899] <span style="background-color:rgb(255,229,153)">ERROR:core:tcp_init:
oom con hist</span></font></div>
<div><font face="monospace, monospace">Nov 28 20:05:52
[30899] <span style="background-color:rgb(255,229,153)">CRITICAL:core:main:
could not initialize tcp</span></font></div>
<div><font face="monospace, monospace">Nov 28 20:05:52 [30899]
<a class="moz-txt-link-freetext" href="INFO:core:cleanup">INFO:core:cleanup</a>: cleanup</font></div>
<div><font face="monospace, monospace">Nov 28 20:05:52 [30899]
DBG:core:shm_mem_destroy: destroying the shared memory
lock</font></div>
<div><font face="monospace, monospace">Nov 28 20:05:52 [30899]
NOTICE:core:main: Exiting....</font></div>
<div><font face="monospace, monospace"> already running
</font></div>
</div>
<div style="font-size:12.8px"><font face="monospace, monospace"><br>
</font></div>
<span style="font-size:12.8px">Even if I remove the proto_tcp,
and tcp related things from config file this still gives error
and doesn't start.</span>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">However, if I remove the compile
flags then it works fine. Any reason why?</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Regards,</div>
<div style="font-size:12.8px">Sammy</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
</blockquote>
<br>
</body>
</html>