SceneView / sceneview-android

SceneView is a 3D and AR Android Composable and View with Google Filament and ARCore. This is a Sceneform replacement in Kotlin
Apache License 2.0
758 stars 151 forks source link

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) is back in 2.0.4 #439

Closed ryust closed 1 month ago

ryust commented 3 months ago

As the title says, "Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)" has returned in 2.0.4 when exiting the activity containing an ARSceneView. Using 2.0.3 with no code changes, the app exits the activity correctly without crashing the app. The activity is similar to sample app with a main Activity and a Fragment to display the scene.

ryust commented 3 months ago

Discovered the crash happens when ARSession.close() is called when destroying the fragment containing it.

AlexDarigan commented 3 months ago

Related to #440

Wondering if this came from the newest fix where destroy was moved to a background thread? Possibly trying to destroy it when it was already out of scope? (a guess)

NikitaGvozdilko commented 2 months ago

Any progress?

ThomasGorisse commented 1 month ago

Fixed in v2.2.0