Open GoogleCodeExporter opened 9 years ago
Original comment by flier...@gmail.com
on 13 Oct 2011 at 3:55
Sorry, but I can't reproduce your crash, could you reproduce your issue with a
clean build of V8 and PyV8, what is your CPU, OS, Python and boost version?
Thanks
Original comment by flier...@gmail.com
on 20 Oct 2011 at 2:48
I'm having the same problem, though peculiarly it doesn't happen if I run each
test together.
Results below.
~/pyv8# python PyV8.py -v TestMultithread
2012-01-28 20:21:16,793 INFO testing PyV8 module 1.0 with V8 v3.8.9
testLocker (__main__.TestMultithread) ... ok
testMultiJavascriptThread (__main__.TestMultithread) ... ok
testMultiPythonThread (__main__.TestMultithread) ... ok
----------------------------------------------------------------------
Ran 3 tests in 2.011s
OK
~/pyv8# python PyV8.py -v TestMultithread.testMultiPythonThread
2012-01-28 20:21:24,332 INFO testing PyV8 module 1.0 with V8 v3.8.9
testMultiPythonThread (__main__.TestMultithread) ... Segmentation fault
I'm running 2.6.39.1, i686
Original comment by partyona...@gmail.com
on 29 Jan 2012 at 1:39
Thanks, it seems the test case depend on some situation, I will fix it later.
Original comment by flier...@gmail.com
on 29 Jan 2012 at 3:34
It seems caused by google v8 that changed API implementation, added some notes
In addition to any other synchronization mechanism that may be used, the v8::Locker and v8::Unlocker classes must be used to signal thead switches to V8.
Original comment by flier...@gmail.com
on 31 Jan 2012 at 8:21
Hello,
I've built an example that can consistently crash in both Windows and Linux.
I'm wondering - should we be using Locker and Unlocker directly, or is that in
the PyV8 code?
Thanks!
Original comment by partyona...@gmail.com
on 31 Jan 2012 at 8:23
Attachments:
Hello,
Do you have the revision information on the updated Google V8 API? I can try
and fix it.
Thanks!
Original comment by partyona...@gmail.com
on 21 Feb 2012 at 9:33
The same bug too:
$ python PyV8.py -v TestMultithread.testLocker
TestMultithread.testMultiPythonThread
2013-01-16 06:59:46,287 INFO testing PyV8 module 1.0 with V8 v3.15.11.2
testLocker (__main__.TestMultithread) ... ok
testMultiPythonThread (__main__.TestMultithread) ... ok
$ python PyV8.py -v TestMultithread.testMultiPythonThread
TestMultithread.testLocker
2013-01-16 06:59:49,995 INFO testing PyV8 module 1.0 with V8 v3.15.11.2
testMultiPythonThread (__main__.TestMultithread) ... Segmentation fault
Ubuntu Precise x86_64, python2.7, PyV8 458, v8 13261
Original comment by e.generalov
on 16 Jan 2013 at 3:06
Original issue reported on code.google.com by
dim...@gmail.com
on 12 Oct 2011 at 2:05