-
-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Description
I am facing a crash in decomposition phase, i have horizontal pager, one page has sceveview jetpack component it loads well than on changing tab it crashes
happening in 2.3.0
val engine = rememberEngine()
val modelLoader = rememberModelLoader(engine)
val centerNode = rememberNode(engine)
val cameraNode = rememberCameraNode(engine) {
position = Position(y = 0.5f, z = 1.0f)
lookAt(centerNode)
centerNode.addChildNode(this)
}
val modelNode = rememberNode {
ModelNode(
modelInstance = modelLoader.createModelInstance(
assetFileLocation = "models/test.glb"
),
scaleToUnits = 0.65f,
centerOrigin = Position(y = -0.60f),
)
}
val cameraTransition = rememberInfiniteTransition(label = "CameraTransition")
val cameraRotation by cameraTransition.animateRotation(
initialValue = Rotation(y = 0.0f),
targetValue = Rotation(y = 360.0f),
animationSpec = infiniteRepeatable(
animation = tween(durationMillis = 20000)
)
)
Scene(
modifier = Modifier
.fillMaxSize()
.background(Color.Transparent).clickable{
onClick()
},
engine = engine,
modelLoader = modelLoader,
cameraNode = cameraNode,
isOpaque = false,
cameraManipulator = rememberCameraManipulator(
orbitHomePosition = cameraNode.worldPosition,
targetPosition = centerNode.worldPosition
),
childNodes = listOf(centerNode, modelNode),
onFrame = {
centerNode.rotation = cameraRotation
cameraNode.lookAt(centerNode)
},
onGestureListener = rememberOnGestureListener()
)
A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2a8 in tid 32005 , pid 32005
2025-08-27 01:02:31.558 32481-32481 DEBUG crash_dump64 A Cmdline:
2025-08-27 01:02:31.558 32481-32481 DEBUG crash_dump64 A #00 pc 00000000002e9cb0 /data/app/~~rMXh4UUd9xXVjEI2GsvQVw==/com.sxxx.xxxp-JIcuF-qzsgOANfcJ-kd29g==/base.apk!libgltfio-jni.so (offset 0x63f4000) (BuildId: c827b1e2c939e8ce7b48d330f10b0c686c618a51)
2025-08-27 01:02:31.607 671-784 InputDispatcher system_server E channel '1932e8f com.sxxx.xxxxp/com.sxx.pxxx.presentation.MainActivity' ~ Channel is unrecoverably broken and will be disposed!
---------------------------- PROCESS ENDED (32005) for package
2025-08-27 01:02:31.661 671-748 InputDispatcher system_server E But another display has a focused window
FocusedWindows:
displayId=0, name='1932e8f com.singularity.battlebucks.develop/com.singularity.battlebucks.presentation.MainActivity'
ivmakar
Metadata
Metadata
Assignees
Labels
No labels