Re: [v8-users] Handle infinite JS recursion

2021-02-11 Thread Ben Noordhuis
On Thu, Feb 11, 2021 at 12:15 PM 'Vinayaka Kamath' via v8-users wrote: > > Ben, the Call() is inside a TryCatch, but seems like the call is not > returning and just crashing even before the function Call is returning. V8 makes an educated guess on how much real stack space is available. It's pos

Re: [v8-users] Handle infinite JS recursion

2021-02-11 Thread 'Vinayaka Kamath' via v8-users
Ben, the Call() is inside a TryCatch, but seems like the call is not returning and just crashing even before the function Call is returning. On Thursday, February 11, 2021 at 4:01:56 PM UTC+5:30 Ben Noordhuis wrote: > On Thu, Feb 11, 2021 at 9:14 AM 'Vinayaka Kamath' via v8-users > wrote: > > >

Re: [v8-users] Handle infinite JS recursion

2021-02-11 Thread Ben Noordhuis
On Thu, Feb 11, 2021 at 9:14 AM 'Vinayaka Kamath' via v8-users wrote: > > Hello All, > > I am trying to run a simple function which will hit recursion limit. > > function foo(a) { > return foo(a); > } > > This is simple crashing the v8. I tried using both > isolate->SetFatalErrorHandler(fatal_erro