[OpenSIPS-Users] Opensips 2.2.3 crash on async.

qasimakhan at gmail.com qasimakhan at gmail.com
Thu Apr 13 05:09:35 EDT 2017


Hi,

I have upgraded my script from 1.11 to 2.2.3 which works fine until i put
async function on a single rest_get query. When the async line is executed
i get following errors:

2017-04-13T14:03:45.320300+05:00 sip01 kernel: [31710929.448312]
> opensips[11475]: segfault at 10 ip 0000000000427260 sp 00007ffe8c29f6e8
> error 6 in opensips[400000+228000]
> 2017-04-13T14:03:45.908172+05:00 sip01 ./sbin/opensips[10993]:
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for
> 19470 ms (now 19570 ms), it may overlap..
> 2017-04-13T14:03:46.008338+05:00 sip01 ./sbin/opensips[10993]:
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for
> 19470 ms (now 19670 ms), it may overlap..
>

I also have a core dump available, after opening in gdb i get the following
info:

[Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Core was generated by `./sbin/opensips -P /var/run/opensips.pid'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x0000000000427260 in context_put_int (type=CONTEXT_GLOBAL, ctx=0x0,
> pos=4, data=1) at context.c:173
> 173             ((int *)ctx)[pos] = data;
>

Please note i will keep core dumps if you guys need some more info on it.

Regards,
Qasim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170413/e6c9cd02/attachment.html>


More information about the Users mailing list