<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div class="bloop_container"><div class="bloop_frame"> <div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div class="bloop_container"><div class="bloop_frame"> <div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><div id="bloop_customfont" style="margin: 0px; ">Hey all,</div><div id="bloop_customfont" style="margin: 0px; ">Just ran into a segfault. Happens almost right on startup with load. Not sure of the cause. Any ideas? Segfault goes away when traffic is removed. Let me know if I can provide more information. Thanks!</div><div id="bloop_customfont" style="margin: 0px; ">-Brett</div><div id="bloop_customfont" style="margin: 0px; "><br></div><div id="bloop_customfont" style="margin: 0px; "><br></div><div id="bloop_customfont" style="margin: 0px; ">dmesg shows this:</div><div id="bloop_customfont" style="margin: 0px; ">opensips[81661]: segfault at 0 ip 00000000004bf1c7 sp 00007fff7467a160 error 6 in opensips[400000+179000]</div><div id="bloop_customfont" style="margin: 0px; "><br></div><div id="bloop_customfont" style="margin: 0px; ">log level 6 shows this:</div><div id="bloop_customfont" style="margin: 0px; "><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:has_stmt_ctx: ctx found for dialog</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_do_prepared_query: conn=0x7f4ac34fa390 (tail=139959081084072) MC=0x7f4ac34fa508</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_do_prepared_query: set values for the statement run</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (0): len=4; type=3; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (1): len=4; type=3; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (2): len=1; type=254; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (3): len=8; type=254; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (4): len=4; type=3; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (5): len=4; type=3; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (6): len=5940; type=254; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (7): len=74; type=254; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (8): len=4; type=3; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (9): len=4; type=3; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_val2bind: added val (10): len=8; type=8; is_null=0</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_do_prepared_query: doing BIND_PARAM in...</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:mysql_raise_event: MySQL status has not changed: connected</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:dialog:dialog_update_db: updating existing dialog 0x7f48c147cdb8</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:dialog:set_final_update_cols: DLG vals and profiles should not be saved[178:0]</div><div id="bloop_customfont" style="margin: 0px; ">Sep 23 16:44:37 server6-node4 /usr/sbin/opensips[145891]: CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying…</div><div id="bloop_customfont" style="margin: 0px; "><br></div></div><div id="bloop_customfont" style="margin: 0px; "><br></div><div id="bloop_customfont" style="margin: 0px; ">Core was generated by `/usr/sbin/opensips -P /var/run/opensips.pid -f /usr/local/etc/opensips/opensips'.</div><div id="bloop_customfont" style="margin: 0px; ">Program terminated with signal 6, Aborted.</div><div id="bloop_customfont" style="margin: 0px; ">#0 0x00000034dc4328e5 in raise () from /lib64/libc.so.6</div><div id="bloop_customfont" style="margin: 0px; ">Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6_4.4.x86_64 json-c-0.10-2.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6_4.4.x86_64 libcom_err-1.41.12-14.el6_4.2.x86_64 librabbitmq-0.3.0-1.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 mysql-libs-5.1.69-1.el6_4.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64 openssl-1.0.0-27.el6_4.2.x86_64 zlib-1.2.3-29.el6.x86_64</div><div id="bloop_customfont" style="margin: 0px; ">(gdb) bt full</div><div id="bloop_customfont" style="margin: 0px; ">#0 0x00000034dc4328e5 in raise () from /lib64/libc.so.6</div><div id="bloop_customfont" style="margin: 0px; ">No symbol table info available.</div><div id="bloop_customfont" style="margin: 0px; ">#1 0x00000034dc4340c5 in abort () from /lib64/libc.so.6</div><div id="bloop_customfont" style="margin: 0px; ">No symbol table info available.</div><div id="bloop_customfont" style="margin: 0px; ">#2 0x000000000042c742 in sig_alarm_abort (signo=<value optimized out>) at main.c:461</div><div id="bloop_customfont" style="margin: 0px; "> __FUNCTION__ = "sig_alarm_abort"</div><div id="bloop_customfont" style="margin: 0px; ">#3 <signal handler called></div><div id="bloop_customfont" style="margin: 0px; ">No symbol table info available.</div><div id="bloop_customfont" style="margin: 0px; ">#4 fm_status (qm=<value optimized out>) at mem/f_malloc.c:615</div><div id="bloop_customfont" style="margin: 0px; "> f = 0x7f48c3fe03e8</div><div id="bloop_customfont" style="margin: 0px; "> i = 859424135</div><div id="bloop_customfont" style="margin: 0px; "> j = 859111229</div><div id="bloop_customfont" style="margin: 0px; "> h = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> unused = 0</div><div id="bloop_customfont" style="margin: 0px; "> size = 31102604441464</div><div id="bloop_customfont" style="margin: 0px; "> __FUNCTION__ = "fm_status"</div><div id="bloop_customfont" style="margin: 0px; ">#5 0x000000000042c44d in cleanup (show_status=<value optimized out>) at main.c:402</div><div id="bloop_customfont" style="margin: 0px; "> __FUNCTION__ = "cleanup"</div><div id="bloop_customfont" style="margin: 0px; ">#6 0x000000000042ce47 in handle_sigs () at main.c:571</div><div id="bloop_customfont" style="margin: 0px; "> chld = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> chld_status = 139</div><div id="bloop_customfont" style="margin: 0px; "> overall_status = 139</div><div id="bloop_customfont" style="margin: 0px; "> i = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> do_exit = 1</div><div id="bloop_customfont" style="margin: 0px; "> __FUNCTION__ = "handle_sigs"</div><div id="bloop_customfont" style="margin: 0px; ">#7 0x0000000000430af9 in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:1057</div><div id="bloop_customfont" style="margin: 0px; "> i = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> pid = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> si = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> startup_done = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> chd_rank = 48</div><div id="bloop_customfont" style="margin: 0px; "> rc = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> load_p = 0x7f48beeb9bd8</div><div id="bloop_customfont" style="margin: 0px; ">#8 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1598</div><div id="bloop_customfont" style="margin: 0px; ">---Type <return> to continue, or q <return> to quit---</div><div id="bloop_customfont" style="margin: 0px; "> cfg_log_stderr = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> cfg_stream = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> c = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> r = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> tmp = 0x7fff62d27654 ""</div><div id="bloop_customfont" style="margin: 0px; "> tmp_len = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> port = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> proto = <value optimized out></div><div id="bloop_customfont" style="margin: 0px; "> options = 0x531d10 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"</div><div id="bloop_customfont" style="margin: 0px; "> ret = -1</div><div id="bloop_customfont" style="margin: 0px; "> seed = 158818133</div><div id="bloop_customfont" style="margin: 0px; "> rfd = <value optimized ou</div></div><br><div class="" id="bloop_sign_1379955717472624896"><span style="font-family:helvetica,arial;font-size:13px"></span>-- <br>Brett Nemeroff<br><span>Sent with <a href="http://airmailapp.info/tracking">Airmail</a></span></div> </div></div></div> </div></div></div></body></html>