marylinh / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

AST toJSON Segmentation Fault #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Really don't know if this bug is due to PyV8 or to V8. 

While playing with AST I realized that if I try using the method toJSON this way

def onProgram(self, prog):
    self.prog = prog.toJSON()

all I get is a segmentation fault. I tried starting from a fresh checkout of 
both V8
and PyV8 but without success. 

Following details about the machine the code is running on.

buffer@alnitak ~ $ uname -a
Linux alnitak 2.6.38-gentoo-r2 #3 SMP PREEMPT Tue Apr 19 19:38:00 CEST 2011 
x86_64 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux

Original issue reported on code.google.com by angelo.d...@gmail.com on 29 Apr 2011 at 5:58

GoogleCodeExporter commented 9 years ago

Original comment by flier...@gmail.com on 4 May 2011 at 5:54

GoogleCodeExporter commented 9 years ago
Fixed, please verify it with SVN trunk after r373, it caused by a invalid NULL 
pointer :(

Original comment by flier...@gmail.com on 10 Jun 2011 at 9:32

GoogleCodeExporter commented 9 years ago
I can confirm that everything works fine now. Thanks.

Original comment by angelo.d...@gmail.com on 10 Jun 2011 at 9:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks :)

Original comment by flier...@gmail.com on 10 Jun 2011 at 10:42