Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40484 - [keepass] crashes when trying to delete multiple entries

Attached to Project: Community Packages
Opened by GNA (gna) - Wednesday, 21 May 2014, 14:42 GMT
Last edited by Timothy Redaelli (tredaelli) - Thursday, 02 April 2015, 10:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Timothy Redaelli (tredaelli)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Keepass crashes when trying to delete multiple entries.

Additional info:
* package version(s)
2.26-1
* config and/or log files etc.


Steps to reproduce:
Select multiple entries
Press del to delete them
Press Yes
*BAM*

Stacktrace:
SendMessage (44040214, 0x444, 0x1, 0x33371e0)
SendMessage (44040214, 0x444, 0x1, 0x33371e0)
System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Windows.Forms.ListView+ListViewItemCollection.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ListView.GetItemAtDisplayIndex (Int32 display_index) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ListView.get_FocusedItem () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ListView:get_FocusedItem ()
at System.Windows.Forms.ListViewItem.get_Focused () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ListView+ListViewItemCollection.RemoveAt (Int32 index) [0x00000] in <filename unknown>:0
at KeePass.Forms.MainForm.RemoveEntriesFromList (KeePassLib.PwEntry[] vEntries, Boolean bLockUIUpdate) [0x00000] in <filename unknown>:0
at KeePass.Forms.MainForm.DeleteSelectedEntries () [0x00000] in <filename unknown>:0
at KeePass.Forms.MainForm.OnEntryDelete (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at KeePass.Forms.MainForm.OnPwListKeyDown (System.Object sender, System.Windows.Forms.KeyEventArgs e) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) <Module>:invoke_void__this___object_KeyEventArgs (object,System.Windows.Forms.KeyEventArgs)
at System.Windows.Forms.Control.OnKeyDown (System.Windows.Forms.KeyEventArgs e) [0x00000] in <filename unknown>:0
at KeePass.UI.CustomListViewEx.OnKeyDown (System.Windows.Forms.KeyEventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ListView.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0

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, Size proposedSize, TextFormatFlags flags) [0x00000] in <filename unknown>:0
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


This task depends upon

Closed by  Timothy Redaelli (tredaelli)
Thursday, 02 April 2015, 10:03 GMT
Reason for closing:  No response
Comment by Timothy Redaelli (tredaelli) - Wednesday, 11 March 2015, 16:03 GMT
is this bug still present?

Loading...