#1624 Erreur inattendue

1.1
open
nobody
None
none
5
2014-05-19
2014-03-28
Thomas
No

Lorsque je démarre le programme, une fenêtre s'ouvre dans laquelle il est écrit : "Désolé, une erreur innatendue s'est produite". Je ne peux donc plus utiliser greenshot.
En-dessous du message s'inscrit le texte suivant :

Software version: 1.1.5.2643 (64 bit)
.NET runtime version: 4.0.30319.1022
Time: 2014-03-28 13:07:35 +01:00
OS: Windows 7 Service Pack 1 (x64) 6.1 build 7601 revision 10000
GDI object count: 9
User object count: 2
Surface count: 0
Exception: System.TypeInitializationException
Message: Une exception a été levée par l'initialiseur de type pour 'Greenshot.Configuration.AppConfig'.

Stack:
à Greenshot.Configuration.AppConfig.UpgradeToIni()
à Greenshot.MainForm.Start(String[] args)
à Greenshot.GreenshotMain.Main(String[] args)
--- InnerException: ---
Exception: System.AccessViolationException
Message: Tentative de lecture ou d'écriture de mémoire protégée. Cela indique souvent qu'une autre mémoire est endommagée.

Stack:
à System.Text.RegularExpressions.RegexCompiler.Compile(RegexCode code, RegexOptions options)
à System.Text.RegularExpressions.Regex.Compile(RegexCode code, RegexOptions roptions)
à System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, Boolean useCache)
à Greenshot.Configuration.AppConfig..cctor()

Configuration dump:
[Core]
Language=fr-FR
RegionHotkey=PrintScreen
WindowHotkey=Alt + PrintScreen
FullscreenHotkey=Ctrl + PrintScreen
LastregionHotkey=Shift + PrintScreen
IEHotkey=Ctrl + Shift + PrintScreen
IsFirstLaunch=False
Destinations=Picker
ClipboardFormats=PNG,DIB
CaptureMousepointer=True
CaptureWindowsInteractive=False
CaptureDelay=100
ScreenCaptureMode=Auto
ScreenToCapture=1
WindowCaptureMode=Auto
WindowCaptureAllChildLocations=False
DWMBackgroundColor=Transparent
PlayCameraSound=False
ShowTrayNotification=True
OutputFilePath=C:\Users\bath\Desktop
OutputFileAllowOverwrite=True
OutputFileFilenamePattern=${capturetime:d"yyyy-MM-dd HH_mm_ss"}-${title}
OutputFileFormat=jpg
OutputFileReduceColors=False
OutputFileAutoReduceColors=False
OutputFileCopyPathToClipboard=True
OutputFileAsFullpath=C:\Users\bath\Desktop\2014-03-11 10_41_24-Google Maps.jpg
OutputFileJpegQuality=90
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=1
LastUpdateCheck=03/26/2014 07:50:46
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=False
MaxMenuItemLength=25
MailApiTo=
MailApiCC=
MailApiBCC=
OptimizePNGCommand=
OptimizePNGCommandArguments="{0}"
LastSaveWithVersion=1.1.5.2643

Discussion

  • Robin Krom
    Robin Krom
    2014-03-28

    This error is caused by having an old greenshot config, which might have a incompatible value, which Greenshot can't upgrade.

    You are probably better off if you just remove this config file, as it will take a bit longer to fix this.

    Before starting Greenshot, look in: C:\Users\<your username>\AppData\Roaming\Greenshot\ and move the config.dat somewhere else.

    P.s.
    Your Greenshot is old, better upgrade. 1.1.8 should be coming next week.

    Best wishes,
    Robin

     
  • Thomas
    Thomas
    2014-03-31

    Thanks for your fast response !

    I look in in the folder C:\Users\<your username>\AppData\Roaming\Greenshot\ and I didn't find the config.dat file. The folder contain just one file called Greenshot.ini.

     
  • Robin Krom
    Robin Krom
    2014-05-19

    This should now be fixed with 1.1.9, if the problem wasn't solved please update and let us know if this helped.

    Best wishes,
    Robin