Summary: | =app-admin/keepass-2.23 with =dev-lang/mono-3.2.3 - On window close: System.ObjectDisposedException: The object was used after being disposed. at System.Net.Sockets.Socket.Send (System.Byte[] buf) [0x00000] in <filename unknown>:0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tom Wijsman (TomWij) (RETIRED) <tomwij> |
Component: | Current packages | Assignee: | Alessandro Di Federico <ale> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | alex_y_xu, kensington, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
unhandled-exception.txt
another-unhandled-exception.txt |
Created attachment 361720 [details]
another-unhandled-exception.txt
One wasn't enough...
$ keepass
... (same as other) ...
Unhandled Exception:
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
at System.Drawing.Graphics.GdipMeasureString (IntPtr graphics, System.String text, System.Drawing.Font font, System.Drawing.RectangleF& layoutRect, IntPtr stringFormat) [0x00000] in <filename unknown>:0
at System.Drawing.Graphics.MeasureString (System.String text, System.Drawing.Font font, Int32 width, System.Drawing.StringFormat format) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:MeasureString (string,System.Drawing.Font,int,System.Drawing.StringFormat)
at System.Windows.Forms.TextRenderer.MeasureTextInternal (IDeviceContext dc, System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags, Boolean useMeasureString) [0x00000] in <filename unknown>:0
at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripMenuItem.CalculatePreferredSize (Size constrainingSize) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripItem.GetPreferredSize (Size constrainingSize) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripDropDownMenu.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.PerformLayout () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout ()
at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_Parent (System.Windows.Forms.ToolStrip)
at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0
When trying 2.21 and 2.22, it even happens during the emerge; ouch. Perhaps this is rather due to the version of mono then? Which version of mono do you (Alessandro) use? Are you able to reproduce this? My version is =dev-lang/mono-3.2.3. I've been experiencing these issues for some time, but I didn't report them because I'm afraid they're due to System.Windows.Forms, which is almost abandoned by the mono guys. We could report this upstream (keepass) anyways and see what's their opinion. Package is no longer in tree. Reopen if you can repro on 2.25 (or 2.26). |
Created attachment 361718 [details] unhandled-exception.txt keepass works fine, but when I close it; this happens, an unhandled exception: $ keepass SendMessage (25165862, 0x101f, (nil), (nil)) SendMessage (0, 0x1203, (nil), 0x7fff692c8570) SendMessage (0, 0x1204, (nil), 0x7fff692c8570) SendMessage (0, 0x1203, 0x1, 0x7fff692c8570) SendMessage (0, 0x1204, 0x1, 0x7fff692c8570) SendMessage (0, 0x1203, 0x2, 0x7fff692c8570) SendMessage (0, 0x1204, 0x2, 0x7fff692c8570) SendMessage (0, 0x1203, 0x3, 0x7fff692c8570) SendMessage (0, 0x1204, 0x3, 0x7fff692c8570) SendMessage (0, 0x1203, 0x4, 0x7fff692c8570) SendMessage (0, 0x1204, 0x4, 0x7fff692c8570) SendMessage (25165862, 0x101f, (nil), (nil)) SendMessage (0, 0x1203, (nil), 0x7fff692c9880) SendMessage (0, 0x1204, (nil), 0x7fff692c9880) SendMessage (0, 0x1203, 0x1, 0x7fff692c9880) SendMessage (0, 0x1204, 0x1, 0x7fff692c9880) SendMessage (0, 0x1203, 0x2, 0x7fff692c9880) SendMessage (0, 0x1204, 0x2, 0x7fff692c9880) SendMessage (0, 0x1203, 0x3, 0x7fff692c9880) SendMessage (0, 0x1204, 0x3, 0x7fff692c9880) SendMessage (0, 0x1203, 0x4, 0x7fff692c9880) SendMessage (0, 0x1204, 0x4, 0x7fff692c9880) Unhandled Exception: System.ObjectDisposedException: The object was used after being disposed. at System.Net.Sockets.Socket.Send (System.Byte[] buf) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.WakeupMain () [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.SendAsyncMethod (System.Windows.Forms.AsyncMethodData method) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.SetWindowPos (IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUI.SetWindowPos (IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBoundsCoreInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStrip.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripDropDown.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBoundsInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBounds (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.set_Size (Size value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripDropDownMenu.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.PerformLayout () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout () at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_Parent (System.Windows.Forms.ToolStrip) at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0 Attached for if that is more convenient.