Sounds like a bug to me. I opened https://crbug.com/v8/6774 for you, please feel free to CC yourself there.
Also, a repro would be very helpful if you could provide one. Thanks! Jakob On Thu, Aug 31, 2017 at 3:12 AM, 'Kenton Varda' via v8-users < v8-users@googlegroups.com> wrote: > Hi v8-users, > > I have an application in which I use TerminateExecution() from another > thread to kill off scripts that run for too long. > > Normally this works great, but when I have a v8 inspector session > attached, it seems very unhappy with this situation. In particular, the > process commonly aborts with: > > # > # Fatal error in ../../src/builtins/builtins-console.cc, line 53 > # Check failed: !isolate->has_scheduled_exception(). > # > > It looks like the first console.log() after the inspector connects can in > fact take tens of milliseconds (at least in debug mode), frequently > triggering timeouts. > > This is unfortunate as it makes it pretty easy for a malicious script to > take down the process -- something that my TerminateExecution() was > explicitly trying to defend against. > > Is this: > a) A bug in the inspector? > b) An unsupported use case? > c) Me doing something wrong in my setup? > > Thanks, > -Kenton > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Jakob Gruber Software Engineer jgru...@google.com Google Germany GmbH Erika-Mann-Straße 33 80636 München Geschäftsführer: Paul Manicle, Halimah DeLaine Prado Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.