Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1646 Greenshot opens Paint windows itself until crash

1.1
pending-open
nobody
None
postponed
5
2014-06-14
2014-06-12
McViking
No

Greenshot started continuously opening Paint windows itself until memory failure and it crashed. Before that it stayed in the backround (tray) - no actions on the keyboard were teken. I didn't do anything on my system while it happend so it happend without any activity from me.

Regards - McViking

Software version: 1.1.7.17-g98c8f59 (64 bit)
.NET runtime version: 4.0.30319.18444+
Time: 2014-06-12 08:35:08 +02:00
OS: Windows 7 Service Pack 1 (x64) 6.1 build 7601 revision 10000
GDI object count: 77
User object count: 51
Surface count: 4
Exception: System.ComponentModel.Win32Exception
Message: Odmowa dostępu

Additional Information:
Method : CreateCompatibleDC
Height : 1200
Width : 1920

ErrorCode: 0x80004005

Stack:
at GreenshotPlugin.Core.WindowCapture.CaptureRectangle(Rectangle captureBounds)
at GreenshotPlugin.Core.WindowCapture.CaptureRectangle(ICapture capture, Rectangle captureBounds)
at Greenshot.Helpers.CaptureHelper.MakeCapture()
at Greenshot.MainForm.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Configuration dump:
[Core]
Language=pl-PL
RegionHotkey=Ctrl + PrintScreen
WindowHotkey=Alt + PrintScreen
FullscreenHotkey=PrintScreen
LastregionHotkey=Shift + PrintScreen
IEHotkey=Ctrl + Shift + PrintScreen
IsFirstLaunch=False
Destinations=FileNoDialog,External MS Paint
ClipboardFormats=PNG,DIB
CaptureMousepointer=False
CaptureWindowsInteractive=False
CaptureDelay=100
ScreenCaptureMode=Auto
ScreenToCapture=1
WindowCaptureMode=Screen
WindowCaptureAllChildLocations=False
DWMBackgroundColor=Transparent
PlayCameraSound=False
ShowTrayNotification=True
OutputFilePath=D:\Moje dokumenty\Moje obrazy
OutputFileAllowOverwrite=True
OutputFileFilenamePattern=${capturetime:d"yyMMdd-HHmmss"}-${title}
OutputFileFormat=png
OutputFileReduceColors=False
OutputFileAutoReduceColors=False
OutputFileCopyPathToClipboard=False
OutputFileAsFullpath=D:\Moje dokumenty\Moje obrazy\140612-083507-Greenshot.png
OutputFileJpegQuality=80
OutputFilePromptQuality=False
OutputFileIncrementingNumber=1
OutputPrintPromptOptions=True
OutputPrintAllowRotate=False
OutputPrintAllowEnlarge=False
OutputPrintAllowShrink=True
OutputPrintCenter=True
OutputPrintInverted=False
OutputPrintGrayscale=False
OutputPrintMonochrome=False
OutputPrintMonochromeThreshold=127
OutputPrintFooter=True
OutputPrintFooterPattern=${capturetime:d"D"} ${capturetime:d"T"} - ${title}
NotificationSound=default
UseProxy=True
IECapture=True
IEFieldCapture=False
WindowClassesToCheckForIE=AfxFrameOrView70,IMWindowClass
AutoCropDifference=10
IncludePlugins=
ExcludePlugins=
ExcludeDestinations=OneNote
UpdateCheckInterval=0
LastUpdateCheck=
DisableSettings=False
DisableQuickSettings=False
DisableTrayicon=False
HideExpertSettings=False
ThumnailPreview=True
NoGDICaptureForProduct=intellij,idea
NoDWMCaptureForProduct=citrix,ica,client
OptimizeForRDP=False
MinimizeWorkingSetSize=False
WindowCaptureRemoveCorners=True
CheckForUnstable=False
ActiveTitleFixes=Firefox,IE,Chrome
TitleFixMatcher.Firefox= - Mozilla Firefox.
TitleFixMatcher.IE= - (Microsoft|Windows) Internet Explorer.

TitleFixMatcher.Chrome= - Google Chrome.*
TitleFixReplacer.Firefox=
TitleFixReplacer.IE=
TitleFixReplacer.Chrome=
EnableSpecialDIBClipboardReader=True
WindowCornerCutShape=5,3,2,1,1
LeftClickAction=SHOW_CONTEXT_MENU
DoubleClickAction=OPEN_LAST_IN_EXPLORER
ZoomerEnabled=True
MaxMenuItemLength=25
MailApiTo=
MailApiCC=
MailApiBCC=
OptimizePNGCommand=
OptimizePNGCommandArguments="{0}"
LastSaveWithVersion=1.1.7.17
ProcessEXIFOrientation=True

Discussion

  • McViking
    McViking
    2014-06-12

    I have found the screenshot made by Greenshot itself during this failure :-)

     
  • Robin Krom
    Robin Krom
    2014-06-14

    Cool screenshot, uncool that Greenshot hangs.

    I found a bug where the hotkey, if it is kept pressed, makes Greenshot repeat the capturing process. But, as you said that you didn't do anything, this is unlikely. Unless something else accidentally pressed the PrintScreen key? (Book, cat, bird)

    I have seen another application trigger Greenshot, but this was also a single setup where this happened. And it didn't repeat.

    I honestly don't have a clue, maybe the fix in 1.2 (which I am working on) where I fix the repeat issue, helps.

    Please keep an eye open, maybe you notice something.

    Best wishes,
    Robin

     
  • Robin Krom
    Robin Krom
    2014-06-14

    • status: open --> pending-open
    • Resolution: none --> postponed