[sr-dev] crash at f_malloc.c

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 21 21:44:07 CEST 2015


Can you remove -O3 from CC_EXTRA_OPS?

Daniel

On 21/09/15 21:27, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> I wonder what makes the local var 'hash' to be printed but not 'after'.
>> If you installed from deb, do you have the kamailio-dbg package
>> installed?
> no, i don't.  but i have commented out
>
> #	dh_strip --dbg-package=kamailio-dbg
>
> so symbols should be included.
>
> this is how i make kamailio:
>
> /usr/bin/make FLAVOUR=kamailio cfg prefix=/usr cfg_prefix=/usr/src/opensipg/trunk/src/openxg-sip-proxy/debian/openxg-sip-proxy \
> 		cfg_target=/etc/sip-proxy/ \
> 		run_target=/var/run/sip-proxy \
> 		BASEDIR=/usr/src/opensipg/trunk/src/openxg-sip-proxy/debian/openxg-sip-proxy \
>                         FMSTATS=1 KMSTATS=1 \
> 		MAIN_NAME=sip-proxy STUN=1 \
> 		skip_modules=" " \
> 		CC_EXTRA_OPTS="-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DVERSION_NODATE" \
> 		LD_EXTRA_OPTS="-Wl,-z,relro" \
> 		group_include="openxg"
>
> -- juha

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat




More information about the sr-dev mailing list