[Home]

Summary:ASTERISK-17858: if ODBC can´t connect asterisk crashes
Reporter:Sebastian Gutierrez (sum)Labels:
Date Opened:2011-05-13 17:51:26Date Closed:2011-05-14 14:30:01
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_odbc
Versions:1.6.2.18 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:if the server cant connect to the odbc asterisk crashes everytime.

found it because I had the worng port in the odbc config.

****** ADDITIONAL INFORMATION ******

bt of core dump

#0  ast_odbc_request_obj2 (name=0xb7c0d67c "RESMSSQL", flags={flags = 0}) at /root/asterisk-1.6.2.18/include/asterisk/lock.h:2013
2013    AST_INLINE_API(int ast_atomic_fetchadd_int(volatile int *p, int v),
(gdb) bt
#0  ast_odbc_request_obj2 (name=0xb7c0d67c "RESMSSQL", flags={flags = 0}) at /root/asterisk-1.6.2.18/include/asterisk/lock.h:2013
#1  0x001e715a in ast_odbc_request_obj (name=0xb7c0d67c "RESMSSQL", check=0) at res_odbc.c:1344
#2  0x001e77f7 in load_odbc_config () at res_odbc.c:970
#3  0x001e7b88 in load_module () at res_odbc.c:1694
#4  0x080e54c1 in start_resource (mod=0x9009e70) at loader.c:743
ASTERISK-1  0x080e6156 in load_resource_list (load_order=0xbff03b00, global_symbols=1, mod_count=0xbff03b08) at loader.c:921
ASTERISK-2  0x080e6425 in load_modules (preload_only=0) at loader.c:1063
ASTERISK-3  0x0807a8a9 in main (argc=4, argv=0xbff06034) at asterisk.c:3754
ASTERISK-4  0x002c4e9c in __libc_start_main () from /lib/libc.so.6
ASTERISK-5  0x0805e2a1 in SSL_accept ()
Comments: