Bug #78519 [Com]: Segfaults running phpdbg tests

From: Date: Mon, 09 Sep 2019 10:46:24 +0000
Subject: Bug #78519 [Com]: Segfaults running phpdbg tests
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222653@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78519&edit=1

 ID:                 78519
 Comment by:         devang at teaksi dot com
 Reported by:        devang at teaksi dot com
 Summary:            Segfaults running phpdbg tests
 Status:             Feedback
 Type:               Bug
 Package:            phpdbg
 Operating System:   CentOS 6 2.6.32-754.17.1.el6.x86
 PHP Version:        7.1.32
 Block user comment: N
 Private report:     N

 New Comment:

Yes, I faced the same with 7.2.21 on the same operating system and the same "configure"
command also.
thanks
(Devang Modi)


Previous Comments:
------------------------------------------------------------------------
[2019-09-09 10:44:00] devang at teaksi dot com

Sorry forget to add "configure" command detail I believe it will help you a lot

./configure \
--disable-rpath \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-fpm \
--enable-ftp \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-intl \
--enable-mbregex \
--enable-mbstring \
--enable-opcache \
--enable-pcntl \
--enable-shmop \
--enable-soap \
--enable-sockets \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--enable-zip \
--prefix=/opt/php7 \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-bz2 \
--with-curl \
--with-fpm-group=apache \
--with-fpm-user=apache \
--with-freetype-dir \
--with-gd \
--with-gettext \
--with-gmp \
--with-imap \
--with-imap-ssl \
--with-jpeg-dir=/usr/lib64 \
--with-kerberos \
--with-libdir=lib64 \
--with-libxml-dir=/usr \
--with-mcrypt \
--with-mhash \
--with-mysqli \
--with-openssl \
--without-pdo-mysql \
--without-pdo-pgsql \
--without-pdo-sqlite \
--with-pcre-regex \
--with-png-dir=/usr/lib64 \
--with-pspell \
--with-readline \
--with-webp-dir=/usr/lib64 \
--with-xmlrpc \
--with-xpm-dir=/usr/lib64 \
--with-xsl \
--with-zlib

(Devang Modi)

------------------------------------------------------------------------
[2019-09-09 10:42:46] requinix@php.net

PHP 7.1 is no longer in active support. Does this still happen with PHP 7.2 or later?

------------------------------------------------------------------------
[2019-09-09 10:40:48] devang at teaksi dot com

Description:
------------
Dear Friend,
Following test cases are FAILING with "segfault" error listing in /var/log/message file.
See following example error line
2019-09-09T03:31:57.585558-07:00 XXXXX kernel: phpdbg[4356]: segfault at 9 ip 000000000086da76 sp
00007ffeb4f444e0 error 4 in phpdbg[400000+bd8000]
2019-09-09T03:32:14.810433-07:00 XXXXX kernel: phpdbg[4376]: segfault at 9 ip 000000000086da76 sp
00007ffc9f0f8510 error 4 in phpdbg[400000+bd8000]
2019-09-09T03:32:32.055598-07:00 XXXXX kernel: phpdbg[4395]: segfault at 9 ip 000000000086da76 sp
00007fffe2f45dd0 error 4 in phpdbg[400000+bd8000]
2019-09-09T03:33:03.656409-07:00 XXXXX kernel: phpdbg[4597]: segfault at 9 ip 000000000086da76 sp
00007ffed53cd0e0 error 4 in phpdbg[400000+bd8000]


Test script:
---------------
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/breakpoints_001.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/breakpoints_003.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/breakpoints_005.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/breakpoints_008.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/bug73704.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/clean_001.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/clear_001.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/exceptions_001.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/exceptions_002.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/generator_run.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/include_once.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/info_001.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/normal_exit.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/phpdbg_break_next.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/phpdbg_oplog_001.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/phpdbg_oplog_002.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/run_001.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/run_002.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/set_exception_handler.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/stdin_001.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/watch_001.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/watch_002.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/watch_003.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/watch_004.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/watch_005.phpt
sapi/cli/php run-tests.php -P sapi/phpdbg/tests/watch_006.phpt

Expected result:
----------------
Not much knowledge about result.

Actual result:
--------------
AILING with "segfault" error listing in /var/log/message file.
See following example error line
2019-09-09T03:31:57.585558-07:00 XXXXX kernel: phpdbg[4356]: segfault at 9 ip 000000000086da76 sp
00007ffeb4f444e0 error 4 in phpdbg[400000+bd8000]
2019-09-09T03:32:14.810433-07:00 XXXXX kernel: phpdbg[4376]: segfault at 9 ip 000000000086da76 sp
00007ffc9f0f8510 error 4 in phpdbg[400000+bd8000]
2019-09-09T03:32:32.055598-07:00 XXXXX kernel: phpdbg[4395]: segfault at 9 ip 000000000086da76 sp
00007fffe2f45dd0 error 4 in phpdbg[400000+bd8000]
2019-09-09T03:33:03.656409-07:00 XXXXX kernel: phpdbg[4597]: segfault at 9 ip 000000000086da76 sp
00007ffed53cd0e0 error 4 in phpdbg[400000+bd8000]



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=78519&edit=1


Thread (8 messages)

« previous php.bugs (#222653) next »