6
16
Fork
You've already forked sterna-mail
1

Crashes when returning to the list view of emails. #10

Open
opened 2026年07月12日 00:08:37 +02:00 by dav23r · 2 comments

Crash happens always. Steps to reproduce:

  1. Open the app.
  2. Click on any of the entries of email list to display it.
  3. Use either system back gesture/button or click the ui back botton at top left of the activity intending to return to the email list view. App crashes immediately.

Crash trace as attachment below.

Crash happens always. Steps to reproduce: 1. Open the app. 2. Click on any of the entries of email list to display it. 3. Use either system back gesture/button or click the ui back botton at top left of the activity intending to return to the email list view. App crashes immediately. Crash trace as attachment below.

Did not register a fc, but I can reproduce the "back gesture" in any mail will close the application.

lineageos-18.1 | sony xperia 1ii

Did not register a fc, but I can reproduce the "back gesture" in any mail will close the application. lineageos-18.1 | sony xperia 1ii
Owner
Copy link

Thanks for the report. It's an unpatched Android bug in the OpenGL rendering path: the fade animation on opening/closing a message composites the WebView offscreen, and on GL-rendered devices the system renderer hits a null pointer there. Recent Pixels render with Vulkan and are immune, which is why it slipped through my own testing.

Attached is a test build with a fix, plus a safety net: if a device still manages to crash once, the fade is permanently disabled on that device instead of crashing again. Could you try it on your OnePlus 5T? Opening a few mails and going back each time is the crashing path.

Note: it installs over your current version and keeps your account (same signing key, works over the F-Droid build too). It carries a temporary high version number though, so once a fixed release is out you'll need to uninstall it and reinstall from F-Droid to get back on regular updates.

Thanks for the report. It's an unpatched Android bug in the OpenGL rendering path: the fade animation on opening/closing a message composites the WebView offscreen, and on GL-rendered devices the system renderer hits a null pointer there. Recent Pixels render with Vulkan and are immune, which is why it slipped through my own testing. Attached is a test build with a fix, plus a safety net: if a device still manages to crash once, the fade is permanently disabled on that device instead of crashing again. Could you try it on your OnePlus 5T? Opening a few mails and going back each time is the crashing path. Note: it installs over your current version and keeps your account (same signing key, works over the F-Droid build too). It carries a temporary high version number though, so once a fixed release is out you'll need to uninstall it and reinstall from F-Droid to get back on regular updates.
Sign in to join this conversation.
No Branch/Tag specified
main
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.25
v1.0.23
v1.0.22
v1.0.20
v1.0.19
v1.0.18
v1.0.17
v1.0.16
v1.0.15
v1.0.14
v1.0.13
v1.0.12
v1.0.11
v1.0.10
v1.0.9
v1.0.8
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v0.90.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
emon/sterna-mail#10
Reference in a new issue
emon/sterna-mail
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?