Menu

#1683 Cannot access a disposed object for StatusProgressForm on Linux

KeePass_2.x
closed
nobody
None
5
2019-09-14
2017-11-10
Stalle
No

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.

Discussion

  • Dominik Reichl

    Dominik Reichl - 2017-12-31

    I cannot reproduce this. Can you please post the full stack trace of the exception?

    Thanks and best regards,
    Dominik

     
  • Stalle

    Stalle - 2017-12-31

    The dialog does not contain the stacktrace. Is it logged somewhere? I will be able to reproduce when I get back to work.

     
  • Dominik Reichl

    Dominik Reichl - 2017-12-31

    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

     
  • Stalle

    Stalle - 2018-02-19

    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.

     
  • Paul

    Paul - 2018-02-19

    Have you tried KeeWeb on Linux?

    cheers, Paul

     
  • Stalle

    Stalle - 2018-02-19

    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.

     
  • Dominik Reichl

    Dominik Reichl - 2018-07-06

    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/

     
  • Dominik Reichl

    Dominik Reichl - 2018-08-26
    • status: open --> closed
    • Priority: 6 --> 5
     
  • Dominik Reichl

    Dominik Reichl - 2018-08-26

    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/

     
  • Sondra Kinsey

    Sondra Kinsey - 2019-09-14

    I experience this bug daily with KeePass 2.38 on Ubuntu 18.04.3 LTS.

     
  • Dominik Reichl

    Dominik Reichl - 2019-09-14

    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

     

Log in to post a comment.