Re: [v8-users] v8 crash with weak handles.

2017-07-13 Thread Jane Chen
Ben, I'm not using object groups, just having weak handles in several isolates. Calling LowMemoryNotification to force deep GC avoids the crash. I haven't tried with latest v8 release. Maybe I keep a count of the weak handles in my code. Jane On Thursday, July 13, 2017 at 12:59:13 PM UTC-7,

Re: [v8-users] Is it safe to consume v8::Private methods?

2017-07-13 Thread Gautham B A
No, .ToLocalChecked() is called by my code, not from V8. I would like to know if the APIs under v8::Private namespace has been battle tested. On Wednesday, 12 July 2017 14:53:57 UTC+5:30, Ben Noordhuis wrote: > > On Wed, Jul 12, 2017 at 11:15 AM, Gautham B A > > wrote: > > I've observed that t

Re: [v8-users] v8 crash with weak handles.

2017-07-13 Thread Ben Noordhuis
On Thu, Jul 13, 2017 at 12:40 AM, Jane Chen wrote: > Embedding v8 5.3. > > Seeing a crash if I have weak handles in many isolates: > > Thread [51] 27257 [core: 6] (Suspended : Signal : SIGILL:Illegal > instruction) > v8::base::OS::Abort() at platform-posix.cc:240 0x75f078a1 > V8_Fatal() at l