Skip to content

Element X 26.03.3 crashes when attempting to start a chat with someone #6413

@ledlamp

Description

@ledlamp

Steps to reproduce

  1. Start from list of Chats
  2. Press the + button
  3. Search for some random user
  4. Select a user
  5. It crashes

Outcome

What did you expect?

To not crash

What happened instead?

It crashes

2026-03-18_15-49_screen-20260318-154941-1773874159615_recoded_nvenc_av1_1280x720_50.5Q.mp4

Here is error log

2026-03-18T22:41:24.734098Z ERROR elementx: FATAL EXCEPTION ElementX Version : 1.0Phone : Pixel 6 Pro (14887507 16 REL)
Memory statuses 
usedSize   24 MB
freeSize   3 MB
totalSize   28 MB
Thread: main, Exception: java.lang.IllegalStateException: The offset was read before being initialized. Did you access the offset in a phase before layout, like effects or composition?
	at androidx.compose.foundation.internal.InlineClassHelperKt.throwIllegalStateException(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:3)
	at androidx.compose.ui.node.NodeChain.requireOffset(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:17)
	at app.cash.molecule.MoleculeKt$$ExternalSyntheticLambda1.invoke$androidx$compose$material3$internal$DraggableAnchorsNode$$ExternalSyntheticLambda1(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:44)
	at app.cash.molecule.MoleculeKt$$ExternalSyntheticLambda1.invoke(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:148)
	at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:7)
	at androidx.compose.ui.node.LayoutModifierNodeCoordinator.onAfterPlaceAt$1(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:22)
	at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:2)
	at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative$default(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:71)
	at coil3.compose.ConstraintsSizeResolver$$ExternalSyntheticLambda0.invoke(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:226)
	at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:7)
	at androidx.compose.ui.node.LayoutModifierNodeCoordinator.onAfterPlaceAt$1(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:22)
	at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:2)
	at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative$default(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:71)
	at coil3.compose.ConstraintsSizeResolver$$ExternalSyntheticLambda0.invoke(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:143)
	at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:7)
	at androidx.compose.ui.node.LayoutModifierNodeCoordinator.onAfterPlaceAt$1(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:22)
	at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:2)
	at androidx.compose.ui.node.MeasurePassDelegate$layoutChildrenBlock$1.invoke(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:85)
	at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:308)
	at androidx.compose.ui.node.MeasurePassDelegate.placeOuterCoordinator-MLgxB_4(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:88)
	at androidx.compose.ui.node.LayoutNode.replace$ui(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:42)
	at androidx.compose.ui.node.MeasureAndLayoutDelegate.remeasureAndRelayoutIfNeeded(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:201)
	at androidx.compose.ui.node.MeasureAndLayoutDelegate.measureAndLayout(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:158)
	at androidx.compose.ui.platform.AndroidComposeView.measureAndLayout(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:36)
	at com.google.android.gms.stats.zza.run(r8-map-id-61ec08b4fbd12f33364cb071e26815858d814832c3e7576695ecebb2cf1a3240:1003)
	at android.os.Handler.handleCallback(Handler.java:1095)
	at android.os.Handler.dispatchMessageImpl(Handler.java:135)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.loopOnce(Looper.java:269)
	at android.os.Looper.loop(Looper.java:367)
	at android.app.ActivityThread.main(ActivityThread.java:9333)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
 |

Your phone model

Pixel 6 Pro

Operating system version

Android 16

Application version and app store

io.element.android.x 26.03.3 from Google Play Store

Homeserver

matrix.org

Will you send logs?

Yes

Are you willing to provide a PR?

No

Metadata

Metadata

Assignees

Labels

O-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectSomething isn't working: bugs, crashes, hangs and other reported problemsz-Crash

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions