Random crash with 1.12 on Manjaro

When I open a specific mail, the Mailspring windows disappears and I get the following in the console window where I started Mailspring:

[1114/151940.453004:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1114/151940.456373:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1114/151940.486888:ERROR:directory_reader_posix.cc(42)] opendir /home/tamriel/.config/Mailspring/Crashpad/attachments/6cd3d0a2-d1ae-4fb4-be8d-a3d6ad73f893: No such file or directory (2)
[1114/151940.490469:WARNING:minidump_to_upload_parameters.cc(67)] duplicate annotation name ver, discarding value 1.12.0
[1114/151940.490493:WARNING:minidump_to_upload_parameters.cc(67)] duplicate annotation name platform, discarding value linux
[1]    201046 segmentation fault (core dumped)  mailspring --enable-features=UseOzonePlatform --ozone-platform=wayland  

It happens when writing a new mail as well. Very annoying.

Can you try version 1.13 and see if this one changes the behavior you encounter with this big?

No change :frowning:

mailspring --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --password-store=gnome-libsecret  :heavy_check_mark:  5s 
[372168:1122/134725.350646:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: Keine derartige Schnittstelle »org.freedesktop.portal.FileChooser«
[372168:1122/134725.350691:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property
[372211:1122/134725.404689:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is egl, ANGLE is
Running database migrations
App load time: 276ms

{“error”:null}
Manual update check (updates.getmailspring.com/check/linux/x64/1.13.1-59cb1b1d/d7a7b365-6a0b-41ea-9724-2b14050cb050/stable) returned 204

// short pause, then when crashing this appears:

[1122/134736.030662:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1122/134736.032054:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1122/134736.073414:ERROR:directory_reader_posix.cc(42)] opendir /home/tamriel/.config/Mailspring/Crashpad/attachments/83eaa7a1-9826-48e1-8cdc-e9b24b585bd9: No such file or directory (2)
[1122/134736.082952:WARNING:minidump_to_upload_parameters.cc(67)] duplicate annotation name ver, discarding value 1.13.1
[1122/134736.083005:WARNING:minidump_to_upload_parameters.cc(67)] duplicate annotation name platform, discarding value linux
[1] 372168 segmentation fault (core dumped) mailspring --enable-features=UseOzonePlatform --ozone-platform=wayland

It works flawlessly without usage of wayland. It seems to be an issue with electron and wayland in general, as you can read here: AUR (en) - electron-blur-me-not
So lets wait for electron to fix it…