[OpenSIPS-Users] opensips 1.10.1 crash randomly

Pasan Meemaduma pasandev at ymail.com
Tue Apr 4 22:26:05 EDT 2017


Hi Bogdan,
Thanks for the reply. I'll get it to 1.11
 

    On Tuesday, 4 April 2017, 23:23, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
 

  Hi Pasan,
 
 The 1.10 is not supported/maintained for some almost 2 years (http://www.opensips.org/About/AvailableVersions).
 
 Better upgrade to 1.11 or 2.2 (1.11 is much closer to 1.10 and easier to migrate to)
 
 Regards,
  Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html
 On 04/04/2017 07:20 PM, Pasan Meemaduma via Users wrote:
  
  Hi Guys, 
  my opensips server started to crash recently. It happens after I did a restart to opensips and some times it happens after its being up for a while. I have attached the full bt. I know this version has no longer bug fixes, But wanted to know if this is common known bug or hardware issue. Tried going through git hub issue tracker but didn't help. :/ 
  Looks like it crashes when a dialog timeout and trying to insert the BYE into acc table ?
  
  Reading symbols from /usr/sbin/opensips...Reading symbols from /usr/lib/debug/usr/sbin/opensips...done.
 done.
 [New LWP 32351]
 
 warning: Can't read pathname for load map: Input/output error.
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 Core was generated by `/usr/sbin/opensips -P /var/run/opensips/opensips.pid -m 812 -M 64 -u opensips -'.
 Program terminated with signal 11, Segmentation fault.
 #0  0x00007f4405a21507 in db_mysql_val2bind (v=v at entry=0x7f440669d7c0, binds=binds at entry=0x7f4406ba3288, i=i at entry=13) at val.c:297
 297    val.c: No such file or directory.
 (gdb) bt full
 #0  0x00007f4405a21507 in db_mysql_val2bind (v=v at entry=0x7f440669d7c0, binds=binds at entry=0x7f4406ba3288, i=i at entry=13) at val.c:297
         t = <optimized out>
         mt = <optimized out>
         __FUNCTION__ = "db_mysql_val2bind"
 #1  0x00007f4405a19317 in db_mysql_do_prepared_query (conn=conn at entry=0x7f4406b9e7c0, v=v at entry=0x7f440669d620, n=n at entry=14, 
     uv=uv at entry=0x0, un=un at entry=0, query=0x7f4405c24aa0) at dbase.c:651
         i = <optimized out>
         j = <optimized out>
         code = 32579
         cols = <optimized out>
         pq_ptr = 0x7f4406ba3248
         ctx = 0x7f4406ba2b78
         mysql_bind = 0x7f4406ba3288
         start = {tv_sec = 1024, tv_usec = 139930128972470}
         buffered_rows = 0x0
 #2  0x00007f4405a1daec in db_mysql_insert (_h=0x7f4406b9e7c0, _k=0x7f440669d340, _v=0x7f440669d620, _n=14) at dbase.c:1096
         ret = <optimized out>
 #3  0x00007f440646b78a in acc_db_cdrs (dlg=dlg at entry=0x7f43d0046ce0, msg=0x0) at acc.c:662
         total = 14
         nr_vals = 0
         i = <optimized out>
         ret = 10
         res = -1
         nr_bye_vals = 0
         j = <optimized out>
         created = <optimized out>
         start_time = <optimized out>
         core_s = {s = 0x7f4406ba31c8 "\006", len = 97}
         leg_s = {s = 0x7f4406ba1568 "", len = 4}
         extra_s = {s = 0x7f4406ba40f8 "\004", len = 107}
         table = {s = 0x7f4406b8a848 "accX", len = 3}
 ---Type <return> to continue, or q <return> to quit---
         nr_legs = <optimized out>
         my_ps = 0x7f4406ba3248
         ins_list = 0x0
         __FUNCTION__ = "acc_db_cdrs"
 #4  0x00007f44064732e7 in acc_dlg_callback (dlg=0x7f43d0046ce0, type=<optimized out>, _params=0x7f44028457c0) at acc_logic.c:651
         flags = 1155
         __FUNCTION__ = "acc_dlg_callback"
 #5  0x00007f440260169f in run_dlg_callbacks (type=type at entry=64, dlg=dlg at entry=0x7f43d0046ce0, msg=msg at entry=0x0, dir=dir at entry=0, 
     dlg_data=dlg_data at entry=0x0) at dlg_cb.c:253
         cb = <optimized out>
         __FUNCTION__ = "run_dlg_callbacks"
 #6  0x00007f440261628d in dlg_ontimeout (tl=0x7f43d0046d20) at dlg_handlers.c:1457
         dlg = 0x7f43d0046ce0
         new_state = 5
         old_state = 3
         unref = <optimized out>
         __FUNCTION__ = "dlg_ontimeout"
 #7  0x00007f44026321f7 in dlg_timer_routine (ticks=<optimized out>, attr=<optimized out>) at dlg_timer.c:462
         tl = 0xffffffffffffffff
         ctl = <optimized out>
         __FUNCTION__ = "dlg_timer_routine"
 #8  0x000000000049d4ba in timer_ticker (drift=<synthetic pointer>, timer_list=<optimized out>) at timer.c:384
         t = 0x7f4406b8a680
         j = 62755
         ij = 62755770000
         ij_marker = 62755770000
 #9  run_timer_process (tpl=<optimized out>) at timer.c:500
         drift = 0
         wait = <optimized out>
         o_tv = {tv_sec = 0, tv_usec = 100000}
         multiple = 10
 ---Type <return> to continue, or q <return> to quit---
         cnt = <optimized out>
         tv = {tv_sec = 0, tv_usec = 0}
         uinterval = 100000
 #10 start_timer_processes () at timer.c:610
         tpl = 0x7f4406b88788
         pid = <optimized out>
         __FUNCTION__ = "start_timer_processes"
 #11 0x000000000041881b in main_loop () at main.c:991
         i = <optimized out>
         pid = <optimized out>
         si = 0x0
         startup_done = 0x0
         chd_rank = 4
         rc = <optimized out>
         load_p = 0x7f43d007d718
 #12 main (argc=<optimized out>, argv=<optimized out>) at main.c:1598
         cfg_log_stderr = <optimized out>
         cfg_stream = 0xd0b010
         c = <optimized out>
         r = <optimized out>
         tmp = 0x7fffdf056c05 ""
         tmp_len = <optimized out>
         port = <optimized out>
         proto = <optimized out>
         options = 0x525870 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
         ret = -1
         seed = 3768095467
         rfd = <optimized out>
         __FUNCTION__ = "main"
 
  
  Regards Pasan
  
   
  
 _______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
 
 

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170405/f90d9f91/attachment-0001.html>


More information about the Users mailing list