Jump to content

Corrupted PDN? Freezes PC for 20min before aborting


Recommended Posts

System.IO.IOException: Data error (cyclic redundancy check).

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.ReadCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.Read(Byte[] array, Int32 offset, Int32 count)
   at PaintDotNet.IO.SiphonStream.Read(Byte[] buffer, Int32 offset, Int32 count) in D:\src\pdn\src\Base\IO\SiphonStream.cs:line 130
   at PaintDotNet.IO.StreamExtensions.ProperRead(Stream input, Byte[] buffer, Int32 offset, Int32 count) in D:\src\pdn\src\Base\IO\StreamExtensions.cs:line 129
   at PaintDotNet.MemoryBlock.PaintDotNet.Serialization.IDeferredSerializable.FinishDeserialization(Stream input, DeferredFormatter formatter) in D:\src\pdn\src\Core\MemoryBlock.cs:line 755
   at PaintDotNet.Serialization.DeferredFormatter.FinishDeserialization(Stream input) in D:\src\pdn\src\Core\Serialization\DeferredFormatter.cs:line 139
   at PaintDotNet.Document.FromStream(Stream stream) in D:\src\pdn\src\Data\Document.cs:line 1443
   at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 496
   at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158

When trying to open a specific PDN, the whole PC freezes (impossibility to access the Task Manager, to kill it, or anything else really) before aborting with this Error.


I'm using the latest version of Paint.NET.


Hopefully this report is useful and something can be done about it.


Thanks in advance!


EDIT: It seems to me opening any PDN takes slower than usual but they eventually open, unlike that specific one.

Edited by JeromeJ
Link to comment
Share on other sites

Have you tried copying the file onto one of your other drives, and then opening the copy?


I would also recommend trying to open the file while in Windows Safe Mode...  Just in case you have some sort of overzealous "security" software doing some low-level disk sandboxing or the like.


1 hour ago, JeromeJ said:

(Should I run it on `C:` as well?)

Probably won't make a difference if it's a separate disk. Or is it just a separate partition on the same disk?

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

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...