gurobokum / pyv8

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

PyV8 crashes in some circumstances #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have a few reports about crashes of PyV8 on OSX in my Emmet plugin for 
Sublime Text. The problem is that I’m on OSX too and I can’t reproduce this 
bug (as well as thousands of other users).

I’ve attached a sample crash log.

Here are symptoms:
1. User starts editor
2. User tries to type something in editor. In this case, there might be 
frequent access to JS context (to get a list of code completions)
3. App crashes

On step 2, the only thing I do is just an array population, which might be a 
bit CPU intensive. No explicit GC invocation.

Do you have any idea what’s happening here?

Original issue reported on code.google.com by serge....@gmail.com on 11 Mar 2013 at 1:08

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by flier...@gmail.com on 13 Mar 2013 at 3:31

GoogleCodeExporter commented 9 years ago
I was able to reproduce this crash: it happens every time I’m trying to load 
and parse (with http://marijnhaverbeke.nl/acorn/) many JS files. Looks like it 
happens every time automatic garbage collector is invoked.

Original comment by serge....@gmail.com on 25 Mar 2013 at 5:12