Jump to content

PDN installer crashes: "System.AccessViolationException"

Recommended Posts

The full text of the error is:

Exception details:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at System.Drawing.SafeNativeMethods.Gdip.GdipCreateFontFromLogfontW(HandleRef hdc, Object lf, IntPtr& font)

at System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc)

at System.Drawing.Font.FromHfont(IntPtr hfont)

at System.Drawing.SystemFonts.get_DefaultFont()

at System.Windows.Forms.Control.get_Font()

at System.Windows.Forms.Control.AssignParent(Control value)

at System.Windows.Forms.Control.ControlCollection.Add(Control value)

at System.Windows.Forms.Form.ControlCollection.Add(Control value)

at PaintDotNet.PdnBaseForm..ctor()

at PaintDotNet.MainForm..ctor(String[] args)

at PaintDotNet.Startup.StartPart2()

at PaintDotNet.Startup.Start()

at PaintDotNet.Startup.Main(String[] args)


This happens when I launch the installer; I've tried both the release version and the beta version and both give me the same error.

Link to comment
Share on other sites

You probably have some corrupt fonts -- especially, the built-in fonts that come with Windows (esp. Arial, Verdana, Tahoma, etc.). You should try copying them from another computer running the same version of Windows.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...