[OpenSIPS-Users] opensips segfault

J E H A N Z A I B jehanzaib.kiani at gmail.com
Wed Oct 10 17:30:11 EDT 2018


I have upgraded to 2.3.5 now. Let'see how it goes I will let you know if it
crashes again.

Thank you

On Wed, Oct 10, 2018 at 8:24 PM Răzvan Crainea <razvan at opensips.org> wrote:

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


-- 
Regards,
Jehanzaib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181011/3c7c0d8e/attachment.html>


More information about the Users mailing list