|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
39 + 6 = ?
Subscribe to this entry?

 [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: Sun Jun 23 05:01:28 2024 UTC