Reko Turja wrote:
From: Volodymyr Kostyrko
Rebuilding whole PHP without clang/gcc4.6 (my local settings) dumps
core with this backtrace:
...
Maybe something like this in /etc/make.conf
..if ${.CURDIR:M*php53*}
WITH_DEBUG=YES
..endif
..if ${.CURDIR:M*php5-redis*}
WITH_DEBUG=YES
..endif
And rebuild php+extensions.
then load the corefile to gdb.
The bad thing about this is that if I rebuild everything WITH_DEBUG.
There's no more coredumps, everything works, except for enormous size of
leaks detected and written to log:
/tmp/ports/usr/ports/lang/php53/work/php-5.3.15/main/php_variables.c(53)
: Freeing 0x80247BF08 (946 bytes), script=-
Last leak repeated 1 time
=== Total 2 memory leaks detected ===
[Tue Jul 24 14:44:23 2012] Script: '-'
/tmp/ports/usr/ports/security/php-suhosin/work/suhosin-0.9.33/suhosin.c(971)
: Freeing 0x8024783C8 (68 bytes), script=-
Last leak repeated 1 time
=== Total 2 memory leaks detected ===
[Tue Jul 24 14:39:59 2012] Script: '-'
/tmp/ports/usr/ports/lang/php53/work/php-5.3.15/ext/standard/base64.c(69) :
Freeing 0x80B617348 (153 bytes), script=-
/tmp/ports/usr/ports/lang/php53/work/php-5.3.15/Zend/zend_alloc.c(2734)
: Actual location (location was relayed)
[Tue Jul 24 14:39:59 2012] Script: '-'
/tmp/ports/usr/ports/security/php-suhosin/work/suhosin-0.9.33/suhosin.c(971)
: Freeing 0x80B537ED8 (14 bytes), script=-
Last leak repeated 4 times
=== Total 6 memory leaks detected ===
--
Sphinx of black quartz judge my vow.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"