Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf

I am running Photorec 6.14-WIP on a 2TB Seagate external HD. My main priority is recovery of jpegs and I have already successfully recovered thousands of these (thank you for a brialliant product). However, Photorec appears to have entered an endless loop cycling around a number of sectors and this seems to be caused by a .cr2 file. It is the last file recovered and when I look at it in Windows Explorer (i.e. the copy Photorec has made on another external HD) the size of the file is cycling through a range from 0KB to 3MB to 9MB. Photorec has been stuck on this file for over 7 hours now.
I have made a copy of the problematic file but could not attach it because the extension cr2 was not allowed for attachments. Incidentally I made several attempts to copy the file and got a different file size each time, depending on its size at the moment when the copy was made. The one I have appears to be the largest version of the file.
I also could not attach the Photorec session log because the extension ses was not allowed. The following is the beginning of the file when I opened it in notepad, don't know if this tells you anything:
"#1364966347
/dev/sdb partition_i386,1,blocksize,512,fileopt,ext,disable,lit,disable,options,paranoid,keep_corrupted_file_no,wholespace,search,status=ext2_off,2743631464,inter
2048-3155
3157-3173
3175-3239
3242-3242
3244-3267
3298-3298
3360-3498
3500-3789
3804-4202
4206-4206
4218-4218
4225-4225
4240-4240
4242-4242
4245-4245
4247-4247
4254-4254
4264-4264
4271-4271
4276-4276
4278-4278
4281-4281
4284-4294
4341-4342
4517-32126
32268-90966
91108-166782
166983-185710
186502-214590
214730-242638
242639-242713
291452-291470
291471-291545"
It just goes on like that through many pages of numbers right to the end.

Update: While I was typing this post Photorec stopped and gave the error message "Photorec has been unable to create new file....". I have attached a screen shot of this.
Please let me know if there is anything I can do to get around this file and continue the recovery as there still appears to be about one third of the HD to go.
I am using Photorec because we couldn't work out how to use TestDisk safely and were afraid of ruining our chances of any recovery of the jpegs. We are planning to try TestDisk again once we have recovered all the jpegs.
Thank you and regards
Catherine