Getting error message callback with StartPosition-1, ErrorLevel: 8

19 views
Skip to first unread message

Pankaj Chhabra

unread,
Jun 5, 2023, 9:09:09 PM6/5/23
to v8-users
My Javascript code creates an instance of a class with myClass = new MyClass; I call a method myMethod in V8 C++. Javascript code methods get called from V8 C++ methods only.

After running for a few hours, I start getting the error Message call Back Handler. The V8 code is able to locate the instance of the class and method. But when the call is made, errorMessage Call back gets called by V8 with an error
StartPosition-1
ErrorLevel: 8
GetScriptResourceName: undefined
Could you please tell me if this is happening due to Garbage Cleaner cleaning the objects from the heap? . If yes, please tell if pinning the object and method with Persistent handles will resolve the issue.
Reply all
Reply to author
Forward
0 new messages