phpv8 / v8js

V8 Javascript Engine for PHP — This PHP extension embeds the Google V8 Javascript Engine
http://pecl.php.net/package/v8js
MIT License
1.84k stars 200 forks source link

Windows - "Failed to deserialize the V8 snapshot blob" #423

Closed amiga-500 closed 5 years ago

amiga-500 commented 5 years ago

Trying to install this extension on Windows. I have the dll via https://www.apachelounge.com/viewtopic.php?t=6359 -- using v7.3.8 (nts-Win32-VC15-x64).

After adding to my php.ini: extension=v8js and run a test program with just the line: $v8 = new V8Js(); I get this error:

#
# Fatal error in , line 0
# Failed to deserialize the V8 snapshot blob. This can mean that the snapshot blob file is corrupted or missing.
#
#
#
#FailureMessage Object: 000000000413B6C8
==== C stack trace ===============================

        v8::base::debug::StackTrace::StackTrace [0x000007FEF1B8F7BB+27]
        v8::platform::DefaultPlatform::GetStackTracePrinter [0x000007FEF69D3788+56]
        V8_Fatal [0x000007FEF1B87AC2+210]
        v8::Isolate::Initialize [0x000007FED6A5DEE4+468]
        v8::Isolate::New [0x000007FED6A5DF3E+30]
        (No symbol) [0x000007FEF70929A4]
        (No symbol) [0x000007FEF1C45909]
        ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER [0x000007FEE36A020F+399] (n:\php-sdk\php73dev\zend\zend_vm_execute.h:994)
        execute_ex [0x000007FEE369D62F+79] (n:\php-sdk\php73dev\zend\zend_vm_execute.h:55334)
        (No symbol) [0x000007FEF1C45540]
        zend_execute [0x000007FEE369D574+340] (n:\php-sdk\php73dev\zend\zend_vm_execute.h:60882)
        zend_execute_scripts [0x000007FEE36621D7+151] (n:\php-sdk\php73dev\zend\zend.c:1569)
        php_execute_script [0x000007FEE3739AE9+953] (n:\php-sdk\php73dev\main\main.c:2634)
        do_cli [0x000000013FA02FF9+2553] (n:\php-sdk\php73dev\sapi\cli\php_cli.c:998)
        main [0x000000013FA01F14+1668] (n:\php-sdk\php73dev\sapi\cli\php_cli.c:1389)
        __scrt_common_main_seh [0x000000013FA0B8B8+268] (d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
        BaseThreadInitThunk [0x0000000077A3556D+13]
        RtlUserThreadStart [0x0000000077B9385D+29]