[asterisk-bugs] [Asterisk 0010973]: several crashes in Trunk using cdr_odbc and func_odbc with SQL Server. fretds 0.64 (latest)

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Oct 14 09:14:12 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10973 
====================================================================== 
Reported By:                falves11
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   10973
Category:                   CDR/cdr_odbc
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 85058 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-14-2007 00:02 CDT
Last Modified:              10-14-2007 09:14 CDT
====================================================================== 
Summary:                    several crashes in Trunk using cdr_odbc and
func_odbc with SQL Server. fretds 0.64 (latest)
Description: 
http://bugs.digium.com/view.php?id=0  0xb6f11ab1 in tds_open_socket (tds=0x0,
ip_addr=0x0, port=0, timeout=0)
at net.c:242
242                             tds_client_msg(tds->tds_ctx, tds, 20003,
9, 0, 0, "SQL Server connection timed out.");
(gdb) bt
http://bugs.digium.com/view.php?id=0  0xb6f11ab1 in tds_open_socket (tds=0x0,
ip_addr=0x0, port=0,
timeout=0) at net.c:242


http://bugs.digium.com/view.php?id=0  0x00000017 in ?? ()
(gdb) bt
http://bugs.digium.com/view.php?id=0  0x00000017 in ?? ()
http://bugs.digium.com/view.php?id=1  0x08790980 in ?? ()
http://bugs.digium.com/view.php?id=2  0x00000001 in ?? ()
http://bugs.digium.com/view.php?id=3  0xb0e641a8 in ?? ()
http://bugs.digium.com/view.php?id=4  0xb6f01de1 in tds_flush_packet (tds=Cannot
access memory at address
0x30e04188
) at write.c:291
Previous frame inner to this frame (corrupt stack?)


http://bugs.digium.com/view.php?id=0  tds_flush_packet (tds=Cannot access memory
at address 0x108
) at write.c:298
298     }
(gdb) bt
http://bugs.digium.com/view.php?id=0  tds_flush_packet (tds=Cannot access memory
at address 0x108
) at write.c:298
Cannot access memory at address 0x100

http://bugs.digium.com/view.php?id=0  0xb6f11b2b in tds_open_socket (tds=0x0,
ip_addr=0x0, port=1433,
timeout=90000) at net.c:250
250             if (getsockopt(tds->s, SOL_SOCKET, SO_ERROR, (char *)
&len, &optlen) != 0) {
(gdb) bt
http://bugs.digium.com/view.php?id=0  0xb6f11b2b in tds_open_socket (tds=0x0,
ip_addr=0x0, port=1433,
timeout=90000) at net.c:250
http://bugs.digium.com/view.php?id=1  0x00000000 in ?? ()
(gdb)

http://bugs.digium.com/view.php?id=0  0xb6f11b2b in tds_open_socket (tds=0x0,
ip_addr=0x0, port=1433,
timeout=90000) at net.c:250
250             if (getsockopt(tds->s, SOL_SOCKET, SO_ERROR, (char *)
&len, &optlen) != 0) {
(gdb) bt
http://bugs.digium.com/view.php?id=0  0xb6f11b2b in tds_open_socket (tds=0x0,
ip_addr=0x0, port=1433,
timeout=90000) at net.c:250
http://bugs.digium.com/view.php?id=1  0x00000000 in ?? ()
(gdb)

quit




====================================================================== 

---------------------------------------------------------------------- 
 falves11 - 10-14-07 09:14  
---------------------------------------------------------------------- 
Fresh from this morning

http://bugs.digium.com/view.php?id=0  0xb6f5ba88 in SQLNumResultCols () from
/usr/lib/libodbc.so.1
http://bugs.digium.com/view.php?id=1  0xb6ecc13f in acf_odbc_read
(chan=0xb647af18, cmd=0xb660bc60
"MINIXEL_ROUTING", s=0xb660bc70 "S208-1192367328.1397", buf=0xb660bd40 "",
len=4096) at func_odbc.c:312
http://bugs.digium.com/view.php?id=2  0x080cc09a in ast_func_read
(chan=0xb647af18,
    function=0xb660cd50
"MINIXEL_ROUTING(S208-1192367328.1397,209.237.252.94,15206421013,5206860418,<sip:5206860418 at 209.237.252.94>;party=calling;screen=yes;privacy=off)",
workspace=0xb660bd40 "", len=4096)
    at pbx.c:1586
http://bugs.digium.com/view.php?id=3  0x080d2705 in
pbx_substitute_variables_helper_full (c=0xb647af18,
headp=0xb647b264, cp1=0x8248030
"ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}",
    cp2=0xb6612faa "", count=8165) at pbx.c:1718
http://bugs.digium.com/view.php?id=4  0x080d678b in pbx_extension_helper
(c=0xb647af18, con=Variable "con"
is not available.
) at pbx.c:1810
http://bugs.digium.com/view.php?id=5  0x080d7dcf in __ast_pbx_run (c=0xb647af18)
at pbx.c:2397
http://bugs.digium.com/view.php?id=6  0x080da29e in pbx_thread (data=0xb647af18)
at pbx.c:2752
http://bugs.digium.com/view.php?id=7  0x0810f245 in dummy_start (data=0x1) at
utils.c:807
http://bugs.digium.com/view.php?id=8  0xb7eaa3cc in start_thread () from
/lib/tls/libpthread.so.0
http://bugs.digium.com/view.php?id=9  0xb71ffc3e in clone () from
/lib/tls/libc.so.6 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-14-07 09:14  falves11       Note Added: 0071935                          
======================================================================




More information about the asterisk-bugs mailing list