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
846 stars 161 forks source link

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

Closed ryust closed 5 months ago

ryust commented 8 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 8 months ago

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

AlexDarigan commented 8 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 6 months ago

Any progress?

ThomasGorisse commented 5 months ago

Fixed in v2.2.0