1. Are you ready for the Galaxy S20? Here is everything we know so far!

Address Sanitizer on Non Native Project

Discussion in 'Android Development' started by Blastom, Mar 18, 2020.

  1. Blastom

    Blastom Lurker
    Thread Starter

    Currently, I have an Unity Android Project with a weird random signal 11 crash.
    The backtrace pointed to a jni lib called libulua.so. But I don't have the source code of it and it has no symbol map in it. So addr2line cannot help here.

    So I want to find a way to monitor the memory problems. I'm trying to grab info about Address Sanitizer, but what I found told me that it only works on native code build - build by combining .so libs and java codes doesn't count.
    Is it possible to use Address Sanitizer to monitor a jni lib in Android java project? If so, is there any tutorial or wiki to tell me how to do it?

    Or is there any other way to solve my problem?
     


Loading...

Share This Page

Loading...