Skip to content

BookmarkActivity ANR followed by native SIGTRAP crash while rendering bookmarks #1181

Description

@TayLo1801

Environment

Device:
Google Pixel 9 Pro XL (komodo)

Operating Systems tested:

  • GrapheneOS Android 16
    Build: BP4A.260205.002
  • GrapheneOS Android 17
    Build: CP2A.260605.012

Vanadium versions:
768011934
787106434

Problem

Vanadium consistently becomes unresponsive while opening or interacting with BookmarkActivity.

Android reports:

Input dispatching timed out

BookmarkActivity is not responding.

After the ANR a native crash also occurred (SIGTRAP inside libmonochrome_64.so).

Observed behaviour

The UI freezes for more than 5 seconds.

Android triggers an ANR:

Input dispatching timed out
BookmarkActivity
Waited 5003 ms for MotionEvent.

A later crash report shows:

signal 5 (SIGTRAP)

inside

libmonochrome_64.so

Technical observations

Both Android 16 and Android 17 show nearly identical stacks.

The main thread spends the entire timeout inside

android.graphics.text.LineBreaker

StaticLayout

TextView.onMeasure()

RecyclerView

BookmarkActivity

ConstraintLayout

libminikin

This strongly suggests that layout calculation for bookmark items blocks the UI thread.

The native crash later occurs inside Chromium's native library.

Expected behaviour

BookmarkActivity should remain responsive while rendering bookmarks.

Rendering should occur without blocking the UI thread.

Additional information

Issue reproduced across two Android major versions.

Issue reproduced across two Vanadium releases.

One ANR eventually resulted in a native SIGTRAP crash.

Crash reports attached.

Error in Vanadium d0018f9917c8.txt
Error in Vanadium 90989689cea0.txt
app.vanadium.browser crash 1f81d51d5e42.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions