[quickjs-devel] Re: stackoverflow

  • From: Alexander Rodin <rodin.alexander@xxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Tue, 13 Aug 2019 12:13:21 +0300

Hi Huib-Jan,

When I call JS_Eval from different places in my C code I often get a 
stackoverflow exception. This happens when __builtin_frame_address returns a 
higher address than it returned when the JSContext was created. Am I doing 
something wrong?


I’ve encountered this issue too. Please look at 
https://www.freelists.org/post/quickjs-devel/Stack-overflow-exception-caused-by-signed-to-unsigned-integer-conversion
 
<https://www.freelists.org/post/quickjs-devel/Stack-overflow-exception-caused-by-signed-to-unsigned-integer-conversion>
 for the patch.

Best regards,
Alexander

Other related posts: