Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.9.112
    • Fix Version/s: 1.2.10
    • Component/s: Editor
    • Labels:
    • Environment:

      Windows 7 x64

    • Sprint:
      Greenshot 1.2.10

      Description

      The following crash message appeared when using the Pencil tool to draw a white line of width 4 over an existing item on the left edge of the screenshot. The screenshot was replaced with a red "X" in the graphics control.

      I drew a very short stroke from within the editor near the left edge, moving my mouse to outside of the editor. I was not able to reproduce it - fuzzing may help, perhaps?

      This produced the following crash report:

      Software version: 1.2.9.129-RELEASE-569de711c0353860aaeb5e5ec4d272e383a101e9 (64 bit)
      .NET runtime version: 4.0.30319.42000+
      Time: 2017-05-05 06:06:43 -04:00
      OS: unknown (x64) 6.1 build 7601 revision 10000
      GDI object count: 237
      User object count: 242

      Exception: System.ArgumentNullException
      Message: Value cannot be null.
      Parameter name: path

      Stack:
      at System.Drawing.Graphics.DrawPath(Pen pen, GraphicsPath path)
      at Greenshot.Drawing.FreehandContainer.Draw(Graphics graphics, RenderMode renderMode)
      at Greenshot.Drawing.DrawableContainer.DrawContent(Graphics graphics, Bitmap bmp, RenderMode renderMode, Rectangle clipRectangle)
      at Greenshot.Drawing.DrawableContainerList.Draw(Graphics g, Bitmap bitmap, RenderMode renderMode, Rectangle clipRectangle)
      at Greenshot.Drawing.Surface.SurfacePaint(Object sender, PaintEventArgs paintEventArgs)
      at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
      at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
      at System.Windows.Forms.Control.WmPaint(Message& m)
      at System.Windows.Forms.Control.WndProc(Message& m)
      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

      Taking another screenshot of the failure worked:

      https://i.imgur.com/HpgskOu.png

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kvermeer.schapmachine Kevin Vermeer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m