|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65473 Segmentation faults with Objects
Submitted: 2013-08-18 18:48 UTC Modified: 2015-03-13 14:59 UTC
From: Stefan at Weinzierl-Stefan dot de Assigned: stesie (profile)
Status: Closed Package: v8js (PECL)
PHP Version: Irrelevant OS: Debian
Private report: No CVE-ID: None
 [2013-08-18 18:48 UTC] Stefan at Weinzierl-Stefan dot de
Any function which returns a object into the JavaScript-Context generates a segmentation fault, if a method of this object is called.

Test script:
class Test {
  public function m1() {
    echo "Test\n";

var a=PHP.func();

$v8=new V8Js();
$v8->func=function() { return new Test(); };


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-20 22:08 UTC] stesie at brokenpipe dot de
It's been a while since you've reported this issue.  But I'm now going over all the issues that piled up at ...

I've tried your code with recent v8js master branch (from and it works fine.  No more crashing.

Generally the 0.1.5 release is rather outdated, so please use master branch from github if you're still interested.  A lot of effort has been put into v8js recently, so it's far more stable compared to a year ago

 [2015-03-13 14:59 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: stesie
 [2015-03-13 14:59 UTC]
No feedback, closing now.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 05:01:34 2024 UTC