Cannot access a disposed object for StatusProgressForm on Linux
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
Hi,
I use KeePass2 on linux and windows and everyday I use it on linux I tend to get an error dialog like this:
KeePass
Cannot access a disposed object.
Object name: 'KeePass.Forms.StatusProgressForm'.
OK
This typically happes after having run the and leaving it idle for a while and the doing auto-type again.
It seems like mono might be more aggressive than MS .NET in disposing released objects...
It's pretty annoying since I reguarly need to restart the program to be able to auto-type again. Other than that KeePass run fine on mono from what I've seen.
I cannot reproduce this. Can you please post the full stack trace of the exception?
Thanks and best regards,
Dominik
The dialog does not contain the stacktrace. Is it logged somewhere? I will be able to reproduce when I get back to work.
If the stack trace isn't in the error message, try running
KeePass.exe
with the--debug
switch, which causes KeePass to show more detailed error messages in some cases. If you still cannot see a stack trace, you could try using a debugger (e.g. MonoDevelop).It would also be good if you'd use the latest development snapshot for testing (because it has some more Mono workarounds):
https://keepass.info/filepool/KeePass_171226_2.zip
Thanks and best regards,
Dominik
I have been running this zip for a while and I think there is less examples of this exception.
I have also been running 2.38 for some days and at first I thought it was gone but the I popped up again. So it's not completely solved atleast, but I'm guessing it's better.
I have added --debug now to see if it makes a difference.
Also Ctrl-q doesn't seem to work to close the program.
Have you tried KeeWeb on Linux?
cheers, Paul
Paul: Nope and unless they add auto-type working for all platforms I'm probably not gonna either. For me that's a deal breaker.
A workaround for a different problem related to the StatusProgressForm has been implemented [1]; maybe it also solves this problem here.
Here's the latest development snapshot for testing:
https://keepass.info/filepool/KeePass_180705.zip
Thanks and best regards,
Dominik
[1] https://sourceforge.net/p/keepass/bugs/1710/
While implementing [1], various changes have been made to the status dialog, and I think that they should also resolve this issue here.
Here's the latest development snapshot for testing:
https://keepass.info/filepool/KeePass_180826.zip
Thanks and best regards,
Dominik
[1] https://sourceforge.net/p/keepass/bugs/1685/
I experience this bug daily with KeePass 2.38 on Ubuntu 18.04.3 LTS.
KeePass 2.38 is old (released before the changes mentioned above). I'd suggest to test the latest version (currently 2.43).
Best regards,
Dominik