[asterisk-bugs] [Asterisk 0014454]: Crash after run on FreeBSD 7.1

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 11 23:38:39 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14454 
====================================================================== 
Reported By:                urpyLLIKa
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   14454
Category:                   General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-02-11 06:14 CST
Last Modified:              2009-02-11 23:38 CST
====================================================================== 
Summary:                    Crash after run on FreeBSD 7.1
Description: 
OS: FreeBSD 7.1 x86
Asterisk: 1.4.23.1
After run crash and create core file
====================================================================== 

---------------------------------------------------------------------- 
 (0099963) urpyLLIKa (reporter) - 2009-02-11 23:38
 http://bugs.digium.com/view.php?id=14454#c99963 
---------------------------------------------------------------------- 
I`m build from ports

in /usr/ports/net/asterisk/Makefile add 
CONFIGURE_ARGS= --with-gsm=${LOCALBASE} --enable-dev-mode

next step
make configure

after
cd /usr/ports/net/asterisk/work/asterisk-1.4.23.1
less config.log
==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by asterisk configure 1.4, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --with-gsm=/usr/local --enable-dev-mode
--with-h323=/usr/local --with-zaptel --with-odbc --with-ltdl
--with-tds=/usr/local --with-postgres --with-ogg --with-radius
--with-netsnmp --with-iksemel --with-sqlite --prefix=/usr/local
--mandir=/usr/local/man --infodir=/usr/local/info/
--build=i386-portbld-freebsd7.1
==

gmake menuselect (go to compiler flags and check DONT_OPTIMIZE - checked)

cd /usr/ports/net/asterisk && make
Error in compilation
gmake[1]: Entering directory
`/usr/ports/net/asterisk/work/asterisk-1.4.23.1/res'
cc -o /dev/null -c res_features.i -D_THREAD_SAFE 
-I/usr/ports/net/asterisk/work/asterisk-1.4.23.1/include -O2
-fno-strict-aliasing -pipe  -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations  -Werror -Wunused
-Wdeclaration-after-statement -D_FORTIFY_SOURCE=2 -Wformat
-Wformat-security -Wmissing-format-attribute -I/usr/local/include   -fPIC
-DAST_MODULE=\"res_features\"   -O6
cc1: warnings being treated as errors
res_features.c: In function 'ast_features_lock':
res_features.c:1140: warning: passing argument 1 of 'ast_mutex_lock' from
incompatible pointer type
res_features.c: In function 'ast_features_unlock':
res_features.c:1145: warning: passing argument 1 of 'ast_mutex_unlock'
from incompatible pointer type
res_features.c: In function 'handle_parkedcalls':
res_features.c:2349: warning: format '%6ld' expects type 'long int', but
argument 8 has type 'time_t'
gmake[1]: *** [res_features.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/net/asterisk/work/asterisk-1.4.23.1/res'
gmake: *** [res] Error 2
*** Error code 2

gcc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD] 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-11 23:38 urpyLLIKa      Note Added: 0099963                          
======================================================================




More information about the asterisk-bugs mailing list