guyskk / guyskk/pyv8

PyV8 crashes in some circumstances

Open
#166 2 comments 0 reactions 0 assignees View on GitHub
auto-migrated OpSys-All Priority-Medium Type-Defect
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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:
- [Sublime Text 2_2013-03-11-092254_Andres-MacBook-Air.crash](https://storage.googleapis.com/google-code-attachments/pyv8/issue-166/comment-0/Sublime Text 2_2013-03-11-092254_Andres-MacBook-Air.crash)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the attached OSX crash log and the reported sequence of accessing the JavaScript context while populating an array. Compare those details with PyV8's relevant runtime behavior; done means the crash has a documented cause and a verified resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, macos, python
Domain
backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.