google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 604 forks source link

Sample AR SceneForm augmented images example app exits(closes/crashes) after a period of time. #794

Open Zeuskartik opened 5 years ago

Zeuskartik commented 5 years ago

So i was trying to create an augmented images app by dropping an anchor and rendering a 3-D model of a spaceship, over an image of a satellite.The logic was whenever the image was tracked , it would drop an anchor in the center of the image and render a 3-D model. i tried logging the tracking mode of the image in the loop which iterates over all the images stored in AugmentedImagesDatabase. I can't seem to find the reason behind the crash. is i'll post my Logcat logs here. if anyone can help me out it would be appreciated.

Log---->

--------- beginning of crash 2019-07-25 18:23:40.563 4521-4560/com.mindrops.arimage A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7600000010 in tid 4560 (FEngine::loop), pid 4521 (indrops.arimage) 2019-07-25 18:23:40.591 4521-4521/com.mindrops.arimage E/native: hit_test.cc:376 generic::internal: No point hit. 2019-07-25 18:23:40.592 4521-4521/com.mindrops.arimage I/ArTrack: imageTRACKING 2019-07-25 18:23:40.622 4521-4521/com.mindrops.arimage E/native: hit_test.cc:376 generic::internal: No point hit. 2019-07-25 18:23:40.623 4521-4521/com.mindrops.arimage I/ArTrack: imageTRACKING 2019-07-25 18:23:40.898 4521-4599/com.mindrops.arimage I/native: motion_analysis_calculator.cc:611 Analyzed frame 3101 2019-07-25 18:23:41.242 4521-4568/com.mindrops.arimage I/native: performance_monitor.cc:115 Event: FeatureExtraction is taking too long, it took 110.084ms

aurangzaibumer777 commented 5 years ago

facing the same issue after updating the sceneform to 1.11

shekharkg commented 4 years ago

Facing same issue ` --------- beginning of crash

A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7000000010 in tid 31426 (FEngine::loop), pid 31192 (ew.mobile.debug) D/ViewRootImpl@d10681e[MeasurementsDetailsActivity]: ViewPostIme pointer 0 D/ViewRootImpl@d10681e[MeasurementsDetailsActivity]: ViewPostIme pointer 1 D/ViewRootImpl@d10681e[MeasurementsDetailsActivity]: ViewPostIme pointer 0 D/ViewRootImpl@d10681e[MeasurementsDetailsActivity]: ViewPostIme pointer 1 D/ViewRootImpl@e550189[ViewRenderableWindow]: Relayout returned: old=(540,1110,540,1110) new=(518,1084,561,1135) req=(43,51)0 dur=5 res=0x21 s={true 481522810880} ch=false D/OpenGLRenderer: createReliableSurface : 0x6ed95c3bc0, 0x701cff0000 W/libEGL: EGLNativeWindowType 0x6ed95c4350 disconnect failed`