#1053 KeePass 2.20.1 crashes on Max OS X Mountain Lion in intialization of Windows.Form

KeePass_2.x
closed
nobody
5
2015-02-05
2012-11-25
mldgodard
No

When I launch "mono KeePass.exe" (version 2.20.1) on my Mac (OS X 10.8.2 i.e. Moutain Lion), I get the exception below. Version of mono I am using is 2.10.9.

Is KeePass supposed to work on Max OS X 64 bits? I have no problem to run it on Windows 7 64 bits and Fedora 17 64 bits.

Thanks for your help.

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown="">:0
--- End of inner exception stack trace ---
at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown="">:0
--- End of inner exception stack trace ---
at System.Drawing.Color.get_Black () [0x00000] in <filename unknown="">:0
at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown="">:0
--- End of inner exception stack trace ---
at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <filename unknown="">:0
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown="">:0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown="">:0
at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown="">:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown="">:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown="">:0
--- End of inner exception stack trace ---
at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown="">:0
--- End of inner exception stack trace ---
at System.Drawing.Color.get_Black () [0x00000] in <filename unknown="">:0
at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown="">:0
--- End of inner exception stack trace ---
at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <filename unknown="">:0
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown="">:0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown="">:0
at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown="">:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown="">:0

Discussion

  • Paul

    Paul - 2012-11-25

    Did you install the packages shown on this web page?
    http://keepass2.openix.be/

    cheers, Paul

     
  • mldgodard

    mldgodard - 2012-11-25

    No, I didn't.

    I confirm that with the packages above it works: Thanks Paul.

    I have some remarks:
    This is not the latest version of KeePass: do you know if there is a plan to support the latest version?
    Copy / Paste does not seem to work : is it a known issue?
    * Mono on Mac OS does not seem to be at the same level as on Linux.

    Again, thanks Paul for your quick answer.

    Daniel

     
  • Paul

    Paul - 2012-11-26

    I believe you can just copy the latest KeePass.exe over the top of the existing.
    V2.19 appears to work so V2.20 should as well. You may need to load xdotools as well, not sure about this.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2012-12-04
    • status: open --> closed
    • milestone: KeePass_1.x --> KeePass_2.x
     
  • Dominik Reichl

    Dominik Reichl - 2012-12-04

    Clipboard operations work in KeePass 2.20.1 on Mac OS X.

    We need to wait for the maintainer of the Mac OS X package to update it.

    Best regards
    Dominik

     

Log in to post a comment.