Bug #66575 [NEW]: phpdbg segfaults with Xdebug v2.2.3

From: Date: Sat, 25 Jan 2014 10:22:26 +0000
Subject: Bug #66575 [NEW]: phpdbg segfaults with Xdebug v2.2.3
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183996@lists.php.net to get a copy of this message
From: clicky at erebot dot net Operating system: Debian 7 (Wheezy) PHP version: 5.6.0alpha1 Package: phpdbg Bug Type: Bug Bug description:phpdbg segfaults with Xdebug v2.2.3 Description: ------------ Trying to run phpdbg with Xdebug v2.2.3 loaded results in a segfault during startup. See backtrace below. Disabling Xdebug in php.ini or running phpdbg with option -n as a workaround works correctly. Test script: --------------- $ php -m [PHP Modules] bcmath bz2 calendar Core ctype date dom ereg filter gettext gmp hash iconv intl json libxml mbstring mcrypt mysql mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_pgsql pdo_sqlite pgsql Phar posix Reflection session SimpleXML soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer xdebug xhprof xml xmlreader xmlwriter xsl zip zlib [Zend Modules] Xdebug $ phpdbg Segmentation fault Expected result: ---------------- phpdbg should start normally. Actual result: -------------- (gdb) bt #0 0x0000000000000000 in ?? () #1 0x0000000000771065 in zend_is_auto_global_quick (name=0x7ffff5616977 "_SESSION", name_len=8, hash=249877436177080008) at /home/clicky/Documents/git/phpfarm/src/php-5.6.0alpha1-debug/Zend/zend_compile.c:6800 #2 0x00000000007710b2 in zend_is_auto_global (name=0x7ffff5616977 "_SESSION", name_len=8) at /home/clicky/Documents/git/phpfarm/src/php-5.6.0alpha1-debug/Zend/zend_compile.c:6810 #3 0x00007ffff55eeb37 in zm_activate_xdebug (type=1, module_number=49) at /home/clicky/Documents/git/phpfarm/inst/php-5.6.0alpha1-debug/pear/temp/xdebug/xdebug.c:865 #4 0x0000000000797233 in zend_activate_modules () at /home/clicky/Documents/git/phpfarm/src/php-5.6.0alpha1-debug/Zend/zend_API.c:2403 #5 0x000000000083d559 in main (argc=1, argv=0x7fffffffe1a8) at /home/clicky/Documents/git/phpfarm/src/php-5.6.0alpha1-debug/sapi/phpdbg/phpdbg.c:1190 -- Edit bug report at https://bugs.php.net/bug.php?id=66575&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66575&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66575&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66575&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66575&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66575&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66575&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66575&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66575&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66575&r=support Expected behavior: https://bugs.php.net/fix.php?id=66575&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66575&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66575&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66575&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66575&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66575&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66575&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66575&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66575&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66575&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66575&r=mysqlcfg

« previous php.bugs (#183996) next »