Ask questionsAndroid, liquidcore-V8 native crashes on production


I just released my app to Google Play and I'm beginning to see the crashes like this (I know that's a very little info, but that's literally all I see in crash reports in Google Play dev console):

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> <<<

  #00  pc 0000000000f0a828  /data/app/ (v8::base::OS::Abort()+24)

I'm using V8 API, roughly in the following manner:

    val jsContext = JSContext()

    val jsEnv ="jsEnv").toObject()
    val eventHandler ="handleEvent").toFunction()

    for (event in eventsChannel) {
            .call(null, JSValue(jsContext, event.toJsonValue()))
            .foreach { someCallback(it) }

The code above is running in a coroutine confined to a single thread.

I'm using v0.7.2, but from what I see in the release history there were no recent changes that would be addressing similar issues.

Let me know if there's any missing information I can provide to make investigating this issue easier.


Answer questions ericwlange

These are sporadic failures, as in you can't reproduce them in your tests?

That's going to be tough to debug without more information. Do you see any other similarities with the crashes? Were the processes running for a short or long time? Does it seem to be device or arch related?


Related questions

No questions were found.
Eric Lange ericwlange Joonko Berlin, Germany CTO/CPO @ Former CPO @ Delivery Hero AG; product at Google, Yahoo, Flipkart, Microsoft, et al
Github User Rank List