<div dir="ltr"><div>Thanks Razvan.</div><div><br></div><div>First I would like to know few things; <br></div><div><br></div><div>1- which is the stable release for v2.2? As I see there are two versions available 2.2.7 & 2.2.8.</div><div>2- Is routing configuration for v2.2.3 works with v2.2.7 or v2.2.8?</div><div><br></div><div>
<div></div><div>As I was going through the release notes and the source codes for v2.4, v2.2.7 and v2.2.8. For now I may need to stick with v2.2 due to routing configuration in v2.4 as alot of changes need to be made (in term of routing script) and may need sometime for deployment and testing.</div>
</div><div><br></div><div>Please advise.<br></div><div><br></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Date: Wed, 6 Nov 2019 11:32:45 +0200<br>
From: Răzvan Crainea <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>><br>
To: <a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><br>
Subject: Re: [OpenSIPS-Users] OpenSIPs 2.2.3 SegFault<br>
Message-ID: <<a href="mailto:ca92b90f-a3ad-e7f8-ceac-057ef7dc5c1e@opensips.org" target="_blank">ca92b90f-a3ad-e7f8-ceac-057ef7dc5c1e@opensips.org</a>><br>
Content-Type: text/plain; charset=utf-8; format=flowed<br>
<br>
Hi, Ahmed!<br>
<br>
OpenSIPS 2.2 is quite an old version and is no longer supported for a <br>
while. If you have the possibility, I'd suggest you to migrate to 2.4, <br>
which is a stable LTS - if the issue occurs there, then we are able to <br>
investigate it and track down the problem.<br>
If you can't do that, you're best chance is to upgrade to the latest 2.2 <br>
release, which is 2.2.7. If that still crashes, there's not that much <br>
you can do, as 2.2 is out of support now, and you will need to migrate <br>
to 2.4 anyway.<br>
<br>
Best regards,<br>
Răzvan<br>
<br>
On 11/5/19 9:35 PM, Ahmed Chohan wrote:<br>
> Hi,<br>
> <br>
> I'm currently using OpenSIPs v 2.2.3 in our environment for over a year <br>
> after migrated from version 1.6. As per on 1.6, we were experiencing <br>
> Segfault and advised to move on 2.2.3 (update to date version during <br>
> that time) to resolve this issue but it didn't help at all.<br>
> <br>
> After going through the forums, it stated root cause is memory <br>
> allocation for pkmem as last week, I've upgraded from 16 M to 32 MB in <br>
> config but still experiencing the same issue. See below message below <br>
> from logs;<br>
> <br>
> Nov 4 17:49:50 qorclvsiproxy05 kernel: opensips[7800] general <br>
> protection ip:4f6112 sp:7fffd35bc6b0 error:0 in opensips <br>
> (deleted)[400000+1ed000<br>
> <br>
> See below extracted coredump. Please advise to find the root cause and <br>
> to resolve this issue.<br>
> <br>
> Core was generated by `/sbin/opensips -P /var/run/opensips/opensips.pid <br>
> -m 4096 -M 32 -u opensips -g o'.<br>
> Program terminated with signal 11, Segmentation fault.<br>
> #0 fm_status (qm=<value optimized out>) at mem/f_malloc.c:709<br>
> 709 <br>
> size+=f->size,f=f->u.nxt_free,i++,j++){ }<br>
> (gdb) bt full<br>
> #0 fm_status (qm=<value optimized out>) at mem/f_malloc.c:709<br>
> f = 0x7f7994902d8000<br>
> i = 140018<br>
> j = <value optimized out><br>
> h = <value optimized out><br>
> unused = 0<br>
> size = 35881011432156432<br>
> __FUNCTION__ = "fm_status"<br>
> #1 0x000000000043a32a in shm_status (show_status=<value optimized out>) <br>
> at mem/shm_mem.h:611<br>
> No locals.<br>
> #2 cleanup (show_status=<value optimized out>) at main.c:339<br>
> __FUNCTION__ = "cleanup"<br>
> #3 0x000000000043ad2c in handle_sigs () at main.c:520<br>
> chld = <value optimized out><br>
> chld_status = 139<br>
> overall_status = 139<br>
> i = <value optimized out><br>
> do_exit = 1<br>
> __FUNCTION__ = "handle_sigs"<br>
> #4 0x000000000043ea12 in main_loop (argc=<value optimized out>, <br>
> argv=<value optimized out>) at main.c:720<br>
> startup_done = <value optimized out><br>
> chd_rank = 0<br>
> #5 main (argc=<value optimized out>, argv=<value optimized out>) at <br>
> main.c:1265<br>
> cfg_stream = <value optimized out><br>
> c = <value optimized out><br>
> r = <value optimized out><br>
> tmp = 0x7fffd35be90d ""<br>
> tmp_len = <value optimized out><br>
> port = 0<br>
> proto = 5848501<br>
> protos_no = <value optimized out><br>
> options = 0x59b568 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"<br>
> ret = -1<br>
> seed = 666110575<br>
> rfd = <value optimized out><br>
> __FUNCTION__ = "main"<br>
> <br>
> <br>
> <br>
> -- <br>
> <br>
> Regards,<br>
> <br>
> Ahmed Munir Chohan<br>
> <br>
> <br>
<br>
------------------------------<br>
<br>
End of Users Digest, Vol 136, Issue 6<br>
*************************************<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Regards,<br><br>Ahmed Munir Chohan<br><br></div></div>