[Asterisk-Dev] I hate when this happens

David Pollak dpp-asterisk at projectsinmotion.com
Tue Apr 5 15:15:26 MST 2005


Howdy,

I just upgraded to CVS head.  When I do something very simple (try to 
dial an extension), I get the following stack:

The database is configured correctly (it works with code from a week 
ago.)  If anybody can shed some light on what happened, I'd really 
appreciate it.

Thanks,

David

#0  0x006596f1 in CC_send_query () from /usr/lib/libodbcpsql.so
#1  0x006718a0 in SC_execute () from /usr/lib/libodbcpsql.so
#2  0x006615b7 in PG_SQLExecute () from /usr/lib/libodbcpsql.so
#3  0x0066177f in SQLExecute () from /usr/lib/libodbcpsql.so
#4  0x00130b68 in SQLExecute () from /usr/lib/libodbc.so.1
#5  0x002c71ae in odbc_smart_execute (obj=0xa002408, stmt=0xa052e98) at 
res_odbc.c:88
#6  0x00a75471 in realtime_odbc (database=0xb7a2fa7c "", table=0xa002408 
"?",
    ap=0xa052e98 "[K") at res_config_odbc.c:106
#7  0x0805b1de in ast_load_realtime (family=0x0) at config.c:976
#8  0x00ad04ec in realtime_switch_common (table=0xad06da "extensions",
    context=0xa044764 "Max", exten=0xa044858 "14158122394", priority=0, 
mode=0)
    at pbx_realtime.c:113
#9  0x00acfdca in realtime_exists (chan=0xa044608, context=0xa044764 "Max",
    exten=0xa044858 "14158122394", priority=0, callerid=0x80eda96 "",
    data=0xa044858 "14158122394") at pbx_realtime.c:146
#10 0x0807fce9 in pbx_find_extension (chan=0xa044608, bypass=0x0, 
context=0xa044764 "Max",
    exten=0xa044858 "14158122394", priority=-1, label=0x0, 
callerid=0x80eda96 "", action=0,
    incstack=0xb7a2fc30, stacklen=0xb7a2fc1c, status=0xb7a2fc20, 
swo=0xb7a2fc24,
    data=0xb7a2fc28, foundcontext=0xb7a2fc2c) at pbx.c:824
#11 0x0808141c in ast_get_hint (hint=0x0, hintsize=0, name=0xb7a30400 
"", namesize=80,
    c=0x0, context=0x0, exten=0x0) at pbx.c:1709
#12 0x0055e2c5 in dial_exec_full (chan=0xa044608, data=0xa044804, 
peerflags=0xb7a30728)
    at app_dial.c:240
#13 0x0055b7d5 in dial_exec (chan=0x0, data=0x0) at app_dial.c:1343
#14 0x0808824d in pbx_exec (c=0xa044608, app=0x0, data=0xa0513fa, 
newstack=1) at pbx.c:509
#15 0x00ba6353 in handle_exec (chan=0x0, agi=0x0, argc=3, 
argv=0xa044608) at res_agi.c:1066
#16 0x00ba8fda in agi_handle_command (chan=0x0, agi=0xb7a58ad0, buf=0x0) 
at res_agi.c:1785






More information about the asterisk-dev mailing list