You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as the title might sound a bit confusing, please see the following example for the issue I am having:
val runtime = V8.createV8Runtime()
try {
runtime.executeVoidScript("var test = { get number(){return nonexistantVariable;}};")
val test = runtime.getObject("test")
for (key in test.keys) {
Log.d("TESTAPP", "Test: ${test.get(key)}")
}
} catch(e: Exception) {
Log.e("TESTAPP", e.toString())
}
Executing this example, SIGTRAP will be thrown when the code is trying to access "number". It runs fine when replacing nonexistantVariable with an actual number.
Is there any way to avoid this crash in a logic that works this way?
Hello everyone,
as the title might sound a bit confusing, please see the following example for the issue I am having:
Executing this example, SIGTRAP will be thrown when the code is trying to access "number". It runs fine when replacing nonexistantVariable with an actual number.
Is there any way to avoid this crash in a logic that works this way?
Tested with: 6.2.1, 6.1.0
Full error below:
The text was updated successfully, but these errors were encountered: