Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS_InhibitGC called while inhibited #1793

Closed
Ms2ger opened this issue Mar 3, 2014 · 2 comments
Closed

JS_InhibitGC called while inhibited #1793

Ms2ger opened this issue Mar 3, 2014 · 2 comments

Comments

@Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Mar 3, 2014

The following code dies in JS_InhibitGC because the GC is already inhibited. CC @jdm.

<script>window.addEventListener("load", function() { document.firstChild })</script>
@kmcallister
Copy link
Contributor

@kmcallister kmcallister commented Mar 3, 2014

I also get this on src/test/ref/simple_iframe.html. The error message is

Assertion failure: !cx->runtime->gcInhibit, at /home/keegan/proj/servo/servo/src/support/spidermonkey/mozjs/js/src/jsapi.cpp:7170
@Smileforme19
Copy link

@Smileforme19 Smileforme19 commented Mar 3, 2014

вторник, 4 марта 2014 г. пользователь Киган Макалистер написал:

Я также получить на SRC / тест / ссылка / simple_iframe. HTML . Сообщение
об ошибке

Отказ Утверждение: CX-> во время выполнения-> gcInhibit, в / главная / Киган / проек / серво / серво / SRC / поддержка / SpiderMonkey / mozjs / JS / SRC / jsapi.cpp: 7170

Ответ на это письмо прямо или просмотреть его на GitHubhttps://github.com//issues/1793#issuecomment-36575936.

может объясните хоть что то

Ms2ger added a commit to servo/mozjs that referenced this issue Jan 2, 2015
…an, to allow nested inhibitions (fixes servo/servo#1793)."

This reverts commit 56632f1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.