<div dir="ltr"><div dir="ltr">I have upgraded to 2.3.5 now. Let'see how it goes I will let you know if it crashes again.</div><div dir="ltr"><br></div><div>Thank you</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 10, 2018 at 8:24 PM Răzvan Crainea <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We strongly suggest you to update to a newer version of 2.3, it's a high <br>
chance this has already been fixed in a newer version.<br>
<br>
Best regards,<br>
Razvan<br>
<br>
On 10/10/18 6:03 AM, J E H A N Z A I B wrote:<br>
> Further to my previous email I also see a lot of failed request just <br>
> before the crash<br>
> like<br>
> Oct 9 21:43:03 myopensips /usr/local/sbin/opensips[1449]: <br>
> CRITICAL:db_mysql:wrapper_single_mysql_real_query: driver error (1213): <br>
> Deadlock found when tryi<br>
> ng to get lock; try restarting transaction<br>
> Oct 9 21:43:03 myopensips /usr/local/sbin/opensips[1449]: <br>
> ERROR:core:db_do_update: error while submitting query<br>
> Oct 9 21:43:03 myopensips /usr/local/sbin/opensips[1449]: <br>
> ERROR:presence:update_presentity: updating published info in database<br>
> Oct 9 21:43:03 myopensips /usr/local/sbin/opensips[1449]: <br>
> ERROR:presence:handle_publish: when updating presentity<br>
> Oct 9 21:43:03 myopensips /usr/local/sbin/opensips[1457]: <br>
> CRITICAL:db_mysql:wrapper_single_mysql_stmt_execute: driver error <br>
> (1213): Deadlock found when tr<br>
> ying to get lock; try restarting transaction<br>
> Oct 9 21:43:03 myopensips /usr/local/sbin/opensips[1457]: <br>
> ERROR:presence:delete_db_subs: sql delete failed<br>
> Oct 9 21:43:03 myopensips /usr/local/sbin/opensips[1457]: <br>
> ERROR:presence:update_subscription: deleting subscription record from <br>
> database<br>
> Oct 9 21:43:03 myopensips /usr/local/sbin/opensips[1457]: <br>
> ERROR:presence:handle_subscribe: in update_subscription<br>
> <br>
> could this a cause of the crash? I have tried to read the core dump but <br>
> cant find anything there. it is like<br>
> <br>
> msg = 0x7efd794cf2a0<br>
> t = 0x0<br>
> _c = <optimized out><br>
> reply_c = 0x0<br>
> request_c = 0x0<br>
> st = 9106161<br>
> ret = <optimized out><br>
> requested_exp = 0<br>
> enforced_exp = 0<br>
> val = {n = 4, s = {s = 0x4 <Address 0x4 out of bounds>, len = 0}}<br>
> l = <optimized out><br>
> p = <optimized out><br>
> forced_binding_buf = <br>
> "\000\000\000\000\000\000\000\000\066b69c11f2cbb12551371135d\000\000\000\000\000\000\000\000\240\362Ly\375~\000\000\020\220\025.<br>
> forced_binding = {s = 0x0, len = 0}<br>
> binding_uri = <optimized out><br>
> __FUNCTION__ = "save"<br>
> #12 0x000000000042da49 in do_action (a=a@entry=0x7efd794afdd8, <br>
> msg=msg@entry=0x7efd794cf2a0) at action.c:1862<br>
> increment = <optimized out><br>
> decrement = <optimized out><br>
> val_number = <optimized out><br>
> j = <optimized out><br>
> val_s = {s = 0x7efd00000069 <Address 0x7efd00000069 out of <br>
> bounds>, len = 3440}<br>
> cdb_reply = 0x7efd00000004<br>
> aux = {s = 0x20 <Address 0x20 out of bounds>, len = 0}<br>
> i = <optimized out><br>
> key_number = 0<br>
> it = <optimized out><br>
> avp_val = <optimized out><br>
> avp_name = {n = 105, s = {s = 0x7efd00000069 <Address <br>
> 0x7efd00000069 out of bounds>, len = 3440}}<br>
> avp_type = 38183<br>
> ret = -5<br>
> <br>
> I cant paste the whole dump here but let me know if any of the dev want <br>
> to have a look please.<br>
> <br>
> Thank you<br>
> <br>
> <br>
> On Wed, Oct 10, 2018 at 11:57 AM J E H A N Z A I B <br>
> <<a href="mailto:jehanzaib.kiani@gmail.com" target="_blank">jehanzaib.kiani@gmail.com</a> <mailto:<a href="mailto:jehanzaib.kiani@gmail.com" target="_blank">jehanzaib.kiani@gmail.com</a>>> wrote:<br>
> <br>
> Hi team,<br>
> <br>
> Opensips (2.3.1) crashed a few times now and I can not figure out<br>
> the reason of it.<br>
> Can someone help me here please?<br>
> Here is what I see in the logs before it crashes.<br>
> <br>
> Oct 9 21:43:10 myopensips kernel: opensips[1454]: segfault at 0 ip<br>
> 00000000005319a2 sp 00007fffed157c70 error 6 in opensips[400000+27c000]<br>
> Oct 9 21:43:10 myopensips /usr/local/sbin/opensips[1471]:<br>
> CRITICAL:core:receive_fd: EOF on 32<br>
> Oct 9 21:43:10 myopensips /usr/local/sbin/opensips[1313]:<br>
> INFO:core:handle_sigs: child process 1454 exited by a signal 11<br>
> Oct 9 21:43:10 myopensips /usr/local/sbin/opensips[1313]:<br>
> INFO:core:handle_sigs: core was generated<br>
> Oct 9 21:43:10 myopensips /usr/local/sbin/opensips[1313]:<br>
> INFO:core:handle_sigs: terminating due to SIGCHLD<br>
> <br>
> Thank you<br>
> <br>
> <br>
> <br>
> -- <br>
> Regards,<br>
> Jehanzaib<br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
<br>
-- <br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>Regards,</div>
<div>Jehanzaib</div></div>