#0 0xb76b0f82 in SQLFetch () from /usr/lib/libodbc.so.1 (gdb) bt #0 0xb76b0f82 in SQLFetch () from /usr/lib/libodbc.so.1 #1 0xb67cfb02 in realtime_odbc (database=0xb1cd0dcc "ccig", table=0xb1cd0ccc "sip_peers", ap=0xb1cd0f24 "--\"-@!\032\b") at res_config_odbc.c:180 #2 0x080aa54b in ast_load_realtime_helper (family=0xb622d690 "sippeers", ap=0xb1cd0f24 "--\"-@!\032\b") at config.c:2091 #3 0x080aa5ac in ast_load_realtime (family=0xb622d690 "sippeers") at config.c:2114 #4 0xb61cbba7 in realtime_peer (newpeername=0x81a2140 "", sin=0x0, devstate_only=0) at chan_sip.c:4372 #5 0xb61cc7c4 in find_peer (peer=0x81a2140 "", sin=0x0, realtime=1, which_objects=2, devstate_only=0, transport=0) at chan_sip.c:4613 #6 0xb621bc0b in st_get_se (p=0xb1acc1e8, max=0) at chan_sip.c:21837 #7 0xb61e6072 in transmit_invite (p=0xb1acc1e8, sipmethod=3, sdp=0, init=2) at chan_sip.c:10232 #8 0xb621cabf in sip_poke_peer (peer=0xb194f9f8, force=0) at chan_sip.c:22005 #9 0xb61ebdda in sip_poke_peer_s (data=0xb194f9f8) at chan_sip.c:11275 #10 0x08139539 in ast_sched_runq (con=0xb5ac76b0) at sched.c:490 #11 0xb621a8bb in do_monitor (data=0x0) at chan_sip.c:21542 #12 0x0814d600 in dummy_start (data=0xa1c9540) at utils.c:968 #13 0xb7d294c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #14 0xb7e2061e in clone () from /lib/i686/cmov/libc.so.6 (gdb) bt full #0 0xb76b0f82 in SQLFetch () from /usr/lib/libodbc.so.1 No symbol table info available. #1 0xb67cfb02 in realtime_odbc (database=0xb1cd0dcc "ccig", table=0xb1cd0ccc "sip_peers", ap=0xb1cd0f24 "--\"-@!\032\b") at res_config_odbc.c:180 obj = (struct odbc_obj *) 0xa1afd40 stmt = (SQLHSTMT) 0xb5bdd9a8 sql = "SELECT * FROM sip_peers WHERE name = ?\000AND host = ?\000\000\000\000\000-\r?\230\003?\000\000\000s-\023\000\000\000\000\000\000 \213--\000\000\000\000$\017?--\"-\002\000\000u\001\000\000\000-\r?\001\000\000\000x\213---\005#-\002\000\000\000#-?r--\n\000\000\000\000----Q\000\000\000C\006#-(\006#-\000\000\000\000-\r?\004", '\0' , "\n\000\000\000-\r?\000\000\000\000-\021?", '\0' , "----\000\000\000"... coltitle = "-\021?Q\000\000\000v-w--\"\234-p\016?#-?-\a?\002\000\000\000\001\000\000\000T\017?\000\000\000\000-o--\005#-\002\000\000\000-\r?--?-\r?-\005#-\002\000\000\000---\000\000\000\000-\r?-----\020\000\000---\000\000\000\000\000\000\000\000-\a?\t$?-----\020\000\000\000k\r\b\021$\000\0000\r?\230\003?\004-?\000\000\000\000P\213---\a?&--p\016?\230\003?8\b?#-?-\021?-\017?2\000\000\0001\022?-i?$\017?"... rowdata = "\000\000\000\000----)\000\0004v\n?\232--\005\000\000\000\000\231\231\231\031", '\0' , "--_\200\004?-o-\000\000\000\000--_--_-\001?--_X\a?\n", '\0' , "\210\a?l\a?h-?\030\a?\000\000\000\000\n", '\0' , "401\000\000\000\000\0004\005?\230\003? \000\000s-\005#---?\236-?,\006-s-o?\006?$\000?-r?-\006?\\\a?\234\a?\000\000\000\000\234\a?-o-Q--\n\001\000\000\000"... op = 0xb67d2b8e " =" newparam = 0x0 newval = 0x81a2140 "" stringp = 0x191
chunk = 0x12
collen = 0 res = 0 x = -1239218749 var = (struct ast_variable *) 0x0 prev = (struct ast_variable *) 0x0 colsize = 2983003200 colcount = 44 datatype = 1472 decimaldigits = -18909 nullable = 1475 indicator = -1239218741 aq = 0xb1cd0f30 "--\"-" cps = {sql = 0xb1cd0850 "SELECT * FROM sip_peers WHERE name = ?", extra = 0x0, ap = 0xb1cd0f24 "--\"-@!\032\b", skip = 0} __PRETTY_FUNCTION__ = "realtime_odbc" #2 0x080aa54b in ast_load_realtime_helper (family=0xb622d690 "sippeers", ap=0xb1cd0f24 "--\"-@!\032\b") at config.c:2091 eng = (struct ast_config_engine *) 0xb67d4760 db = "ccig", '\0' table = "sip_peers", '\0' res = (struct ast_variable *) 0x0 #3 0x080aa5ac in ast_load_realtime (family=0xb622d690 "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 = 0xb1cd0f24 "--\"-@!\032\b" #4 0xb61cbba7 in realtime_peer (newpeername=0x81a2140 "", sin=0x0, devstate_only=0) at chan_sip.c:4372 peer = (struct sip_peer *) 0xb0cdf540 var = (struct ast_variable *) 0x0 varregs = (struct ast_variable *) 0x0 tmp = (struct ast_variable *) 0xb5ace4f0 peerlist = (struct ast_config *) 0x0 ipaddr = "\000\000\000\000-F--\000\000\000\000\000\000\000" portstring = "\000\000-?" cat = 0x0 portnum = 45517 realtimeregs = 0 __PRETTY_FUNCTION__ = "realtime_peer" #5 0xb61cc7c4 in find_peer (peer=0x81a2140 "", sin=0x0, realtime=1, which_objects=2, devstate_only=0, transport=0) at chan_sip.c:4613 ---Type to continue, or q to quit--- p = (struct sip_peer *) 0x0 #6 0xb621bc0b in st_get_se (p=0xb1acc1e8, max=0) at chan_sip.c:21837 pp = (struct sip_peer *) 0xb62405ec #7 0xb61e6072 in transmit_invite (p=0xb1acc1e8, sipmethod=3, sdp=0, init=2) at chan_sip.c:10232 i2astr = "600\000\000\000\231\000\000" req = {rlPart1 = 0, rlPart2 = 0, len = 413, headers = 11, 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, 391, 0 }, line = {0 }, data = 0xb5bdfe90, socket = {type = 0, fd = 0, port = 0, tcptls_session = 0x0}, next = {next = 0x0}} var = (struct ast_variable *) 0xb1cd2168 __PRETTY_FUNCTION__ = "transmit_invite" #8 0xb621cabf in sip_poke_peer (peer=0xb194f9f8, force=0) at chan_sip.c:22005 p = (struct sip_pvt *) 0xb1acc1e8 xmitres = 0 __PRETTY_FUNCTION__ = "sip_poke_peer" #9 0xb61ebdda in sip_poke_peer_s (data=0xb194f9f8) at chan_sip.c:11275 peer = (struct sip_peer *) 0xb194f9f8 #10 0x08139539 in ast_sched_runq (con=0xb5ac76b0) at sched.c:490 current = (struct sched *) 0xa49c0d8 when = {tv_sec = 1273750407, tv_usec = 637164} numevents = 0 res = -1239151548 __PRETTY_FUNCTION__ = "ast_sched_runq" #11 0xb621a8bb in do_monitor (data=0x0) at chan_sip.c:21542 res = 1 t = 1273750407 reloading = 0 __PRETTY_FUNCTION__ = "do_monitor" #12 0x0814d600 in dummy_start (data=0xa1c9540) at utils.c:968 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1210871820, 0, 0, -1311956024, -1907965795, 1034658286}, __mask_was_saved = 0}}, __pad = {0xb1cd2490, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x807643e __cancel_arg = (void *) 0xb1cd2b90 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb621a5dd , data = 0x0, name = 0xa1f82f8 "do_monitor", ' ' , "started at [21569] chan_sip.c restart_monitor()"} #13 0xb7d294c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. #14 0xb7e2061e in clone () from /lib/i686/cmov/libc.so.6 No symbol table info available. (gdb)