[php-src] Issue #12527: JIT composer segfault when requiring phpoffice/phpspreadsheet
| From: | danog | Date: | Thu, 26 Oct 2023 12:10:11 +0000 |
| Subject: | [php-src] Issue #12527: JIT composer segfault when requiring phpoffice/phpspreadsheet | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245654@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/12527
Author: danog
### Description
Seems to be different from the stack overflow issue.
Reproducer 9 at https://github.com/danog/jit_bugs
```
[daniil@arch-lenovo jit_bugs]$ bugs/9_composer.sh
About to run composer
Executing for the first time...
Composer is operating significantly slower than normal because you do not have the PHP curl
extension enabled.
Loading composer repositories with package information
Updating dependencies
AddressSanitizer:DEADLYSIGNAL
=================================================================
==1==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x7f2c3178d82f bp 0x000000000001 sp
0x7ffe5fd57660 T0)
==1==The signal is caused by a READ memory access.
==1==Hint: this fault was caused by a dereference of a high value address (see register values
below). Disassemble the provided pc to learn which register was used.
LLVMSymbolizer: error reading file: No such file or directory
#0 0x7f2c3178d82f (/dev/zero (deleted)+0x10033a82f)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/dev/zero (deleted)+0x10033a82f)
```
### PHP Version
master @ b7bf5e5706e19da166be87a7782273ed269f1343, PHP-8.2
### Operating System
_No response_