[asterisk-bugs] [Asterisk 0011291]: Latest MySQL CDR crash on start
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Jan 23 23:41:20 CST 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/cdr_addon_mysql
Reproducibility: always
Severity: crash
Priority: normal
Status: feedback
Asterisk Version: SVN
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: 01-23-2008 23:41 CST
======================================================================
Summary: Latest MySQL CDR crash on start
Description:
Latest MySQL CDR crash on start, if add noload to modules.conf all is OK.
Back trace attached.
======================================================================
----------------------------------------------------------------------
IgorG - 01-23-08 23:41
----------------------------------------------------------------------
Ok, I have no time to make it, sorry. While debug this issue I also
discover some optimization problems in addons. The list of changes:
1. Included astmm.h in cdr_mysql
2. dev-mode stuff in *-addons must be placed after inclusion of makeopts
3. Use compiler -g3 key only when DONT_OPTIMIZE
The issues remaining:
1. DONT_OPTIMIZE if set in main asterisk build take no effect when
building asterisk-addons. Asterisk-addons always built optimized, what case
problems with debugging addons.
3. Add inclusion of astmm.h in Makefile
2. I can not understand why ASTCFLAGS in addons passed double times to
gcc:
gcc -o app_saycountpl.o -c app_saycountpl.c -fPIC -Werror -Wunused
-Wundef -Wdeclaration-after-statement -O6 -fPIC -Werror -Wunused -Wundef
-Wdeclaration-after-statement -O6 -MMD -MT app_saycountpl.o -MF
.app_saycountpl.o.d -MP
I have no idea how to correctly pass CFLAGS fom asterisk menuselect to
asterisk-addons Makefile to have correct behavior of MALLOC_DEBUG and
DONT_OPTIMIZE.
Issue History
Date Modified Username Field Change
======================================================================
01-23-08 23:41 IgorG Note Added: 0081131
======================================================================
More information about the asterisk-bugs
mailing list