V8 Crash

149 views
Skip to first unread message

Austin Einter

unread,
Jun 29, 2019, 11:27:43 AM6/29/19
to v8-u...@googlegroups.com
Dear All
I am trying run a javascript available at https://webrtc.github.io/adapter/adapter-latest.js using V8. It is crashing with back trace as below.

#0  0x00007fe928fa5022 in v8::base::OS::Abort()
#1  0x00007fe9288c9b07 in v8::V8::ToLocalEmpty()
#2  0x00007fe9288c2a7b in v8::MaybeLocal<v8::Value>::ToLocalChecked (this=<optimized out>)

Did anybody got this crash previously? I can share the code to reproduce the crash.

Thanks
Austin

Jakob Kummerow

unread,
Jul 1, 2019, 10:37:36 AM7/1/19
to v8-users
The crash means you called .ToLocalChecked() on an empty MaybeLocal. If you run a Debug build, you should get line numbers, so you can find out where in your source code that is.

That said, https://webrtc.github.io/adapter/adapter-latest.js looks like it's designed to run in a browser; if that's indeed the case then V8 alone will not be enough.


--
--
v8-users mailing list
v8-u...@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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CANXt1k9hq6ummLmi6viU8ewkjiPRpbdGwXhp%3DtOKMLZbG-yemg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Austin Einter

unread,
Jul 1, 2019, 11:08:46 AM7/1/19
to v8-u...@googlegroups.com
Thanks Jakob
I have realised this. I am now trying integrate chromium headless to my c application.
Thanks
-Austin


Reply all
Reply to author
Forward
0 new messages