|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-01-27 07:43 UTC] krakjoe@php.net
[2014-01-29 08:34 UTC] tyrael@php.net
-Assigned To:
+Assigned To: krakjoe
[2014-02-02 14:16 UTC] krakjoe@php.net
-Status: Assigned
+Status: Closed
[2014-02-02 14:16 UTC] krakjoe@php.net
[2014-02-02 14:18 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 21:00:01 2025 UTC |
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