Hi!
Has anyone got KeePass 2.X working with Ubuntu, I mean Linux with Mono?
KeePass keeps crashing when writing password. Immediately after second letter program crashes. After that UI handler thread seems to be dead.
Code:
Offset and length were out of bounds for the array or count is greater thanthe number of elements from index to the end of the source collection.
mscorlib
at System.Buffer.BlockCopy (System.Array src, Int32 srcOffset, System.Array dest, Int32 destOffset, Int32 count) [0x00000]
at System.Security.SecureString.InsertAt (Int32 index, Char c) [0x00000]
at KeePass.UI.SecureEdit.RemoveInsert (Int32 nLeftRem, Int32 nRightRem, System.String strInsert) [0x00000]
at KeePass.UI.SecureEdit.OnPasswordTextChanged (System.Object sender, System.EventArgs e) [0x00000]
at System.Windows.Forms.Control.OnTextChanged (System.EventArgs e) [0x00000]
at System.Windows.Forms.TextBoxBase.OnTextChanged (System.EventArgs e) [0x00000]
at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000]
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32) [0x00000]
at System.Windows.Forms.Form.ShowDialog () [0x00000]
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:ShowDialog ()
at KeePass.Forms.MainForm.OpenDatabase (KeePassLib.Serialization.IOConnectionInfo ioConnection, KeePassLib.Keys.CompositeKey cmpKey, Boolean bOpenLocal) [0x00000]
at KeePass.Forms.MainForm.OnFileOpen (System.Object sender, System.EventArgs e) [0x00000]
at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000]
at System.Windows.Forms.ToolStripButton.OnClick (System.EventArgs e) [0x00000]
at System.Windows.Forms.ToolStripItem.HandleClick (System.EventArgs e) [0x00000]
at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, ToolStripItemEventType met) [0x00000]
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:FireEvent (System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000]
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000]
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000]
at KeePass.Program.Main (System.String[] args) [0x00000]
Void BlockCopy(System.Array, Int32, System.Array, Int32, Int32)
After digging around I found following thread from KeePass Open Discussion:
http://sourceforge.net/forum/forum.p...orum_id=329220
I it solved my problem.
- Thanks
Bookmarks