ID: 10068
Updated by: derick
Status: Open
Bug Type: Reproduceable crash
PHP Version: 4.0.4pl1
Assigned To: 

Can reproduce this with CVS of 24-04-2001:

Starting program: /dat/install/php/php-4.0.6dev/php -q bug10068.php

Program received signal SIGSEGV, Segmentation fault.
0x80b7f30 in call_overloaded_function (T=0xbfffe764, arg_count=0,
    return_value=0x811da4c) at ./zend_execute.c:850#1  0x80bb7eb in execute 
(op_array=0x813958c) at ./zend_execute.c:1556
850#2  0x809f6b8 in zend_execute_scripts (type=8, file_count=3) at zend.c:743
#3  0x805aa28 in php_execute_script (primary_file=0xbffffab4) at main.c:1205
#4  0x8059241 in main (argc=3, argv=0xbffffb14) at cgi_main.c:735
#5  0x400b69cb in __libc_start_main (main=0x8058ba4 <main>, argc=3,
    argv=0xbffffb14, init=0x8057a50 <_init>, fini=0x80c07fc <_fini>,
    rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffb0c)
    at ../sysdeps/generic/libc-start.c:92

Previous Comments:

[2001-03-29 20:18:40] [EMAIL PROTECTED]
checked new php version
still keeps crashing


[2001-03-29 19:46:23] [EMAIL PROTECTED]

class objekt
        var $property;

        function objekt()
                $this->property = 'okey';

        function property()
                echo "<br>$this->property";
        function &gb_objekt()
                $obj =& $GLOBALS['gb_objekt'];
                if (get_class($obj) != 'objekt')
                        $obj = new objekt();
                return $obj;

$gb_objekt =& objekt::gb_objekt();

// next line crashes 

$objekt =& objekt::gb_objekt();
$objekt->property = 'more okey';




ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to