<div dir="ltr">I've been extensively using 5.0 under high load for last half of the year and can say that it is accurately stable, I had only one issue when several of my servers ran out of shared memory at the same time, so that was kinda weird, as they were on different physical machines, however that didn't ever happen again.<br><br>Can't wait for the release :)</div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-12 1:25 GMT+02:00 Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Daniel-Constantin Mierla writes:<br>
<br>
> They were reported in the past, iirc, but apparently only by a specific<br>
> version of compiler, or maybe some specific flags to gcc.<br>
<br>
</span>I set QUIET=verbose and got the exact command (below).<br>
<br>
-- Juha<br>
<br>
gcc -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DVERSION_NODATE   -DNAME='"sip-proxy"' -DVERSION='"5.0.0-b14"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=5000000 -DCFG_DIR='"/etc/sip-proxy/"' -DRUN_DIR='"/var/run/sip-<wbr>proxy"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT   -c core/cfg/cfg_ctx.c -o core/cfg/cfg_ctx.o -MMD -MP<br>
<div class="HOEnZb"><div class="h5">core/cfg/cfg_ctx.c: In function cfg_set_now:<br>
core/cfg/cfg_ctx.c:485:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     group_inst = (cfg_group_inst_t *)translate_pointer((char *)new_array,<br>
     ^<br>
core/cfg/cfg_ctx.c:489:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     CFG_GROUP_META(block, group)->array = new_array;<br>
     ^<br>
core/cfg/cfg_ctx.c:559:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
    if (block && (CFG_GROUP_META(block, group)->array != CFG_GROUP_META(*cfg_global, group)->array))<br>
    ^<br>
core/cfg/cfg_ctx.c:559:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
core/cfg/cfg_ctx.c:560:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     new_array = CFG_GROUP_META(block, group)->array;<br>
     ^<br>
core/cfg/cfg_ctx.c:579:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     replaced[i] = CFG_GROUP_META(*cfg_global, group)->array;<br>
     ^<br>
core/cfg/cfg_ctx.c: In function cfg_commit:<br>
core/cfg/cfg_ctx.c:1120:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     if (!(CFG_GROUP_META(block, group)->array =<br>
     ^<br>
core/cfg/cfg_ctx.c:1128:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     replaced[replaced_num] = CFG_GROUP_META(*cfg_global, group)->array;<br>
     ^<br>
core/cfg/cfg_ctx.c:1180:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     && (CFG_GROUP_META(block, changed->group)->array != CFG_GROUP_META(*cfg_global, changed->group)->array)<br>
     ^<br>
core/cfg/cfg_ctx.c:1180:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
core/cfg/cfg_ctx.c:1185:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     replaced[replaced_num] = CFG_GROUP_META(*cfg_global, group)->array;<br>
     ^<br>
core/cfg/cfg_ctx.c:1220:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
    if (CFG_GROUP_META(block, group)->array<br>
    ^<br>
core/cfg/cfg_ctx.c:1221:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     && (CFG_GROUP_META(block, group)->array != CFG_GROUP_META(*cfg_global, group)->array)<br>
     ^<br>
core/cfg/cfg_ctx.c:1221:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
core/cfg/cfg_ctx.c:1223:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     shm_free(CFG_GROUP_META(block, group)->array);<br>
     ^<br>
core/cfg/cfg_ctx.c: In function cfg_add_group_inst:<br>
core/cfg/cfg_ctx.c:1577:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
  CFG_GROUP_META(block, group)->array = new_array;<br>
  ^<br>
core/cfg/cfg_ctx.c:1578:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
  CFG_GROUP_META(block, group)->num++;<br>
  ^<br>
core/cfg/cfg_ctx.c:1580:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
  if (CFG_GROUP_META(*cfg_global, group)->array) {<br>
  ^<br>
core/cfg/cfg_ctx.c:1589:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
   replaced[0] = CFG_GROUP_META(*cfg_global, group)->array;<br>
   ^<br>
core/cfg/cfg_ctx.c: In function cfg_del_group_inst:<br>
core/cfg/cfg_ctx.c:1673:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
  CFG_GROUP_META(block, group)->array = new_array;<br>
  ^<br>
core/cfg/cfg_ctx.c:1674:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
  CFG_GROUP_META(block, group)->num--;<br>
  ^<br>
core/cfg/cfg_ctx.c:1676:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
  if (CFG_GROUP_META(*cfg_global, group)->array) {<br>
  ^<br>
core/cfg/cfg_ctx.c:1687:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
     && (*(char **)(group_inst->vars + var->offset) != NULL)<br>
     ^<br>
core/cfg/cfg_ctx.c:1705:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
      && (*(char **)(group_inst->vars + var->offset) != NULL)<br>
      ^<br>
core/cfg/cfg_ctx.c:1707:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
      replaced[num] = *(char **)(group_inst->vars + var->offset);<br>
      ^<br>
core/cfg/cfg_ctx.c:1713:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]<br>
   replaced[num] = CFG_GROUP_META(*cfg_global, group)->array;<br>
   ^<br>
</div></div><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Alexandru Covalschi<br><div>VoIP engineer and system administrator<br>tel: +37367398493<br><br></div></div></div></div></div></div></div>
</div>