[OpenSIPS-Users] Opensips 1.10 segfault, signal 6
Brett Nemeroff
brett at nemeroff.com
Mon Sep 23 19:08:40 CEST 2013
Hey all,
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!
-Brett
dmesg shows this:
opensips[81661]: segfault at 0 ip 00000000004bf1c7 sp 00007fff7467a160 error 6 in opensips[400000+179000]
log level 6 shows this:
Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:has_stmt_ctx: ctx found for dialog
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
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
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
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
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
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
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
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
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
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
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
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
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
Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:db_mysql_do_prepared_query: doing BIND_PARAM in...
Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:db_mysql:mysql_raise_event: MySQL status has not changed: connected
Sep 23 16:43:37 server6-node4 /usr/sbin/opensips[145891]: DBG:dialog:dialog_update_db: updating existing dialog 0x7f48c147cdb8
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]
Sep 23 16:44:37 server6-node4 /usr/sbin/opensips[145891]: CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying…
Core was generated by `/usr/sbin/opensips -P /var/run/opensips.pid -f /usr/local/etc/opensips/opensips'.
Program terminated with signal 6, Aborted.
#0 0x00000034dc4328e5 in raise () from /lib64/libc.so.6
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
(gdb) bt full
#0 0x00000034dc4328e5 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00000034dc4340c5 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x000000000042c742 in sig_alarm_abort (signo=<value optimized out>) at main.c:461
__FUNCTION__ = "sig_alarm_abort"
#3 <signal handler called>
No symbol table info available.
#4 fm_status (qm=<value optimized out>) at mem/f_malloc.c:615
f = 0x7f48c3fe03e8
i = 859424135
j = 859111229
h = <value optimized out>
unused = 0
size = 31102604441464
__FUNCTION__ = "fm_status"
#5 0x000000000042c44d in cleanup (show_status=<value optimized out>) at main.c:402
__FUNCTION__ = "cleanup"
#6 0x000000000042ce47 in handle_sigs () at main.c:571
chld = <value optimized out>
chld_status = 139
overall_status = 139
i = <value optimized out>
do_exit = 1
__FUNCTION__ = "handle_sigs"
#7 0x0000000000430af9 in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:1057
i = <value optimized out>
pid = <value optimized out>
si = <value optimized out>
startup_done = <value optimized out>
chd_rank = 48
rc = <value optimized out>
load_p = 0x7f48beeb9bd8
#8 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1598
---Type <return> to continue, or q <return> to quit---
cfg_log_stderr = <value optimized out>
cfg_stream = <value optimized out>
c = <value optimized out>
r = <value optimized out>
tmp = 0x7fff62d27654 ""
tmp_len = <value optimized out>
port = <value optimized out>
proto = <value optimized out>
options = 0x531d10 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
ret = -1
seed = 158818133
rfd = <value optimized ou
--
Brett Nemeroff
Sent with Airmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130923/e973642c/attachment.htm>
More information about the Users
mailing list