[asterisk-users] 1.6.2 beta 1 crash

Sebastian scgm at adinet.com.uy
Sat Mar 21 10:10:22 CDT 2009


If I compile with DON'T OPTIMIZE and MALLOC DEBUG realtime stop working, it
says that the query was empty to consult realtime, if I go back to those
parameters not checked starts working ok again.
Tell me if you need that with valgrind also, or other information, debug
info on the cli doesn’t give me much info to trace the problem.

Thanks


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tilghman
Lesher
Sent: sábado, 21 de marzo de 2009 03:54 a.m.
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] 1.6.2 beta 1 crash

On Friday 20 March 2009 20:36:38 Sebastian wrote:
> [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.

The useragent field should have been there previously.  Now, Asterisk warns
you, instead of the query silently failing.  The field "lastms" is new
(numeric).

> 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]

This tells me that you have memory corruption and probably need to run this
under valgrind.  See doc/valgrind.txt for details.

-- 
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Se certificó que el correo entrante no contiene virus.
Comprobada por AVG - www.avg.es 
Versión: 8.5.278 / Base de datos de virus: 270.11.21/2014 - Fecha de la
versión: 03/20/09 06:59:00




More information about the asterisk-users mailing list