[OpenSIPS-Users] Crash in db_mysql

Trevor Francis trevor.francis at tgrahamcapital.com
Fri Feb 15 00:33:59 CET 2013


Here is the full trace: 

Program terminated with signal 11, Segmentation fault.
#0  0x00007f33ce3339b9 in db_mysql_val2bind (v=0x7f330fa18cc0, binds=0x7f33ce88cf00, i=33) at val.c:297
297                     *(binds[i].is_null) = 0;
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.7.x86_64 hiredis-0.10.1-3.el6.x86_64 json-c-0.10-2.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.9-33.el6_3.3.x86_64 libcom_err-1.41.12-12.el6.x86_64 libmemcached-0.31-1.1.el6.x86_64 libselinux-2.0.94-5.3.el6.x86_64 mysql-libs-5.1.67-1.el6_3.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64 openssl-1.0.0-25.el6_3.1.x86_64 zlib-1.2.3-27.el6.x86_64
(gdb) bt full
#0  0x00007f33ce3339b9 in db_mysql_val2bind (v=0x7f330fa18cc0, binds=0x7f33ce88cf00, i=33) at val.c:297
        t = <value optimized out>
        mt = <value optimized out>
        __FUNCTION__ = "db_mysql_val2bind"
#1  0x00007f33ce32d34c in db_mysql_do_prepared_query (conn=0x7f33ce88cd68, v=<value optimized out>, n=36, uv=<value optimized out>, un=0, query=0x7f33ce5477b0) at dbase.c:584
        i = 33
        j = <value optimized out>
        code = <value optimized out>
        cols = <value optimized out>
        pq_ptr = 0x7f33ce88cec0
        ctx = 0x7f33ce88e310
        mysql_bind = 0x7f33ce88cf00
        start = {tv_sec = 139860479483003, tv_usec = 5334081}
        buffered_rows = 0x0
#2  0x00007f33ce32fcae in db_mysql_insert (_h=0x7f33ce88cd68, _k=0x7f330d73197b, _v=0x7f330fa188a0, _n=36) at dbase.c:1028
        ret = <value optimized out>
#3  0x0000000000517729 in flush_query_list () at db/db_insertq.c:133
        it = 0x7f330d7318a0
        my_ps = 0x7f33ce88cec0
        i = <value optimized out>
        __FUNCTION__ = "flush_query_list"
#4  0x000000000051799c in handle_ql_shutdown () at db/db_insertq.c:170
No locals.
#5  0x000000000042c2c1 in cleanup (show_status=1) at main.c:347
        __FUNCTION__ = "cleanup"
#6  0x000000000042cd8b in handle_sigs () at main.c:549
        chld = <value optimized out>
        chld_status = 139
        overall_status = 139
        i = <value optimized out>
        do_exit = 1
        __FUNCTION__ = "handle_sigs"
#7  0x0000000000430a4c in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:1024
        i = <value optimized out>
        pid = <value optimized out>
        si = <value optimized out>
        startup_done = 0x7f3309db00b8
        chd_rank = 32
        rc = <value optimized out>
        load_p = 0x7f3309db00d8
#8  main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1557
        cfg_log_stderr = <value optimized out>
        cfg_stream = <value optimized out>
        c = <value optimized out>
        r = <value optimized out>
        tmp = 0x7fffd232688a ""
        tmp_len = <value optimized out>
        port = <value optimized out>
        proto = <value optimized out>
        options = 0x542498 "f:cCm:M:b:l:n:N:rRvdDETSVhw:t:u:g:P:G:W:o:"
        ret = -1
        seed = 2451141921
        rfd = <value optimized out>
        __FUNCTION__ = "main"

TREVOR FRANCIS
CEO
trevor at 46labs.com
720-214-3643



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130214/00d44138/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 7625 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20130214/00d44138/attachment-0001.jpg>


More information about the Users mailing list