[asterisk-users] 1.6.2 beta 1 crash

Sebastian scgm at adinet.com.uy
Fri Mar 20 21:52:06 CDT 2009


Seems to be a crash with func_odbc.

Let me know what info you need to check it.

 

Thnks

 

 

From: Sebastian [mailto:scgm at adinet.com.uy] 
Sent: viernes, 20 de marzo de 2009 10:37 p.m.
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: 1.6.2 beta 1 crash

 

Hi,

 

I'm starting testing 1.6.2 beta. CentOs 5.2

 

I found my first crash, first I have

 

[Mar 20 20:30:41] WARNING[11201]: res_config_mysql.c:611 update_mysql:
Attempted to update column 'useragent' in table 'sip', but column does not
exist!

[Mar 20 20:30:41] ERROR[11201]: res_config_mysql.c:581 update_mysql: MySQL
RealTime: Updating on column 'lastms', but that column does not exist within
the table 'sip'!

 

I would like to know if this new fields corresponds to previous ones, so I
can delete deprecated ones and add this new to my tables.

 

 

CRASH:

 

localhost*CLI> *** glibc detected *** /usr/sbin/asterisk: realloc(): invalid
next size: 0x08abff28 ***

======= Backtrace: =========

/lib/libc.so.6[0xdfa440]

/lib/libc.so.6(realloc+0x1a7)[0xdfb377]

/usr/sbin/asterisk(__ast_str_helper+0x75)[0x81403b5]

/usr/sbin/asterisk(ast_str_append+0x31)[0x814d531]

/usr/lib/asterisk/modules/func_odbc.so[0x14c1ee5]

/usr/sbin/asterisk(ast_func_read+0x100)[0x81009e0]

/usr/sbin/asterisk(pbx_substitute_variables_helper_full+0x29d)[0x81070dd]

/usr/sbin/asterisk[0x810797a]

/usr/sbin/asterisk[0x810a0a4]

/usr/sbin/asterisk[0x810bc20]

/usr/sbin/asterisk[0x814c92b]

/lib/libpthread.so.0[0x4ef46b]

/lib/libc.so.6(clone+0x5e)[0xe5fdbe]

 

 

 

#0  0x00c6c402 in __kernel_vsyscall ()

(gdb) bt

#0  0x00c6c402 in __kernel_vsyscall ()

#1  0x0019ad20 in raise () from /lib/libc.so.6

#2  0x0019c631 in abort () from /lib/libc.so.6

#3  0x001d2e6b in __libc_message () from /lib/libc.so.6

#4  0x001dd440 in _int_realloc () from /lib/libc.so.6

#5  0x001de377 in realloc () from /lib/libc.so.6

#6  0x081403b5 in __ast_str_helper (buf=0xb6f9ed54, max_len=0, append=1,
fmt=0x60f0ac3 ",", ap=0xb6f9ea1c "")

    at /usr/src/integra/asterisk-1.6.2.0-beta1/include/asterisk/utils.h:493

#7  0x0814d531 in ast_str_append (buf=0xb6f9ed54, max_len=0, fmt=0x60f0ac3
",") at
/usr/src/integra/asterisk-1.6.2.0-beta1/include/asterisk/strings.h:749

#8  0x060eeee5 in acf_odbc_read (chan=0x8a527e8, cmd=0xb6f9ed90
"ODBC_MSSQL", s=0xb6f9ed9b "IVR_TEST_Asterisk 1001", buf=0xb6f9ee10 "1,0",
len=4096)

    at func_odbc.c:545

#9  0x081009e0 in ast_func_read (chan=0x8a527e8, function=0xb6f9fe20
"ODBC_MSSQL(IVR_TEST_Asterisk 1001)", workspace=0xb6f9ee10 "1,0", len=4096)
at pbx.c:3346

#10 0x081070dd in pbx_substitute_variables_helper_full (c=0x8a527e8,
headp=0x8a52900, cp1=0x8a0fae8 "HASH(Cliente)=${ODBC_MSSQL(IVR_TEST_Asterisk
${ANI})}", 

    cp2=0xb6fa3f02 "", count=8177, used=0xb6fa61a8) at pbx.c:3481

#11 0x0810797a in pbx_extension_helper (c=0x8a527e8, con=0x0,
context=0x8a52a58 "outgoing", exten=0x8a52aa8 "141", priority=11, label=0x0,
callerid=0x8a4b0a0 "1001", 

    action=E_SPAWN, found=0xb6fa6338, combined_find_spawn=1) at pbx.c:3576

#12 0x0810a0a4 in __ast_pbx_run (c=0x8a527e8, args=0x0) at pbx.c:4137

#13 0x0810bc20 in pbx_thread (data=0x8a527e8) at pbx.c:4514

#14 0x0814c92b in dummy_start (data=0x8a53758) at utils.c:968

#15 0x0011d46b in start_thread () from /lib/libpthread.so.0

#16 0x00242dbe in clone () from /lib/libc.so.6

 

 

 

 

 

If more info is needed or I should submit a bug report, please let me know.

 

Regards,

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090320/9b266e9a/attachment.htm 


More information about the asterisk-users mailing list