We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there! Big props for supporting V8js on Heroku through custom packages! I've created the most basic setup I could think of;
$context = <<<JS // ... JS; $snapshot = V8Js::createSnapshot($context); $v8 = new V8Js('Laravel', [], [], true, $snapshot);
The snapshot can be created on Heroku as expected, but somehow passing the $snapshot the V8JS instance throws some weird C error;
2018-03-16T12:06:55.612582+00:00 app[web.1]: Received signal 2018-03-16T12:06:55.612922+00:00 app[web.1]: 11 2018-03-16T12:06:55.613237+00:00 app[web.1]: <unknown> 2018-03-16T12:06:55.613547+00:00 app[web.1]: 000000000000 2018-03-16T12:06:55.613830+00:00 app[web.1]: 2018-03-16T12:06:55.614239+00:00 app[web.1]: 2018-03-16T12:06:55.614615+00:00 app[web.1]: ==== C stack trace =============================== 2018-03-16T12:06:55.614898+00:00 app[web.1]: 2018-03-16T12:06:55.615158+00:00 app[web.1]: [ 2018-03-16T12:06:55.615450+00:00 app[web.1]: 0x 2018-03-16T12:06:55.615761+00:00 app[web.1]: 7f02f1c24da5 2018-03-16T12:06:55.616018+00:00 app[web.1]: ] 2018-03-16T12:06:55.616306+00:00 app[web.1]: [ 2018-03-16T12:06:55.616561+00:00 app[web.1]: 0x 2018-03-16T12:06:55.616868+00:00 app[web.1]: 7f02ef6264b0 2018-03-16T12:06:55.617147+00:00 app[web.1]: ] 2018-03-16T12:06:55.617404+00:00 app[web.1]: [ 2018-03-16T12:06:55.617694+00:00 app[web.1]: 0x 2018-03-16T12:06:55.617981+00:00 app[web.1]: 7f02e7c213e4 2018-03-16T12:06:55.618908+00:00 app[web.1]: ] 2018-03-16T12:06:55.619221+00:00 app[web.1]: [ 2018-03-16T12:06:55.619480+00:00 app[web.1]: 0x 2018-03-16T12:06:55.619787+00:00 app[web.1]: 7f02e7c0bab8 2018-03-16T12:06:55.620072+00:00 app[web.1]: ] 2018-03-16T12:06:55.620326+00:00 app[web.1]: [ 2018-03-16T12:06:55.620614+00:00 app[web.1]: 0x 2018-03-16T12:06:55.620959+00:00 app[web.1]: 7f02e7c0ca0d 2018-03-16T12:06:55.621214+00:00 app[web.1]: ] 2018-03-16T12:06:55.621505+00:00 app[web.1]: [ 2018-03-16T12:06:55.621800+00:00 app[web.1]: 0x 2018-03-16T12:06:55.622074+00:00 app[web.1]: 7f02e7c0c90d 2018-03-16T12:06:55.622328+00:00 app[web.1]: ] 2018-03-16T12:06:55.622583+00:00 app[web.1]: [ 2018-03-16T12:06:55.622802+00:00 app[web.1]: 0x 2018-03-16T12:06:55.623089+00:00 app[web.1]: 7f02e7c14f2b 2018-03-16T12:06:55.623321+00:00 app[web.1]: ] 2018-03-16T12:06:55.623538+00:00 app[web.1]: [ 2018-03-16T12:06:55.623792+00:00 app[web.1]: 0x 2018-03-16T12:06:55.624025+00:00 app[web.1]: 7f02e76703ef 2018-03-16T12:06:55.624240+00:00 app[web.1]: ] 2018-03-16T12:06:55.624456+00:00 app[web.1] : [ 2018-03-16T12:06:55.624675+00:00 app[web.1]: 0x 2018-03-16T12:06:55.624910+00:00 app[web.1]: 7f02e7652577 2018-03-16T12:06:55.625147+00:00 app[web.1]: ] 2018-03-16T12:06:55.625353+00:00 app[web.1]: [ 2018-03-16T12:06:55.625558+00:00 app[web.1]: 0x 2018-03-16T12:06:55.625779+00:00 app[web.1]: 7f02e7607474 2018-03-16T12:06:55.625987+00:00 app[web.1]: ] 2018-03-16T12:06:55.626192+00:00 app[web.1]: [ 2018-03-16T12:06:55.626398+00:00 app[web.1]: 0x 2018-03-16T12:06:55.626619+00:00 app[web.1]: 7f02e75e8100 2018-03-16T12:06:55.626843+00:00 app[web.1]: ] 2018-03-16T12:06:55.627097+00:00 app[web.1]: [ 2018-03-16T12:06:55.627303+00:00 app[web.1]: 0x 2018-03-16T12:06:55.627519+00:00 app[web.1]: 7f02e7ddbbda 2018-03-16T12:06:55.627763+00:00 app[web.1]: ] 2018-03-16T12:06:55.627988+00:00 app[web.1]: [ 2018-03-16T12:06:55.628345+00:00 app[web.1]: 0x0000007c03b6] 2018-03-16T12:06:55.628539+00:00 app[web.1]: [0x0000007c167e] 2018-03-16T12:06:55.628702+00:00 app[web.1]: [0x000000710043] 2018-03-16T12:06:55.628860+00:00 app[web.1]: [0x0000006ab670] 2018-03-16T12:06:55.629009+00:00 app[web.1]: [0x0000004383b9] 2018-03-16T12:06:55.629157+00:00 app[web.1]: [0x7f02ef611830] 2018-03-16T12:06:55.629305+00:00 app[web.1]: [0x0000004391e9] 2018-03-16T12:06:55.629458+00:00 app[web.1]: [end of stack trace] 2018-03-16T12:06:55.635279+00:00 app[web.1]: 2018/03/16 12:06:55 [error] 114#0: *3 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.36.232.151, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/heroku.fcgi.48488.sock:"
The code and snapshotting works as expected when running locally and I've tried it on both php 7.1 and 7.2.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there! Big props for supporting V8js on Heroku through custom packages! I've created the most basic setup I could think of;
The snapshot can be created on Heroku as expected, but somehow passing the $snapshot the V8JS instance throws some weird C error;
The code and snapshotting works as expected when running locally and I've tried it on both php 7.1 and 7.2.
The text was updated successfully, but these errors were encountered: