fengzhao / fengzhao/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 Sublime Text 2 crash log and the reported OSX sequence: typing in the editor while frequently accessing the JavaScript context and populating an array. Reproduce the crash if possible, then identify its cause and verify that the same interaction no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, macos, python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.