Bug #81408 [NEW]: watchpoints don't work on powerpc64le-linux
| From: | bauermann at kolabnow dot com | Date: | Thu, 02 Sep 2021 04:45:17 +0000 |
| Subject: | Bug #81408 [NEW]: watchpoints don't work on powerpc64le-linux | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-236370@lists.php.net to get a copy of this message | ||
From: bauermann at kolabnow dot com
Operating system: Guix Linux
PHP version: 7.4.23
Package: phpdbg
Bug Type: Bug
Bug description:watchpoints don't work on powerpc64le-linux
Description:
------------
As part of building the php package, Guix runs the testsuite.
The following tests fail on powerpc64le-linux:
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test simple recursive watchpoint [sapi/phpdbg/tests/watch_001.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]
=====================================================================
I'll see if I can upload the test report and individual test logs for
more information.
From looking at the logs, it looks like watchpoints don't work on this
platform.
From a very cursory look at phpdbg_watch.c, it seems that it is
sensitive to the page size, which on powerpc64le-linux is 64KB. This may
be a shot in the dark, but perhaps the problem is related to this?
The kernel version is 5.10.0-0.bpo.8-powerpc64le (Debian's buster
kernel).
Expected result:
----------------
All watchpoint tests pass.
Actual result:
--------------
The tests mentioned in the description are failing.
--
Edit bug report at https://bugs.php.net/bug.php?id=81408&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81408&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81408&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81408&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81408&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81408&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81408&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81408&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81408&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81408&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81408&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81408&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81408&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81408&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81408&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81408&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81408&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81408&r=mysqlcfg