Edit report at https://bugs.php.net/bug.php?id=79646&edit=1
ID: 79646
Comment by: enumag at gmail dot com
Reported by: enumag at gmail dot com
Summary: Segmentation fault in garbage collector
Status: Open
Type: Bug
Package: Scripting Engine problem
Operating System: Alpine
PHP Version: 7.4.7
Block user comment: N
Private report: N
New Comment:
What's needed in order to get this problem fixed?
Previous Comments:
------------------------------------------------------------------------
[2020-06-23 13:01:18] enumag at gmail dot com
Any news on this one @nikic?
------------------------------------------------------------------------
[2020-06-15 12:57:15] enumag at gmail dot com
@nikic Alright, here is another log with no error limit:
https://gist.github.com/enumag/a5bbfbb0cfe606b77148e8b83dfd4d41
------------------------------------------------------------------------
[2020-06-15 12:43:32] nikic@php.net
@enumag: Thanks! From the new trace it seems clear that those "Invalid read of size 16"
are false positives. They are probably caused by a vectorized implementation of some string function
intentionally reading past the end of strings in a way that it knows is safe.
Unfortunately that also means that the trace ends before it gets to anything useful. Valgrind
suggests using --error-limit=no to avoid that.
------------------------------------------------------------------------
[2020-06-15 12:31:31] enumag at gmail dot com
The command I used this time:
USE_ZEND_ALLOC=0 valgrind --tool=memcheck --num-callers=30 --log-file=valgrind.txt
--suppressions=php.supp php vendor/bin/phpunit
------------------------------------------------------------------------
[2020-06-15 12:30:45] enumag at gmail dot com
@nikic Check this one please.
https://gist.github.com/enumag/329cbe88c5e77c5cc5be74aafa330ba8
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=79646
--
Edit this bug report at https://bugs.php.net/bug.php?id=79646&edit=1