<html><head></head><body><div style="color:#000; background-color:#fff; font-family:標楷體, dfkai-sb;font-size:16px"><div>Hi Guys,</div><div id="yui_3_16_0_ym19_1_1491322520619_3459"><br></div><div id="yui_3_16_0_ym19_1_1491322520619_3460" dir="ltr">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. :/</div><div id="yui_3_16_0_ym19_1_1491322520619_3498" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1491322520619_3851" dir="ltr">Looks like it crashes when a dialog timeout and trying to insert the BYE into acc table ?<br></div><div id="yui_3_16_0_ym19_1_1491322520619_3850" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1491322520619_3842" dir="ltr">Reading symbols from /usr/sbin/opensips...Reading symbols from /usr/lib/debug/usr/sbin/opensips...done.<br id="yui_3_16_0_ym19_1_1491322520619_3737">done.<br id="yui_3_16_0_ym19_1_1491322520619_3738">[New LWP 32351]<br id="yui_3_16_0_ym19_1_1491322520619_3739"><br id="yui_3_16_0_ym19_1_1491322520619_3740">warning: Can't read pathname for load map: Input/output error.<br id="yui_3_16_0_ym19_1_1491322520619_3741">[Thread debugging using libthread_db enabled]<br id="yui_3_16_0_ym19_1_1491322520619_3742">Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br id="yui_3_16_0_ym19_1_1491322520619_3743">Core was generated by `/usr/sbin/opensips -P /var/run/opensips/opensips.pid -m 812 -M 64 -u opensips -'.<br id="yui_3_16_0_ym19_1_1491322520619_3744">Program terminated with signal 11, Segmentation fault.<br id="yui_3_16_0_ym19_1_1491322520619_3745">#0 0x00007f4405a21507 in db_mysql_val2bind (v=v@entry=0x7f440669d7c0, binds=binds@entry=0x7f4406ba3288, i=i@entry=13) at val.c:297<br id="yui_3_16_0_ym19_1_1491322520619_3746">297 val.c: No such file or directory.<br id="yui_3_16_0_ym19_1_1491322520619_3747">(gdb) bt full<br id="yui_3_16_0_ym19_1_1491322520619_3748">#0 0x00007f4405a21507 in db_mysql_val2bind (v=v@entry=0x7f440669d7c0, binds=binds@entry=0x7f4406ba3288, i=i@entry=13) at val.c:297<br id="yui_3_16_0_ym19_1_1491322520619_3749"> t = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3750"> mt = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3751"> __FUNCTION__ = "db_mysql_val2bind"<br id="yui_3_16_0_ym19_1_1491322520619_3752">#1 0x00007f4405a19317 in db_mysql_do_prepared_query (conn=conn@entry=0x7f4406b9e7c0, v=v@entry=0x7f440669d620, n=n@entry=14, <br id="yui_3_16_0_ym19_1_1491322520619_3753"> uv=uv@entry=0x0, un=un@entry=0, query=0x7f4405c24aa0) at dbase.c:651<br id="yui_3_16_0_ym19_1_1491322520619_3754"> i = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3755"> j = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3756"> code = 32579<br id="yui_3_16_0_ym19_1_1491322520619_3757"> cols = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3758"> pq_ptr = 0x7f4406ba3248<br id="yui_3_16_0_ym19_1_1491322520619_3759"> ctx = 0x7f4406ba2b78<br id="yui_3_16_0_ym19_1_1491322520619_3760"> mysql_bind = 0x7f4406ba3288<br id="yui_3_16_0_ym19_1_1491322520619_3761"> start = {tv_sec = 1024, tv_usec = 139930128972470}<br id="yui_3_16_0_ym19_1_1491322520619_3762"> buffered_rows = 0x0<br id="yui_3_16_0_ym19_1_1491322520619_3763">#2 0x00007f4405a1daec in db_mysql_insert (_h=0x7f4406b9e7c0, _k=0x7f440669d340, _v=0x7f440669d620, _n=14) at dbase.c:1096<br id="yui_3_16_0_ym19_1_1491322520619_3764"> ret = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3765">#3 0x00007f440646b78a in acc_db_cdrs (dlg=dlg@entry=0x7f43d0046ce0, msg=0x0) at acc.c:662<br id="yui_3_16_0_ym19_1_1491322520619_3766"> total = 14<br id="yui_3_16_0_ym19_1_1491322520619_3767"> nr_vals = 0<br id="yui_3_16_0_ym19_1_1491322520619_3768"> i = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3769"> ret = 10<br id="yui_3_16_0_ym19_1_1491322520619_3770"> res = -1<br id="yui_3_16_0_ym19_1_1491322520619_3771"> nr_bye_vals = 0<br id="yui_3_16_0_ym19_1_1491322520619_3772"> j = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3773"> created = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3774"> start_time = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3775"> core_s = {s = 0x7f4406ba31c8 "\006", len = 97}<br id="yui_3_16_0_ym19_1_1491322520619_3776"> leg_s = {s = 0x7f4406ba1568 "", len = 4}<br id="yui_3_16_0_ym19_1_1491322520619_3777"> extra_s = {s = 0x7f4406ba40f8 "\004", len = 107}<br id="yui_3_16_0_ym19_1_1491322520619_3778"> table = {s = 0x7f4406b8a848 "accX", len = 3}<br id="yui_3_16_0_ym19_1_1491322520619_3779">---Type <return> to continue, or q <return> to quit---<br id="yui_3_16_0_ym19_1_1491322520619_3780"> nr_legs = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3781"> my_ps = 0x7f4406ba3248<br id="yui_3_16_0_ym19_1_1491322520619_3782"> ins_list = 0x0<br id="yui_3_16_0_ym19_1_1491322520619_3783"> __FUNCTION__ = "acc_db_cdrs"<br id="yui_3_16_0_ym19_1_1491322520619_3784">#4 0x00007f44064732e7 in acc_dlg_callback (dlg=0x7f43d0046ce0, type=<optimized out>, _params=0x7f44028457c0) at acc_logic.c:651<br id="yui_3_16_0_ym19_1_1491322520619_3785"> flags = 1155<br id="yui_3_16_0_ym19_1_1491322520619_3786"> __FUNCTION__ = "acc_dlg_callback"<br id="yui_3_16_0_ym19_1_1491322520619_3787">#5 0x00007f440260169f in run_dlg_callbacks (type=type@entry=64, dlg=dlg@entry=0x7f43d0046ce0, msg=msg@entry=0x0, dir=dir@entry=0, <br id="yui_3_16_0_ym19_1_1491322520619_3788"> dlg_data=dlg_data@entry=0x0) at dlg_cb.c:253<br id="yui_3_16_0_ym19_1_1491322520619_3789"> cb = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3790"> __FUNCTION__ = "run_dlg_callbacks"<br id="yui_3_16_0_ym19_1_1491322520619_3791">#6 0x00007f440261628d in dlg_ontimeout (tl=0x7f43d0046d20) at dlg_handlers.c:1457<br id="yui_3_16_0_ym19_1_1491322520619_3792"> dlg = 0x7f43d0046ce0<br id="yui_3_16_0_ym19_1_1491322520619_3793"> new_state = 5<br id="yui_3_16_0_ym19_1_1491322520619_3794"> old_state = 3<br id="yui_3_16_0_ym19_1_1491322520619_3795"> unref = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3796"> __FUNCTION__ = "dlg_ontimeout"<br id="yui_3_16_0_ym19_1_1491322520619_3797">#7 0x00007f44026321f7 in dlg_timer_routine (ticks=<optimized out>, attr=<optimized out>) at dlg_timer.c:462<br id="yui_3_16_0_ym19_1_1491322520619_3798"> tl = 0xffffffffffffffff<br id="yui_3_16_0_ym19_1_1491322520619_3799"> ctl = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3800"> __FUNCTION__ = "dlg_timer_routine"<br id="yui_3_16_0_ym19_1_1491322520619_3801">#8 0x000000000049d4ba in timer_ticker (drift=<synthetic pointer>, timer_list=<optimized out>) at timer.c:384<br id="yui_3_16_0_ym19_1_1491322520619_3802"> t = 0x7f4406b8a680<br id="yui_3_16_0_ym19_1_1491322520619_3803"> j = 62755<br id="yui_3_16_0_ym19_1_1491322520619_3804"> ij = 62755770000<br id="yui_3_16_0_ym19_1_1491322520619_3805"> ij_marker = 62755770000<br id="yui_3_16_0_ym19_1_1491322520619_3806">#9 run_timer_process (tpl=<optimized out>) at timer.c:500<br id="yui_3_16_0_ym19_1_1491322520619_3807"> drift = 0<br id="yui_3_16_0_ym19_1_1491322520619_3808"> wait = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3809"> o_tv = {tv_sec = 0, tv_usec = 100000}<br id="yui_3_16_0_ym19_1_1491322520619_3810"> multiple = 10<br id="yui_3_16_0_ym19_1_1491322520619_3811">---Type <return> to continue, or q <return> to quit---<br id="yui_3_16_0_ym19_1_1491322520619_3812"> cnt = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3813"> tv = {tv_sec = 0, tv_usec = 0}<br id="yui_3_16_0_ym19_1_1491322520619_3814"> uinterval = 100000<br id="yui_3_16_0_ym19_1_1491322520619_3815">#10 start_timer_processes () at timer.c:610<br id="yui_3_16_0_ym19_1_1491322520619_3816"> tpl = 0x7f4406b88788<br id="yui_3_16_0_ym19_1_1491322520619_3817"> pid = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3818"> __FUNCTION__ = "start_timer_processes"<br id="yui_3_16_0_ym19_1_1491322520619_3819">#11 0x000000000041881b in main_loop () at main.c:991<br id="yui_3_16_0_ym19_1_1491322520619_3820"> i = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3821"> pid = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3822"> si = 0x0<br id="yui_3_16_0_ym19_1_1491322520619_3823"> startup_done = 0x0<br id="yui_3_16_0_ym19_1_1491322520619_3824"> chd_rank = 4<br id="yui_3_16_0_ym19_1_1491322520619_3825"> rc = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3826"> load_p = 0x7f43d007d718<br id="yui_3_16_0_ym19_1_1491322520619_3827">#12 main (argc=<optimized out>, argv=<optimized out>) at main.c:1598<br id="yui_3_16_0_ym19_1_1491322520619_3828"> cfg_log_stderr = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3829"> cfg_stream = 0xd0b010<br id="yui_3_16_0_ym19_1_1491322520619_3830"> c = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3831"> r = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3832"> tmp = 0x7fffdf056c05 ""<br id="yui_3_16_0_ym19_1_1491322520619_3833"> tmp_len = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3834"> port = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3835"> proto = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3836"> options = 0x525870 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"<br id="yui_3_16_0_ym19_1_1491322520619_3837"> ret = -1<br id="yui_3_16_0_ym19_1_1491322520619_3838"> seed = 3768095467<br id="yui_3_16_0_ym19_1_1491322520619_3839"> rfd = <optimized out><br id="yui_3_16_0_ym19_1_1491322520619_3840"> __FUNCTION__ = "main"<br id="yui_3_16_0_ym19_1_1491322520619_3841"><br></div><div id="yui_3_16_0_ym19_1_1491322520619_3461" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1491322520619_3467" dir="ltr">Regards</div><div id="yui_3_16_0_ym19_1_1491322520619_3870" dir="ltr">Pasan<br></div><div id="yui_3_16_0_ym19_1_1491322520619_3468"><br></div></div></body></html>