Hi,

I'm working on PHP 5.4 as a fedora 17 feature.
https://fedoraproject.org/wiki/Features/Php54

Mainly, I test all available extension (~40) compatibility and try to
fix, when needed, and report bug upstream. (mostly done)

But I encounter a segfault with ice-php.

(gdb) bt
#0  _zend_mm_free_int (heap=0xdf02d0, p=0xdf09e0) at
/usr/src/debug/php5.4-201112261030/Zend/zend_alloc.c:2100
#1  0x00000000005e44d9 in zend_objects_free_object_storage
(object=0x7ffff7fb9110) at
/usr/src/debug/php5.4-201112261030/Zend/zend_objects.c:137
#2  0x00000000005ea36f in zend_objects_store_del_ref_by_handle_ex
(handle=8, handlers=<optimized out>)
    at /usr/src/debug/php5.4-201112261030/Zend/zend_objects_API.c:220
#3  0x00000000005ea393 in zend_objects_store_del_ref
(zobject=0x7ffff7fb90e0) at
/usr/src/debug/php5.4-201112261030/Zend/zend_objects_API.c:172
#4  0x00000000005b3e9a in _zval_dtor (zvalue=<optimized out>) at
/usr/src/debug/php5.4-201112261030/Zend/zend_variables.h:35
#5  _zval_ptr_dtor (zval_ptr=0x7ffff7fb91b8) at
/usr/src/debug/php5.4-201112261030/Zend/zend_execute_API.c:438
#6  _zval_ptr_dtor (zval_ptr=0x7ffff7fb91b8) at
/usr/src/debug/php5.4-201112261030/Zend/zend_execute_API.c:427
#7  0x00000000005cf131 in zend_hash_apply_deleter (ht=0xa008e8,
p=0x7ffff7fb91a0) at /usr/src/debug/php5.4-201112261030/Zend/zend_hash.c:650
#8  0x00000000005d0c71 in zend_hash_reverse_apply (ht=0xa008e8,
apply_func=0x5b3d00 <zval_call_destructor>)
    at /usr/src/debug/php5.4-201112261030/Zend/zend_hash.c:804
#9  0x00000000005b41b1 in shutdown_destructors () at
/usr/src/debug/php5.4-201112261030/Zend/zend_execute_API.c:217
#10 0x00000000005c2ce7 in zend_call_destructors () at
/usr/src/debug/php5.4-201112261030/Zend/zend.c:918
#11 0x00000000005631b5 in php_request_shutdown (dummy=<optimized out>)
at /usr/src/debug/php5.4-201112261030/main/main.c:1723
#12 0x000000000066b824 in do_cli (argc=3, argv=0x7fffffffe098) at
/usr/src/debug/php5.4-201112261030/sapi/cli/php_cli.c:1169
#13 0x0000000000425afe in main (argc=3, argv=0x7fffffffe098) at
/usr/src/debug/php5.4-201112261030/sapi/cli/php_cli.c:1356


Any help on "where to search" will be appreciated...

Remi.


P.S. here is the patch used to build ice extension (perhaps something is
wrong in this)
https://raw.github.com/remicollet/remirepo/5bffe46723937624ae26dc944b8afce4f25b4fa2/ice/ice-3.4.2-php54.patch

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to