krakjoe / pcov

PCOV - CodeCoverage compatible driver for PHP
Other
696 stars 28 forks source link

Pcov crashes with PHP 8.2 #92

Closed shyim closed 8 months ago

shyim commented 2 years ago
Process 88175 launched: '/opt/homebrew/bin/php' (arm64)
PHPUnit 9.5.21 #StandWithUkraine

Random Seed:   1659429554

Testing Shopware\Tests\Unit\Core\Framework\Validation\DataBag\DataBagTest
Process 88175 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x1100000024)
    frame #0: 0x0000000100f1f7b4 pcov.so`php_pcov_discover_code + 172
pcov.so`php_pcov_discover_code:
->  0x100f1f7b4 <+172>: ldrb   w8, [x22, #0x1c]
    0x100f1f7b8 <+176>: sub    w9, w8, #0x7f
    0x100f1f7bc <+180>: cmp    w9, #0x29
    0x100f1f7c0 <+184>: lsl    x9, x25, x9
Target 0: (php) stopped.
PHP 8.2.0-dev (cli) (built: Aug  2 2022 00:23:38) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.0-dev, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.0-dev, Copyright (c), by Zend Technologies