#0 0xb76fb18c in SQLBindParameter () from /usr/lib/libodbc.so.1 (gdb) bt #0 0xb76fb18c in SQLBindParameter () from /usr/lib/libodbc.so.1 #1 0xb670f651 in custom_prepare (obj=0xb7a78d28, data=0xb1afcf20) at res_config_odbc.c:89 #2 0xb7b18621 in ast_odbc_prepare_and_execute (obj=0xb7a78d28, prepare_cb=0xb670f292 , data=0xb1afcf20) at res_odbc.c:307 #3 0xb670fa46 in realtime_odbc (database=0xb1afddcc "ccig", table=0xb1afdccc "sip_peers", ap=0xb1afdf24 "--\026-@!\032\b--\026---\026-") at res_config_odbc.c:165 #4 0x080aa54b in ast_load_realtime_helper (family=0xb616f690 "sippeers", ap=0xb1afdf24 "--\026-@!\032\b--\026---\026-") at config.c:2091 #5 0x080aa5ac in ast_load_realtime (family=0xb616f690 "sippeers") at config.c:2114 #6 0xb610db21 in realtime_peer (newpeername=0x81a2140 "", sin=0x0, devstate_only=0) at chan_sip.c:4368 #7 0xb610e7c4 in find_peer (peer=0x81a2140 "", sin=0x0, realtime=1, which_objects=2, devstate_only=0, transport=0) at chan_sip.c:4613 #8 0xb615db3a in st_get_se (p=0xacce14d8, max=1) at chan_sip.c:21824 #9 0xb6127ffb in transmit_invite (p=0xacce14d8, sipmethod=3, sdp=0, init=2) at chan_sip.c:10226 #10 0xb615eabf in sip_poke_peer (peer=0xb1b4b0c0, force=0) at chan_sip.c:22005 #11 0xb612ddda in sip_poke_peer_s (data=0xb1b4b0c0) at chan_sip.c:11275 #12 0x08139539 in ast_sched_runq (con=0xb1d07d48) at sched.c:490 #13 0xb615c8bb in do_monitor (data=0x0) at chan_sip.c:21542 #14 0x0814d600 in dummy_start (data=0x8b1eae0) at utils.c:968 #15 0xb7c6d4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #16 0xb7d6461e in clone () from /lib/i686/cmov/libc.so.6 (gdb) bt full #0 0xb76fb18c in SQLBindParameter () from /usr/lib/libodbc.so.1 No symbol table info available. #1 0xb670f651 in custom_prepare (obj=0xb7a78d28, data=0xb1afcf20) at res_config_odbc.c:89 res = 0 x = 3 count = 2 cps = (struct custom_prepare_struct *) 0xb1afcf20 newparam = 0xb616f7ef "host" newval = 0xb616f7e7 "dynamic" stmt = (SQLHSTMT) 0x890b1e8 ap = 0xb1afdf34 "" __PRETTY_FUNCTION__ = "custom_prepare" #2 0xb7b18621 in ast_odbc_prepare_and_execute (obj=0xb7a78d28, prepare_cb=0xb670f292 , data=0xb1afcf20) at res_odbc.c:307 res = 0 i = -1313875850 attempt = 0 nativeerror = 0 numfields = 0 diagbytes = 0 state = "\000\000\000\000-?-\003" diagnostic = "-?---?-?--+q--?-v?-\000\000\000\000p?--\003\000\000\001\200--v?-v?-v?-v?-\203?-O?-v?-O?-", '\0' , "(?-\000\000\000\000\002", '\0' , "\231\b\b\b\230W------H?-\000\000\000\000-\214--\003\000\000\000----\000\000\000\000\b\034--pW---?--\235--\230W------\000\000\000\000-?\000\000\000\000@-?\000\000\000\000>-s--Lu-\003\000\000\000\210?-(\215-"... stmt = (SQLHSTMT) 0xb6712bc4 __PRETTY_FUNCTION__ = "ast_odbc_prepare_and_execute" #3 0xb670fa46 in realtime_odbc (database=0xb1afddcc "ccig", table=0xb1afdccc "sip_peers", ap=0xb1afdf24 "--\026-@!\032\b--\026---\026-") at res_config_odbc.c:165 obj = (struct odbc_obj *) 0xb7a78d28 stmt = (SQLHSTMT) 0x883c6e5 sql = "SELECT * FROM sip_peers WHERE name = ? AND host = ?\000\000\000\000\000-?-\230C?\000\000\000s-\023\000\000\000\000\000\000 \000\000\000\236\000\000\000$?---\026----u(?--?-", '\0' , "\001\000\000\000X\226f-\000\000\000\000----Y\000\000\000C&\027-(&\027-\000\000\000\000-?-\004", '\0' , "\n\000\000\000-?-\000\000\000\000-?", '\0' , "----\000\000\000\000-%\027-\200"... coltitle = "-?Y\000\000\000-\226f-\000\000\000\000p?-#\f?\000\000\000\000\002\000\000\000\001\000\000\000W?-\000\000\000\000-?-%\027-\002\000\000\000-?--, "-\t\233------\020\000\000\024\016\235-#\f?0?-\230C?-\220\020-\212?|\211f-(?--\000\000\000p?-\230C?\000\000\000\000#\f?-?-?-6\000\000\0009?H?-$?-\003\000"... rowdata = "\000\000\000\000----)\000\0004v?--?\005\000\000\000\000\231\231\231\031", '\0' , "-?-\200?--?\000\000\000\000-?--?--A?-?-X?-\n", '\0' , "\210?-l?-h,?\030?-\000\000\000\000\n", '\0' , "401\000\000\000\000\0004?-\230C? -s\000\000\000\000-\n?-\032v-\000\004\000s-?-?-$?-??-?-\\?-\234?-\000\000\000\000\234?--?\220\230f-\001\000\000\000"... op = 0xb6712b8e " =" newparam = 0x0 newval = 0xb616f7e7 "dynamic" stringp = 0x191
chunk = 0x78e83a19
collen = 0 res = 100 x = -1239996989 var = (struct ast_variable *) 0x0 prev = (struct ast_variable *) 0x0 colsize = 2981090368 colcount = 0 datatype = -10816 decimaldigits = -18921 nullable = 9667 indicator = -1239996981 aq = 0xb1afdf38 "\230C?" cps = {sql = 0xb1afd850 "SELECT * FROM sip_peers WHERE name = ? AND host = ?", extra = 0x0, ap = 0xb1afdf24 "--\026-@!\032\b--\026---\026-", skip = 0} __PRETTY_FUNCTION__ = "realtime_odbc" #4 0x080aa54b in ast_load_realtime_helper (family=0xb616f690 "sippeers", ap=0xb1afdf24 "--\026-@!\032\b--\026---\026-") at config.c:2091 ---Type to continue, or q to quit--- eng = (struct ast_config_engine *) 0xb6714760 db = "ccig", '\0' table = "sip_peers", '\0' res = (struct ast_variable *) 0x0 #5 0x080aa5ac in ast_load_realtime (family=0xb616f690 "sippeers") at config.c:2114 res = (struct ast_variable *) 0x0 cur = (struct ast_variable *) 0x0 prev = (struct ast_variable *) 0x0 freeme = (struct ast_variable *) 0x0 ap = 0xb1afdf24 "--\026-@!\032\b--\026---\026-" #6 0xb610db21 in realtime_peer (newpeername=0x81a2140 "", sin=0x0, devstate_only=0) at chan_sip.c:4368 peer = (struct sip_peer *) 0xaf7d6240 var = (struct ast_variable *) 0x0 varregs = (struct ast_variable *) 0x0 tmp = (struct ast_variable *) 0xb1d08eb8 peerlist = (struct ast_config *) 0x0 ipaddr = "\000\000\000\000\200\177--\000\000\000\000\000\000\000" portstring = "\000\000\234\230?" cat = 0x0 portnum = 45487 realtimeregs = 0 __PRETTY_FUNCTION__ = "realtime_peer" #7 0xb610e7c4 in find_peer (peer=0x81a2140 "", sin=0x0, realtime=1, which_objects=2, devstate_only=0, transport=0) at chan_sip.c:4613 p = (struct sip_peer *) 0x0 #8 0xb615db3a in st_get_se (p=0xacce14d8, max=1) at chan_sip.c:21824 pp = (struct sip_peer *) 0xb6194520 #9 0xb6127ffb in transmit_invite (p=0xacce14d8, sipmethod=3, sdp=0, init=2) at chan_sip.c:10226 i2astr = "-\000\000\000\000\231\000\000" req = {rlPart1 = 0, rlPart2 = 0, len = 391, headers = 10, method = 3, lines = 0, sdp_start = 0, sdp_count = 0, debug = 0 '\0', has_to_tag = 0 '\0', ignore = 0 '\0', header = {0, 38, 102, 120, 180, 208, 245, 300, 319, 354, 0 }, line = {0 }, data = 0xb39cc4a8, socket = {type = 0, fd = 0, port = 0, tcptls_session = 0x0}, next = {next = 0x0}} var = (struct ast_variable *) 0xb1aff168 __PRETTY_FUNCTION__ = "transmit_invite" #10 0xb615eabf in sip_poke_peer (peer=0xb1b4b0c0, force=0) at chan_sip.c:22005 p = (struct sip_pvt *) 0xacce14d8 xmitres = 0 __PRETTY_FUNCTION__ = "sip_poke_peer" #11 0xb612ddda in sip_poke_peer_s (data=0xb1b4b0c0) at chan_sip.c:11275 peer = (struct sip_peer *) 0xb1b4b0c0 #12 0x08139539 in ast_sched_runq (con=0xb1d07d48) at sched.c:490 current = (struct sched *) 0xadcf8108 when = {tv_sec = 1273746327, tv_usec = 488164} numevents = 0 res = -1239929788 __PRETTY_FUNCTION__ = "ast_sched_runq" #13 0xb615c8bb in do_monitor (data=0x0) at chan_sip.c:21542 res = 0 t = 1273746327 reloading = 0 __PRETTY_FUNCTION__ = "do_monitor" #14 0x0814d600 in dummy_start (data=0x8b1eae0) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1211641868, 0, 0, -1313868856, 1273413789, 1034658286}, __mask_was_saved = 0}}, __pad = {0xb1aff490, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x807643e __cancel_arg = (void *) 0xb1affb90 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb615c5dd , data = 0x0, name = 0x8b31028 "do_monitor", ' ' , "started at [21569] chan_sip.c restart_monitor()"} #15 0xb7c6d4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 ---Type to continue, or q to quit--- No symbol table info available. #16 0xb7d6461e in clone () from /lib/i686/cmov/libc.so.6 No symbol table info available. (gdb)