[asterisk-bugs] [Asterisk 0011291]: Addons build problems

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 18 23:07:17 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11291 
====================================================================== 
Reported By:                IgorG
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11291
Category:                   Addons/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0-beta1 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89399 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-19-2007 03:52 CST
Last Modified:              04-18-2008 23:07 CDT
====================================================================== 
Summary:                    Addons build problems
Description: 
Latest MySQL CDR crash on start, if add noload to modules.conf all is OK.
Back trace attached.
====================================================================== 

---------------------------------------------------------------------- 
 IgorG - 04-18-08 23:07  
---------------------------------------------------------------------- 
Have you reproduce this issue? If yes, they apply changes for
app_addon_mysql.c and this patch will solve crash (MALLOC_DEBUG must be
enabled in asterisk and socket param should have enough length).

Problem that compile flags that used in makefiles, not in soucse, are
always have empty value and not used in fact. Two samples:
* DONT_OPTIMIZE, have no effect and addons built always not optimized,
that cause BIG problems with debug issues
* MALLOC_DEBUG. If main asterisk built with MALLOC_DEBUG and addons not,
that cause crash on every use this debug code from addons.

Seems this is too hard to describe problem, better make correct solution
to fix this situation. Will be back with patch. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-18-08 23:07  IgorG          Note Added: 0085722                          
======================================================================




More information about the asterisk-bugs mailing list