FS#78263 - [keepass] updating mono breaks keepass until its install file commands are run

Attached to Project: Arch Linux
Opened by Stanislav (Stanislav_pythonist) - Thursday, 20 April 2023, 08:30 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
New mono package is broken or breaks keepass:

=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

More output in attached file

Additional info:
mono 6.12.0.190-1

Steps to reproduce:
Just run keepass with latest mono and it will crash with dump. Downgrading to 6.12.0.177-1 resolves the issue
100% reproducible.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:18 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/keepass/issues/1
Comment by Antonio Rojas (arojas) - Thursday, 20 April 2023, 09:16 GMT
Simply reinstalling keepass fixes this. I guess the command run on the install file should be turned into a hook?
Comment by Stanislav (Stanislav_pythonist) - Friday, 21 April 2023, 16:11 GMT
Thanks for the workaround!

> I guess the command run on the install file should be turned into a hook?

You mean something like this?:

[Trigger]
Type = Package
Operation = Upgrade
Target = mono

[Action]
Description = Updating Keepass AOT cache...
When = PostTransaction
Exec = /usr/bin/mono --aot -O=all /usr/share/keepass/KeePass.exe &> /dev/null
Comment by Toolybird (Toolybird) - Saturday, 02 September 2023, 01:54 GMT
Dupes:  FS#79532   FS#79536 

Loading...