yasirkula / UnityNativeShare

A Unity plugin to natively share files (images, videos, documents, etc.) and/or plain text on Android & iOS
MIT License
915 stars 137 forks source link

Null point exception. My app istn worlkign now. Any fixes? #82

Closed jaggernaut007 closed 4 years ago

jaggernaut007 commented 4 years ago
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

2020-06-26 23:50:03.378 24692-24715/com.aimage.specsdemo D/Unity: Sensor : Accelerometer ( 1) ; 0.004791 / 0.00s ; BMI160 Accelerometer / BOSCH 2020-06-26 23:50:03.389 24692-24715/com.aimage.specsdemo D/Unity: Sensor : Gyroscope ( 4) ; 0.001065 / 0.00s ; BMI160 Gyroscope / BOSCH 2020-06-26 23:50:03.393 24692-24715/com.aimage.specsdemo D/Unity: Sensor : Gravity ( 9) ; 0.000010 / 0.00s ; Gravity Sensor / Google 2020-06-26 23:50:03.395 24692-24715/com.aimage.specsdemo D/Unity: Sensor : Linear Acceleration (10) ; 0.000010 / 0.02s ; Linear Acceleration Sensor / Google 2020-06-26 23:50:03.396 24692-24715/com.aimage.specsdemo D/Unity: Sensor : Rotation Vector (11) ; 0.000010 / 0.00s ; Rotation Vector Sensor / Google 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: Version '2019.4.0f1 (0af376155913)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a' 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: Build fingerprint: 'google/sargo/sargo:10/QQ3A.200605.002/6416773:user/release-keys' 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: Revision: 'MP1.0' 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: ABI: 'arm' 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: Timestamp: 2020-06-26 23:50:03+0530 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: pid: 24692, tid: 24814, name: cameras_async_w >>> com.aimage.specsdemo <<< 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: uid: 10586 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x22 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: Cause: null pointer dereference 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: r0 a5ac4808 r1 00000005 r2 a7e00b04 r3 00000023 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: r4 a7e00b24 r5 a5ac4808 r6 e6436260 r7 e6436260 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: r8 a5ac4808 r9 aae09904 r10 a7e00b78 r11 00000000 2020-06-26 23:50:03.399 24692-24814/com.aimage.specsdemo E/CRASH: ip dd7b3bd4 sp a7e00b00 lr dd7abd41 pc 00000022 2020-06-26 23:50:03.418 24692-24692/com.aimage.specsdemo V/MediaRouter: Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null } 2020-06-26 23:50:03.428 24692-24715/com.aimage.specsdemo D/Unity: Choreographer available: Enabling VSYNC timing 2020-06-26 23:50:03.509 24692-24715/com.aimage.specsdemo E/native: error_policy_util.cc:260 ################ ARCore Native Error ################## BUILD_CHANGELIST:315371429 BUILD_BASELINE_CHANGELIST:314554407 ################### Stack Trace Begin ################ ARCoreError: third_party/arcore/ar/core/session.cc:1429 https://cs.corp.google.com/piper///depot/google3/third_party/arcore/ar/core/session.cc?g=0&l=1429 ARCoreError: third_party/arcore/ar/core/c_api/session_lite_c_api.cc:63 https://cs.corp.google.com/piper///depot/google3/third_party/arcore/ar/core/c_api/session_lite_c_api.cc?g=0&l=63 ################### Stack Trace End ################# 2020-06-26 23:50:03.509 24692-24715/com.aimage.specsdemo E/native: session_manager.cc:124 ArPresto::ArSession_update failed with status -2. 2020-06-26 23:50:03.615 24692-24715/com.aimage.specsdemo E/native: error_policy_util.cc:260 ################ ARCore Native Error ################## BUILD_CHANGELIST:315371429 BUILD_BASELINE_CHANGELIST:314554407 ################### Stack Trace Begin ################ ARCoreError: third_party/arcore/ar/core/session.cc:1429 https://cs.corp.google.com/piper///depot/google3/third_party/arcore/ar/core/session.cc?g=0&l=1429 ARCoreError: third_party/arcore/ar/core/c_api/session_lite_c_api.cc:63 https://cs.corp.google.com/piper///depot/google3/third_party/arcore/ar/core/c_api/session_lite_c_api.cc?g=0&l=63 ################### Stack Trace End ################# 2020-06-26 23:50:03.615 24692-24715/com.aimage.specsdemo E/native: session_manager.cc:124 ArPresto::ArSession_update failed with status -2. 2020-06-26 23:50:03.618 24692-24715/com.aimage.specsdemo E/CRASH: other thread is trapped; signum = 11 2020-06-26 23:50:03.620 24692-24715/com.aimage.specsdemo E/AndroidRuntime: FATAL EXCEPTION: UnityMain Process: com.aimage.specsdemo, PID: 24692 java.lang.Error: Version '2019.4.0f1 (0af376155913)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a' Build fingerprint: 'google/sargo/sargo:10/QQ3A.200605.002/6416773:user/release-keys' Revision: 'MP1.0' ABI: 'arm' Timestamp: 2020-06-26 23:50:03+0530 pid: 24692, tid: 24814, name: cameras_async_w >>> com.aimage.specsdemo <<< uid: 10586 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x22 Cause: null pointer dereference r0 a5ac4808 r1 00000005 r2 a7e00b04 r3 00000023 r4 a7e00b24 r5 a5ac4808 r6 e6436260 r7 e6436260 r8 a5ac4808 r9 aae09904 r10 a7e00b78 r11 00000000 ip dd7b3bd4 sp a7e00b00 lr dd7abd41 pc 00000022

yasirkula commented 4 years ago

Why do you think that it is caused by NativeShare? After seeing ARCore Native Error line multiple times and Share word none, I'd guess that it is an ARCore issue.

jaggernaut007 commented 4 years ago

Not sure, what is causing the issue. I had factory reset my phone to ensure everything works good. Everything is fixed now.