Open RyanWarwick opened 3 years ago
Hi @RyanWarwick,
There's not much I can do with this. I don't see a callstack, so not sure how you know this is in createOffer()
. Looking at this, I can't tell if it's in MixedReality-WebRTC or your own code. Could you try to get us more info please? A callstack at least would be great to confirm exactly where the crash happens.
I am currently trying to get a full output log from my developer's end. In the meantime upon further digging, the null pointer dereference seems to have been triggered when calling _nativePeer.createOffer() due to the libmrwebrtc.so library not being found by the device...
A more detailed error extracted from the device adb logs that I have attached: Failed to load native plugin: Unable to load library '/data/app/com.DefaultCompany.mixedrealitywebrtctest-hdRzfacFtumD_WK6EoHKlQ==/lib/arm64/libmrwebrtc.so', error 'java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.ClassLoader java.lang.Class.getClassLoader()' on a null object reference
I initially thought it was a installation location issue, but the problematic device does not have any attached external storage (sd card etc)
After digging through more logs, i was able to find that the "Failed to load native plugin: Unable to load library" also occurs on my personal Poco X3. Could this be related to #677 ?
Upon further research on existing issues raised, i am quite certain this is related to #577. In both cases, a OnePlus android device was used. Please advise @djee-ms
Android build using IL2CPP , NET 2.0 standard and ARM64 crashes upon peer attempting to publish, seems to occur at _nativePeer.createOffer(). Only occurs on 1/5 devices tested (OnePlus 7T Pro). Logs indicate a "signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0" error, of "Cause: null pointer dereference"
To Reproduce
Expected behavior
Environment
tombstone_00.txt