[OpenSIPS-Users] OpenSIPs 2.2.3 SegFault
Răzvan Crainea
razvan at opensips.org
Mon Nov 11 11:52:18 EST 2019
Hi, Ahmed!
The higher the number, the stabler it is :). So you should go with 2.2.8.
In terms of scripting, if you're using the same version (2.2 in this
case), we are trying as hard as possible to prevent any semantics
changes between minor versions (2.2.3 vs 2.2.8 in your case). So 99% the
script should work without any touches. I would, however, run a few
tests before putting it blindly in production, just to make sure you're
not hitting a but that we haven't thought of.
Best regards,
Răzvan
On 11/11/19 6:35 PM, Ahmed Chohan wrote:
> Thanks Razvan.
>
> First I would like to know few things;
>
> 1- which is the stable release for v2.2? As I see there are two versions
> available 2.2.7 & 2.2.8.
> 2- Is routing configuration for v2.2.3 works with v2.2.7 or v2.2.8?
>
> 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.
>
> Please advise.
>
>
> Date: Wed, 6 Nov 2019 11:32:45 +0200
> From: Răzvan Crainea <razvan at opensips.org <mailto:razvan at opensips.org>>
> To: users at lists.opensips.org <mailto:users at lists.opensips.org>
> Subject: Re: [OpenSIPS-Users] OpenSIPs 2.2.3 SegFault
> Message-ID: <ca92b90f-a3ad-e7f8-ceac-057ef7dc5c1e at opensips.org
> <mailto:ca92b90f-a3ad-e7f8-ceac-057ef7dc5c1e at opensips.org>>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Hi, Ahmed!
>
> OpenSIPS 2.2 is quite an old version and is no longer supported for a
> while. If you have the possibility, I'd suggest you to migrate to 2.4,
> which is a stable LTS - if the issue occurs there, then we are able to
> investigate it and track down the problem.
> If you can't do that, you're best chance is to upgrade to the latest
> 2.2
> release, which is 2.2.7. If that still crashes, there's not that much
> you can do, as 2.2 is out of support now, and you will need to migrate
> to 2.4 anyway.
>
> Best regards,
> Răzvan
>
> On 11/5/19 9:35 PM, Ahmed Chohan wrote:
> > Hi,
> >
> > I'm currently using OpenSIPs v 2.2.3 in our environment for over
> a year
> > after migrated from version 1.6. As per on 1.6, we were experiencing
> > Segfault and advised to move on 2.2.3 (update to date version during
> > that time) to resolve this issue but it didn't help at all.
> >
> > After going through the forums, it stated root cause is memory
> > allocation for pkmem as last week, I've upgraded from 16 M to 32
> MB in
> > config but still experiencing the same issue. See below message
> below
> > from logs;
> >
> > Nov 4 17:49:50 qorclvsiproxy05 kernel: opensips[7800] general
> > protection ip:4f6112 sp:7fffd35bc6b0 error:0 in opensips
> > (deleted)[400000+1ed000
> >
> > See below extracted coredump. Please advise to find the root
> cause and
> > to resolve this issue.
> >
> > Core was generated by `/sbin/opensips -P
> /var/run/opensips/opensips.pid
> > -m 4096 -M 32 -u opensips -g o'.
> > Program terminated with signal 11, Segmentation fault.
> > #0 fm_status (qm=<value optimized out>) at mem/f_malloc.c:709
> > 709
> > size+=f->size,f=f->u.nxt_free,i++,j++){ }
> > (gdb) bt full
> > #0 fm_status (qm=<value optimized out>) at mem/f_malloc.c:709
> > f = 0x7f7994902d8000
> > i = 140018
> > j = <value optimized out>
> > h = <value optimized out>
> > unused = 0
> > size = 35881011432156432
> > __FUNCTION__ = "fm_status"
> > #1 0x000000000043a32a in shm_status (show_status=<value
> optimized out>)
> > at mem/shm_mem.h:611
> > No locals.
> > #2 cleanup (show_status=<value optimized out>) at main.c:339
> > __FUNCTION__ = "cleanup"
> > #3 0x000000000043ad2c in handle_sigs () at main.c:520
> > chld = <value optimized out>
> > chld_status = 139
> > overall_status = 139
> > i = <value optimized out>
> > do_exit = 1
> > __FUNCTION__ = "handle_sigs"
> > #4 0x000000000043ea12 in main_loop (argc=<value optimized out>,
> > argv=<value optimized out>) at main.c:720
> > startup_done = <value optimized out>
> > chd_rank = 0
> > #5 main (argc=<value optimized out>, argv=<value optimized out>) at
> > main.c:1265
> > cfg_stream = <value optimized out>
> > c = <value optimized out>
> > r = <value optimized out>
> > tmp = 0x7fffd35be90d ""
> > tmp_len = <value optimized out>
> > port = 0
> > proto = 5848501
> > protos_no = <value optimized out>
> > options = 0x59b568
> "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
> > ret = -1
> > seed = 666110575
> > rfd = <value optimized out>
> > __FUNCTION__ = "main"
> >
> >
> >
> > --
> >
> > Regards,
> >
> > Ahmed Munir Chohan
> >
> >
>
> ------------------------------
>
> End of Users Digest, Vol 136, Issue 6
> *************************************
>
>
>
> --
> Regards,
>
> Ahmed Munir Chohan
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
More information about the Users
mailing list