On Mon, Apr 12, 1999 at 01:03:15AM +0200, Sascha Schumann wrote: > Really nice work. :-) > > I've played with Zend/PHP4 a little bit and get a segfault when running a > small Perl generated script: > > (gdb) bt > #0 _erealloc (ptr=0x20000022000, size=18446744073709289472, > filename=0x120079830 "zend_ptr_stack.c", lineno=34) at zend_alloc.c:228 > #1 0x12005e434 in zend_ptr_stack_push (stack=0x1201a7558, ptr=0x122a81840) > at zend_ptr_stack.c:34 > #2 0x12005ea70 in zval_dtor (zvalue=0x1201bd700) at zend_variables.c:80 > #3 0x12006a8c0 in zend_assign_to_variable (result=0x1201d0520, op1=0x1, > value=0x11ffff5b0, type=2, Ts=0x11fffece0) at zend_execute.c:269 > #4 0x12006d9ac in execute (op_array=0x1201c1820) at zend_execute.c:1506 > #5 0x120011d38 in php3_parse (primary_file=0x11ffff850) at main.c:1213 > #6 0x120012780 in main (argc=2, argv=0x11ffff948) at main.c:1485 > #7 0x2000091b3b0 in __libc_start_main () > > It takes some seconds until this happens. Additional info: It core dumps when calling $a = new abc("dam"); and does not reach the constructor any more. -- Regards, Sascha Schumann | Consultant | finger sas@schell.de | for PGP public key -- PHP 4 Beta