ID: 37066 Updated by: [EMAIL PROTECTED] Reported By: it at absp dot alcatel dot be -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: Linux 2.6.16-1.2080_FC5 PHP Version: 5.1.2 New Comment:
Do not file bugs when you have Zend extensions (zend_extension=) loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache, APC, Xdebug and ionCube loader. These extensions often modify engine behavior which is not related to PHP itself. Please report this to the authors of the Debugger. Previous Comments: ------------------------------------------------------------------------ [2006-04-13 09:03:38] it at absp dot alcatel dot be Description: ------------ The httpd child crashes whilst stepping through php code using DBG as debug module. As soon as the first variable assignment is reached, it segfaults (11) DBG php debugger, version 2.16.20, Copyright 2001, 2005 Dmitri Dmitrienko, http://www.nusphere.com/dbg Version 2.16.20 Linked as a shared library. Dbg security enabled. Profiler compiled, enabled Target PHP version 5.1.2 Server API Apache 2.0 Handler Extensions API 220051025 Modules API 20050922 PHP API 20041225 './configure' '--disable-debug' '--with-pic' '--with-config-file-scan-dir=/usr/local/etc/php.d' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-dom=shared' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/local/apache2/conf/magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-ncurses=shared' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr}' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-apxs2=/usr/local/apache2/bin/apxs' Reproduce code: --------------- <?php print("this works"); echo "and this"; $error="segfault when here"; ?> Expected result: ---------------- Stepping till end. Actual result: -------------- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208199504 (LWP 13969)] 0x01188435 in zend_assign_to_variable (result=0x909bcd0, op1=0x909bce4, op2=0x909bcf8, value=0x909bcfc, type=1, Ts=0xbf9e1bf0) at /data/misc/download/Download_spool/php-5.1.2/Zend/zend_execute.c:269 269 zval ***ptr = &CV_OF(node->u.var); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37066&edit=1