php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77570 failed summary
Submitted: 2019-02-05 15:20 UTC Modified: 2020-09-23 15:55 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: sharif dot uddin1 at vodafone dot com Assigned: cmb (profile)
Status: Closed Package: Testing related
PHP Version: 7.3.1 OS: centos 7.5
Private report: No CVE-ID: None
 [2019-02-05 15:20 UTC] sharif dot uddin1 at vodafone dot com
Description:
------------
I am compiling using the commands provided in the test script. i can see alot of failures that are not reported in http://gcov.php.net/viewer.php?version=PHP_7_3&func=tests so i assume something is wrong. this output i recieve when i add  --enable-maintainer-zts --with-tsrm-pthreads to configuring php7

Test script:
---------------
yum install systemd-devel libstdc++.so.6 gcc-c++ python-docutils libxml2-devel bzip2-devel curl-devel openldap-devel gnutls-devel libicu-devel
yum remove libzip-devel libzip


wget https://github.com/skvadrik/re2c/releases/download/1.1.1/re2c-1.1.1.tar.gz
tar zxvf re2c-1.1.1.tar.gz
cd re2c-1.1.1
./configure --prefix=/opt/SP/re2c --enable-docs


prerequisuites
requires updated cmake and libzip to be downloaded and compiled

 wget https://github.com/Kitware/CMake/releases/download/v3.13.3/cmake-3.13.3.tar.gz
 tar zxvf cmake-3.13.3.tar.gz
 cd cmake-3.13.3
 ./bootstrap
 make
 make DESTDIR=/opt/SP/cmake install

 export PATH="$PATH:/opt/SP/cmake/usr/local/bin/"
 
 wget https://libzip.org/download/libzip-1.5.1.tar.xz
 tar xf libzip-1.5.1.tar.xz
 mkdir build
 cd build
 /opt/SP/cmake/usr/local/bin/cmake ..
 make
 make test
 make install

 add /usr/local/lib/ to /etc/ld.so.conf

run
ldconfig 

wget http://uk1.php.net/get/php-7.3.1.tar.xz/from/this/mirror
tar xf mirror
cd php-7.3.1/
./buildconf --force
./configure --enable-fpm --with-fpm-systemd --with-gd --with-openssl --with-ldap --with-pcre-regex --with-libzip --with-zlib --with-curl --with-gd --enable-mbstring --enable-zip --with-libdir=lib64 --enable-maintainer-zts --with-tsrm-pthreads --prefix=/opt/SP/php-7.3.1



Actual result:
--------------
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
file upload greater than 2G [sapi/cli/tests/upload_2G.phpt]
Fundamental breakpoints functionality [sapi/phpdbg/tests/breakpoints_001.phpt]
Preserve breakpoints on restart [sapi/phpdbg/tests/breakpoints_002.phpt]
Test deleting breakpoints [sapi/phpdbg/tests/breakpoints_003.phpt]
Test opcode breakpoints [sapi/phpdbg/tests/breakpoints_004.phpt]
Test breakpoint into function context [sapi/phpdbg/tests/breakpoints_005.phpt]
Basic function breakpoints [sapi/phpdbg/tests/breakpoints_006.phpt]
Test namespaced and non-lowercase breakpoint names [sapi/phpdbg/tests/breakpoints_008.phpt]
Bug #73704 (phpdbg shows the wrong line in files with shebang) [sapi/phpdbg/tests/bug73704.phpt]
Cleaning must preserve breakpoints [sapi/phpdbg/tests/clean_001.phpt]
Test clearing breakpoints [sapi/phpdbg/tests/clear_001.phpt]
Properly handle exceptions going to be uncaught [sapi/phpdbg/tests/exceptions_001.phpt]
Test exceptions in eval during exception [sapi/phpdbg/tests/exceptions_002.phpt]
Ensure proper saving of EX(opline) [sapi/phpdbg/tests/generator_run.phpt]
include_once must include only once [sapi/phpdbg/tests/include_once.phpt]
Test basic info functionality [sapi/phpdbg/tests/info_001.phpt]
A script with die() must end "normally" [sapi/phpdbg/tests/normal_exit.phpt]
Test phpdbg_break_next() function [sapi/phpdbg/tests/phpdbg_break_next.phpt]
Getting executable lines from custom wrappers [sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.phpt]
Test phpdbg_*_oplog() functions [sapi/phpdbg/tests/phpdbg_oplog_001.phpt]
phpdbg_end_oplog() alone must not crash [sapi/phpdbg/tests/phpdbg_oplog_002.phpt]
Test argv passing [sapi/phpdbg/tests/run_001.phpt]
Stdin and escaped args being passed to run command [sapi/phpdbg/tests/run_002.phpt]
set_exception_handler() in phpdbg [sapi/phpdbg/tests/set_exception_handler.phpt]
Test stdin input with breakpoints [sapi/phpdbg/tests/stdin_001.phpt]
Test simple recursive watchpoint [sapi/phpdbg/tests/watch_001.phpt]
Test simple array watchpoint with replace [sapi/phpdbg/tests/watch_002.phpt]
Test simple watchpoint with replace [sapi/phpdbg/tests/watch_003.phpt]
Test detection of inline string manipulations on zval watch [sapi/phpdbg/tests/watch_004.phpt]
Test proper watch comparisons when having multiple levels of indirection from a zval to its value [sapi/phpdbg/tests/watch_005.phpt]
Test multiple watch elements pointing to the same watchpoint [sapi/phpdbg/tests/watch_006.phpt]
=====================================================================


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-05 15:25 UTC] nikic@php.net
-Status: Open +Status: Feedback
 [2019-02-05 15:25 UTC] nikic@php.net
Can you please provide the diff for one of the phpdbg failures? For example, the sapi/phpdbg/tests/breakpoints_001.diff file.
 [2019-02-05 16:25 UTC] sharif dot uddin1 at vodafone dot com
-Status: Feedback +Status: Open
 [2019-02-05 16:25 UTC] sharif dot uddin1 at vodafone dot com
# cat sapi/phpdbg/tests/breakpoints_001.diff
015+
015- prompt>
016+ Termsig=11
 [2019-02-05 18:00 UTC] cmb@php.net
-Package: Compile Failure +Package: Testing related
 [2019-02-06 09:26 UTC] sharif dot uddin1 at vodafone dot com
@cmb@php.net i don't understand. is this normal. can i carry on with the install like this?
 [2020-09-23 15:55 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-09-23 15:55 UTC] cmb@php.net
> can i carry on with the install like this?

Almost all test failures are related to phpdbg, and since
sapi/phpdbg/tests/breakpoints_001.phpt obviously segfaults, I
assume at least some other phpdbg tests do this as well. If you
need phpdbg, you probably can't really use it; php is apparently
okay.

Anyhow, I'm closing this ticket now, because it is not actionable.
We would need backtraces[1] for segfaulting PHPTs, and PHP 5.6 has
reached EOL long ago[2].

[1] <https://bugs.php.net/bugs-generating-backtrace.php>
[2] <https://www.php.net/supported-versions.php>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC