[OpenSIPS-Users] b2bua core dump & db truncate

thrillerbee thrillerbee at gmail.com
Sat Nov 13 23:18:02 CET 2010


New core dump on rev 7371
Backtrace attached.

Thanks.

On Thu, Nov 11, 2010 at 4:41 AM, Anca Vamanu <anca at opensips.org> wrote:

> Hi,
>
> You were right, sorry, I did a partial commit. It is now ok.
>
> Regards,
> Anca
>
>
>
> --
> Anca Vamanu
> www.voice-system.ro
>
>
> _______________________________________________
> 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/20101113/72144c66/attachment.htm>
-------------- next part --------------
Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips/opensips.pid -m 2048 -u root -g r'.
Program terminated with signal 11, Segmentation fault.
[New process 8731]
#0  0xb712f8e5 in b2b_search_htable (table=0x0, hash_index=155, local_index=3481) at dlg.c:141
141             dlg= table[hash_index].first;
(gdb) bt full
#0  0xb712f8e5 in b2b_search_htable (table=0x0, hash_index=155, local_index=3481) at dlg.c:141
        dlg = <value optimized out>
        __FUNCTION__ = "b2b_search_htable"
#1  0xb71235db in b2b_restore_logic_info (type=B2B_SERVER, key=0xbf89bf80, cback=0xb728cf3c <b2b_server_notify>) at b2b_entities.c:357
        dlg = <value optimized out>
        table = (b2b_table) 0x0
        hash_index = 155
        local_index = 3481
        __FUNCTION__ = "b2b_restore_logic_info"
#2  0xb7280a0c in b2b_logic_restore () at b2b_logic.c:1213
        i = 0
        nr_rows = 12
        result = (db_res_t *) 0x819df68
        rows = (db_row_t *) 0x81a4310
        row_vals = <value optimized out>
        tuple = {id = 0, key = 0xbf89c0b0, scenario = 0x0, scenario_params = {{s = 0x99b80ad "", len = 0}, {s = 0x99b80ae "", len = 0}, {
      s = 0x99b80af "", len = 0}, {s = 0x99b80b0 "", len = 0}, {s = 0x99b80b1 "", len = 0}}, scenario_state = -3, next_scenario_state = 0, 
  server = 0x0, clients = 0x0, bridge_entities = {0xbf89bf78, 0xbf89bfb0, 0xbf89bfe8}, to_del = 0, extra_headers = 0x0, next = 0x0, prev = 0x0, 
  insert_time = 0, lifetime = 0, sdp = {s = 0x99b80b2 "", len = 0}, db_flag = 0}
        b2bl_key = {s = 0x99b80a0 "1789.0", len = 6}
        scenario_id = {s = 0x99b80a7 "", len = 0}
        bridge_entities = {{scenario_id = {s = 0x99b80b5 "", len = 0}, key = {s = 0x99b80f6 "B2B.155.3481", len = 12}, to_uri = {
      s = 0x99b80b6 "sip:244517062375886 at 66.234.136.133", len = 34}, from_uri = {s = 0x99b80d9 "sip:9375592542 at 207.2.123.187", len = 28}, 
    dlginfo = 0x0, disconnected = 0, state = 0, type = B2B_SERVER, next = 0x0, peer = 0x0}, {scenario_id = {s = 0x99b8105 "", len = 0}, key = {
      s = 0x99b8146 "B2B.1789.7511494", len = 16}, to_uri = {s = 0x99b8106 "sip:244517062375886 at 66.234.136.133", len = 34}, from_uri = {
      s = 0x99b8129 "sip:9375592542 at 207.2.123.187", len = 28}, dlginfo = 0x0, disconnected = 0, state = 0, type = B2B_CLIENT, next = 0x0, 
    peer = 0x0}, {scenario_id = {s = 0x99b8157 "", len = 0}, key = {s = 0x99b815a "", len = 0}, to_uri = {s = 0x99b8158 "", len = 0}, 
    from_uri = {s = 0x99b8159 "", len = 0}, dlginfo = 0x0, disconnected = 0, state = 0, type = 3076297573, next = 0x0, peer = 0x0}}
        params = {0xbf89c02c, 0xbf89c034, 0xbf89c03c, 0xbf89c044, 0xbf89c04c}
        result_cols = {0xb7294340, 0xb7294348, 0xb7294380, 0xb7294388, 0xb7294350, 0xb7294358, 0xb7294360, 0xb7294368, 0xb7294370, 0xb7294378, 
  0xb7294390, 0xb7294398, 0xb72943a0, 0xb72943a8, 0xb72943b0, 0xb72943b8, 0xb72943c0, 0xb72943c8, 0xb72943d0, 0xb72943d8, 0xb72943e0, 
  0xb72943e8, 0xb72943f0, 0xb72943f8, 0xb7294400}
        __FUNCTION__ = "b2b_logic_restore"
---Type <return> to continue, or q <return> to quit---
#3  0xb7281aff in mod_init () at b2b_logic.c:252
        p = <value optimized out>
        i = <value optimized out>
        j = <value optimized out>
        __FUNCTION__ = "mod_init"
#4  0x080b781c in init_mod (m=0x819ee38) at sr_module.c:457
        __FUNCTION__ = "init_mod"
#5  0x080b77b8 in init_mod (m=0x819eee0) at sr_module.c:452
        __FUNCTION__ = "init_mod"
#6  0x0806e1cb in main (argc=9, argv=0xbf89c2a4) at main.c:1351
        cfg_log_stderr = 0
        cfg_stream = (FILE *) 0x9998008
        c = <value optimized out>
        r = <value optimized out>
        tmp = 0xbf89cea4 ""
        tmp_len = <value optimized out>
        port = <value optimized out>
        proto = <value optimized out>
        ret = <value optimized out>
        seed = 2146665141
        rfd = <value optimized out>
        __FUNCTION__ = "main"
(gdb) 


More information about the Users mailing list