You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem exists at least since PHP 8.2.0-rc1. Production versions such as PHP 8.1.11 are working as expected. I am using Debian 10 with the packages provided by https://deb.sury.org running in a VirtualBox machine.
I built the same environment but was unable to reproduce the issue, always successful copies. Is it possible to get a bit more context or a minimum reproducer ?
Thanks. It might have to do with the copy optimisation introduced couple of months ago and we re running a kernel version pre-5.3. Indeed, when I boot with the other buster kernel image 5.10, the copy seems to work.
@devnexen Added few comments on one of the commits - not sure if it's visible. Maybe just do a PR. It seems reasonable to me to do this check if it doesn't work well before 5.3 kernel.
Activity
devnexen commentedon Oct 1, 2022
I built the same environment but was unable to reproduce the issue, always successful copies. Is it possible to get a bit more context or a minimum reproducer ?
pesselbach commentedon Oct 2, 2022
I did further testing. This only happens if the target directory is in a VirtualBox shared folder.
devnexen commentedon Oct 2, 2022
Thanks. It might have to do with the copy optimisation introduced couple of months ago and we re running a kernel version pre-5.3. Indeed, when I boot with the other buster kernel image 5.10, the copy seems to work.
devnexen commentedon Oct 2, 2022
@pesselbach you can try the aforementioned PR branch, the copy worked again on the base 4.19 kernel image with this change.
bukka commentedon Oct 6, 2022
@devnexen Added few comments on one of the commits - not sure if it's visible. Maybe just do a PR. It seems reasonable to me to do this check if it doesn't work well before 5.3 kernel.
devnexen commentedon Oct 6, 2022
PR is there ;-) but yes I did see your comments thx
Fix phpGH-9653: does not inconditionally support copy_file_range on o…