stesie / docker-v8js

Dockerfile for V8Js PHP extension
MIT License
24 stars 7 forks source link

Version mismatch between V8 binary and snapshot #3

Closed janis-mueller closed 2 years ago

janis-mueller commented 2 years ago

Hello, I have an issue related to v8, now it is unrelated to your docker image but since I have seen you being active in the space I thought you may be able to help

My setup is the following: Debian 11 php7.2-fpm v8 version 10.0.1 v8js checkout 6a7753a43a0840eb28cc2cea1bf92331f633b3eb

php-fpm error log (v8 error messages): https://pastebin.com/bHnqudYL

Would highly appreciate any help!!

Most imporant part seems to be:

[12-May-2022 15:43:43.242491] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [pool ***] child 20744 said into stderr: "# Fatal error in , line 0"
[12-May-2022 15:43:43.242494] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [pool ***] child 20744 said into stderr: "# Version mismatch between V8 binary and snapshot."
[12-May-2022 15:43:43.242498] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [pool ***] child 20744 said into stderr: "#   V8 binary version: 10.0.1"
[12-May-2022 15:43:43.242501] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [pool ***] child 20744 said into stderr: "#    Snapshot version: 0 (candidate)"
[12-May-2022 15:43:43.242504] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [***] child 20744 said into stderr: "# The snapshot consists of 10942900 bytes and contains 1 context(s)."
[12-May-2022 15:43:43.242508] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [pool ***] child 20744 said into stderr: "#"
[12-May-2022 15:43:43.242511] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [pool ***] child 20744 said into stderr: "#"
[12-May-2022 15:43:43.242514] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [pool ***] child 20744 said into stderr: "#"
[12-May-2022 15:43:43.242517] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [pool ***] child 20744 said into stderr: "#FailureMessage Object: 0x7ffebdd5b400"
[12-May-2022 15:43:43.242521] DEBUG: pid 20650, fpm_event_loop(), line 423: event module triggered 1 events
[12-May-2022 15:43:43.242593] WARNING: pid 20650, fpm_stdio_child_said(), line 189: [pool ***] child 20744 said into stderr: ""

Edit: Closed the issue and solved using v8 v.8.9.255.20