<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ES-UY link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Seems to be a crash
with func_odbc.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Let me know what info
you need to check it.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thnks<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Sebastian [mailto:scgm@adinet.com.uy] <br>
<b>Sent:</b> viernes, 20 de marzo de 2009 10:37 p.m.<br>
<b>To:</b> 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>
<b>Subject:</b> 1.6.2 beta 1 crash<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=ES>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I’m starting testing 1.6.2 beta. CentOs 5.2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I found my first crash, first I have<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>[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!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>[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'!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>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.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>CRASH:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>localhost*CLI> *** glibc detected ***
/usr/sbin/asterisk: realloc(): invalid next size: 0x08abff28 ***<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>======= Backtrace: =========<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/lib/libc.so.6[0xdfa440]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/lib/libc.so.6(realloc+0x1a7)[0xdfb377]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/sbin/asterisk(__ast_str_helper+0x75)[0x81403b5]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/sbin/asterisk(ast_str_append+0x31)[0x814d531]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/lib/asterisk/modules/func_odbc.so[0x14c1ee5]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/sbin/asterisk(ast_func_read+0x100)[0x81009e0]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/sbin/asterisk(pbx_substitute_variables_helper_full+0x29d)[0x81070dd]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/sbin/asterisk[0x810797a]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/sbin/asterisk[0x810a0a4]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/sbin/asterisk[0x810bc20]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/sbin/asterisk[0x814c92b]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/lib/libpthread.so.0[0x4ef46b]<o:p></o:p></span></p>
<p class=MsoNormal>/lib/libc.so.6(clone+0x5e)[0xe5fdbe]<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US>#0 0x00c6c402 in __kernel_vsyscall ()<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>(gdb) bt<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#0 0x00c6c402 in __kernel_vsyscall ()<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#1 0x0019ad20 in raise () from
/lib/libc.so.6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#2 0x0019c631 in abort () from
/lib/libc.so.6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#3 0x001d2e6b in __libc_message ()
from /lib/libc.so.6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#4 0x001dd440 in _int_realloc () from
/lib/libc.so.6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#5 0x001de377 in realloc () from
/lib/libc.so.6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#6 0x081403b5 in __ast_str_helper
(buf=0xb6f9ed54, max_len=0, append=1, fmt=0x60f0ac3 ",",
ap=0xb6f9ea1c "")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> at
/usr/src/integra/asterisk-1.6.2.0-beta1/include/asterisk/utils.h:493<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#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<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#8 0x060eeee5 in acf_odbc_read
(chan=0x8a527e8, cmd=0xb6f9ed90 "ODBC_MSSQL", s=0xb6f9ed9b
"IVR_TEST_Asterisk 1001", buf=0xb6f9ee10 "1,0", len=4096)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> at func_odbc.c:545<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#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<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#10 0x081070dd in
pbx_substitute_variables_helper_full (c=0x8a527e8, headp=0x8a52900,
cp1=0x8a0fae8 "HASH(Cliente)=${ODBC_MSSQL(IVR_TEST_Asterisk
${ANI})}", <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> cp2=0xb6fa3f02
"", count=8177, used=0xb6fa61a8) at pbx.c:3481<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#11 0x0810797a in pbx_extension_helper
(c=0x8a527e8, con=0x0, context=0x8a52a58 "outgoing", exten=0x8a52aa8
"141", priority=11, label=0x0, callerid=0x8a4b0a0 "1001", <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> action=E_SPAWN,
found=0xb6fa6338, combined_find_spawn=1) at pbx.c:3576<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#12 0x0810a0a4 in __ast_pbx_run
(c=0x8a527e8, args=0x0) at pbx.c:4137<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#13 0x0810bc20 in pbx_thread
(data=0x8a527e8) at pbx.c:4514<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#14 0x0814c92b in dummy_start
(data=0x8a53758) at utils.c:968<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#15 0x0011d46b in start_thread () from
/lib/libpthread.so.0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#16 0x00242dbe in clone () from
/lib/libc.so.6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>If more info is needed or I should submit a
bug report, please let me know.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Regards,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</body>
</html>