<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Qasim,<br>
<br>
Thank you for your report. Could you please run a "bt full" in gdb
a post the output ?<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit May 2017 Amsterdam
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
<div class="moz-cite-prefix">On 04/13/2017 12:09 PM,
<a class="moz-txt-link-abbreviated" href="mailto:qasimakhan@gmail.com">qasimakhan@gmail.com</a> wrote:<br>
</div>
<blockquote
cite="mid:CAPBKugvZV-ZRWG9jmDRd8ifBEacpxF6HbeT1T9_r8kWC8OcfAw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
<br>
</div>
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:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">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]<br>
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..<br>
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..<br>
</blockquote>
<br>
</div>
I also have a core dump available, after opening in gdb i get
the following info:<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[Thread
debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib64/libthread_db.so.1".<br>
Core was generated by `./sbin/opensips -P
/var/run/opensips.pid'.<br>
Program terminated with signal SIGSEGV, Segmentation fault.<br>
#0 0x0000000000427260 in context_put_int
(type=CONTEXT_GLOBAL, ctx=0x0, pos=4, data=1) at context.c:173<br>
<div style="margin-left:40px">173 ((int
*)ctx)[pos] = data;<br>
</div>
</blockquote>
<div><br>
</div>
<div>Please note i will keep core dumps if you guys need some
more info on it.<br>
<br>
</div>
<div>Regards,<br>
</div>
<div>Qasim <br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>