hi, i tried to run php4-head + ZE2 but both CLI and apache(1.3)-sapi segfault for me.
the steps i did were: cvs co php4 cd php4 mv Zend ZE1 cvs co -d Zend ZendEngine2 ./cvsclean ./buildconf './configure' \ '--prefix=/usr/local/php4' \ '--with-apxs=/usr/local/apache/bin/apxs' \ '--disable-overload' \ '--enable-debug' \ "$@" here's the backtrace: Starting program: /usr/local/php4/bin/php Program received signal SIGSEGV, Segmentation fault. 0x081b2965 in zend_objects_store_put (object=0x40172098, dtor=0x81b1640 <zend_objects_destroy_object>, clone=0) at /home/azzit/src/cvs/php4/php4-ze2/Zend/zend_objects_API.c:47 47 EG(objects_store).free_list_head = EG(objects_store).object_buckets[handle].bucket.free_list.next; (gdb) bt #0 0x081b2965 in zend_objects_store_put (object=0x40172098, dtor=0x81b1640 <zend_objects_destroy_object>, clone=0) at /home/azzit/src/cvs/php4/php4-ze2/Zend/zend_objects_API.c:47 #1 0x081b11bd in zend_objects_new (object=0xbfffe7c4, class_type=0x822fc98) at /home/azzit/src/cvs/php4/php4-ze2/Zend/zend_objects.c:58 #2 0x081a379c in _object_and_properties_init (arg=0x82449d8, class_type=0x822fc98, properties=0x8244a08, __zend_filename=0x81e34a0 "/home/azzit/src/cvs/php4/php4-ze2/ext/standard/browscap.c", __zend_lineno=121) at /home/azzit/src/cvs/php4/php4-ze2/Zend/zend_API.c:594 #3 0x080dd42d in php_browscap_parser_cb (arg1=0xbfffe8b4, arg2=0x0, callback_type=2, arg=0x821a480) at /home/azzit/src/cvs/php4/php4-ze2/ext/standard/browscap.c:121 #4 0x0818790e in ini_parse () at /home/azzit/src/cvs/php4/php4-ze2/Zend/zend_ini_parser.y:205 #5 0x08187305 in zend_parse_ini_file (fh=0xbffff724, unbuffered_errors=1 '\001', ini_parser_cb=0x80dd280 <php_browscap_parser_cb>, arg=0x821a480) at /home/azzit/src/cvs/php4/php4-ze2/Zend/zend_ini_parser.y:165 #6 0x080dd5ba in zm_startup_browscap (type=1, module_number=3) at /home/azzit/src/cvs/php4/php4-ze2/ext/standard/browscap.c:157 #7 0x080d647b in zm_startup_basic (type=1, module_number=3) at /home/azzit/src/cvs/php4/php4-ze2/ext/standard/basic_functions.c:997 #8 0x081a5104 in zend_startup_module (module=0x8211ca0) at /home/azzit/src/cvs/php4/php4-ze2/Zend/zend_API.c:1020 #9 0x08164777 in php_startup_extensions (ptr=0x82199d8, count=9) at /home/azzit/src/cvs/php4/php4-ze2/main/main.c:956 #10 0x081c1856 in php_startup_internal_extensions () at main/internal_functions_cli.c:67 #11 0x08164cbb in php_module_startup (sf=0x8219960) at /home/azzit/src/cvs/php4/php4-ze2/main/main.c:1117 #12 0x081c0614 in main (argc=1, argv=0xbffffa04) at /home/azzit/src/cvs/php4/php4-ze2/sapi/cli/php_cli.c:424 it segfaults due to null-pointer dereference: EG(objects_store).free_list_head = EG(objects_store).object_buckets[handle].bucket.free_list.next; ^^^^^^^^^^^^^ (gdb) print executor_globals.objects_store $1 = {object_buckets = 0x0, top = 0, size = 0, free_list_head = 0} ^^^^^^^^ objects_store is not initialized... any idea whats going on? regards, -lukas -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php