{"record":{"id":"ac2119f39347db5c","repo":"DioxusLabs/dioxus","slug":"non-empty-mounted-fragment-should-have-a-child-ran","errorCode":null,"errorMessage":"non-empty mounted fragment should have a child range","messagePattern":"non-empty mounted fragment should have a child range","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/core/src/mount.rs","lineNumber":540,"sourceCode":"                    .iter()\n                    .all(|mount| { *mount != UNWRITTEN_FRAGMENT_CHILD_MOUNT }),\n                \"fragment child writer range must be fully written before commit\"\n            );\n            *mount.dynamic_slot_mut(writer.dyn_node_idx) =\n                PackedMountedSlot::from_slot(MountedDynamicNodeSlot::Fragment(writer.start));\n        });\n    }\n\n    pub(crate) fn mounted_fragment_children(\n        &self,\n        mount: MountId,\n        dyn_node_idx: usize,\n        len: usize,\n    ) -> Vec<MountId> {\n        self.try_with_mounted_fragment_children(mount, dyn_node_idx, len, |children| {\n            children.to_vec()\n        })\n        .expect(\"non-empty mounted fragment should have a child range\")\n    }\n\n    pub(crate) fn try_with_mounted_fragment_children<R>(\n        &self,\n        mount: MountId,\n        dyn_node_idx: usize,\n        len: usize,\n        with_children: impl FnOnce(&[MountId]) -> R,\n    ) -> Option<R> {\n        self.with_mount(mount, |mount| {\n            if len == 0 {\n                return Some(with_children(&[]));\n            }\n            let start = mount.dynamic_slot(dyn_node_idx).fragment_start()?;\n            mount\n                .fragment_child_mounts\n                .get(start..start + len)\n                .map(with_children)","sourceCodeStart":522,"sourceCodeEnd":558,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/core/src/mount.rs#L522-L558","documentation":"Internal invariant: the mount claims a fragment of non-zero length but the committed slot holds no child range start. Fragment mount state was written inconsistently (partial commit or cleared range).","triggerScenarios":"Thrown at packages/core/src/mount.rs:540 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["This is an internal invariant about mounted fragments. Report it with a minimal reproduction to the Dioxus issue tracker."],"exampleFix":null,"handlingStrategy":"type-guard","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}