Author Topic: Par2-Repair miscalulating bug  (Read 2379 times)

Offline davidq666

  • Contributor
  • ***
  • Posts: 1302
  • Watashi Wa Ero Desu!
Par2-Repair miscalulating bug
« on: November 11, 2010, 01:40:03 pm »
Over time there has been one bug that is rather odd. Alt.binz downloads a collection, calculates that x blocks are needed, downloads them, tries to repair the post and fails. The reason for failing is:
You have x recovery blocks available
Repair is not possible.
You need y more recovery blocks to be able to repair.

After that everything comes to a hold. If you unpause the necessary blocks manualy the whole process goes through. Going through the log i've found a recent example:


23.10.2010 12:07:53] [PAR2&Unrar] wurst.par2 needs 1 more blocks, 99 available
[23.10.2010 12:07:53] [PAR2&Unrar] wurst.par2 unpaused 1 blocks
...
[23.10.2010 12:07:57] [PAR2&Unrar] Repairing wurst.par2
[23.10.2010 12:07:57] [PAR2&Unrar] "c:\download\wurst" Par2 repair started
...
23.10.2010 12:08:11] [PAR2&Unrar] "c:\download\wurst" Par2 repair failed
[23.10.2010 12:08:11] [PAR2&Unrar] Loading "wurst.par2".
[23.10.2010 12:08:11] [PAR2&Unrar] Loaded 108 new packets
[23.10.2010 12:08:11] [PAR2&Unrar] Loading "wurst.vol00+01.par2".
[23.10.2010 12:08:11] [PAR2&Unrar] Loaded 1 new packets including 1 recovery blocks
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] There are 53 recoverable files and 0 other files.
[23.10.2010 12:08:11] [PAR2&Unrar] The block size used was 768000 bytes.
[23.10.2010 12:08:11] [PAR2&Unrar] There are a total of 988 data blocks.
[23.10.2010 12:08:11] [PAR2&Unrar] The total size of the data files is 738568780 bytes.
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] Verifying source files:
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.nfo" - missing.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r00" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r01" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r02" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r03" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r04" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r05" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r06" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r07" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r08" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r09" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r10" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r11" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r12" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r13" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r14" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r15" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r16" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r17" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r18" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r19" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r20" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r21" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r22" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r23" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r24" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r25" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r26" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r27" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r28" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r29" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r30" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r31" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r32" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r33" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r34" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r35" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r36" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r37" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r38" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r39" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r40" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r41" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r42" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r43" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r44" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r45" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r46" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r47" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r48" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.rar" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.sfv" - missing.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.srr" - missing.
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] Scanning extra files:
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] Repair is required.
[23.10.2010 12:08:11] [PAR2&Unrar] 3 file(s) are missing.
[23.10.2010 12:08:11] [PAR2&Unrar] 50 file(s) are ok.
[23.10.2010 12:08:11] [PAR2&Unrar] You have 985 out of 988 data blocks available.
[23.10.2010 12:08:11] [PAR2&Unrar] You have 1 recovery blocks available.
[23.10.2010 12:08:11] [PAR2&Unrar] Repair is not possible.
[23.10.2010 12:08:11] [PAR2&Unrar] You need 2 more recovery blocks to be able to repair.
[23.10.2010 12:08:11] [PAR2&Unrar]

Offline Rdl

  • Administrator
  • *****
  • Posts: 4073
Re: Par2-Repair miscalulating bug
« Reply #1 on: November 11, 2010, 02:27:16 pm »
Over time there has been one bug that is rather odd. Alt.binz downloads a collection, calculates that x blocks are needed, downloads them, tries to repair the post and fails. The reason for failing is:
You have x recovery blocks available
Repair is not possible.
You need y more recovery blocks to be able to repair.

After that everything comes to a hold. If you unpause the necessary blocks manualy the whole process goes through. Going through the log i've found a recent example:


23.10.2010 12:07:53] [PAR2&Unrar] wurst.par2 needs 1 more blocks, 99 available
[23.10.2010 12:07:53] [PAR2&Unrar] wurst.par2 unpaused 1 blocks
...
[23.10.2010 12:07:57] [PAR2&Unrar] Repairing wurst.par2
[23.10.2010 12:07:57] [PAR2&Unrar] "c:\download\wurst" Par2 repair started
...
23.10.2010 12:08:11] [PAR2&Unrar] "c:\download\wurst" Par2 repair failed
[23.10.2010 12:08:11] [PAR2&Unrar] Loading "wurst.par2".
[23.10.2010 12:08:11] [PAR2&Unrar] Loaded 108 new packets
[23.10.2010 12:08:11] [PAR2&Unrar] Loading "wurst.vol00+01.par2".
[23.10.2010 12:08:11] [PAR2&Unrar] Loaded 1 new packets including 1 recovery blocks
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] There are 53 recoverable files and 0 other files.
[23.10.2010 12:08:11] [PAR2&Unrar] The block size used was 768000 bytes.
[23.10.2010 12:08:11] [PAR2&Unrar] There are a total of 988 data blocks.
[23.10.2010 12:08:11] [PAR2&Unrar] The total size of the data files is 738568780 bytes.
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] Verifying source files:
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.nfo" - missing.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r00" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r01" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r02" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r03" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r04" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r05" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r06" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r07" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r08" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r09" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r10" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r11" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r12" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r13" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r14" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r15" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r16" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r17" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r18" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r19" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r20" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r21" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r22" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r23" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r24" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r25" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r26" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r27" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r28" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r29" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r30" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r31" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r32" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r33" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r34" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r35" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r36" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r37" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r38" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r39" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r40" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r41" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r42" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r43" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r44" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r45" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r46" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r47" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.r48" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.rar" - found.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.sfv" - missing.
[23.10.2010 12:08:11] [PAR2&Unrar] Target: "wurst.srr" - missing.
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] Scanning extra files:
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar]
[23.10.2010 12:08:11] [PAR2&Unrar] Repair is required.
[23.10.2010 12:08:11] [PAR2&Unrar] 3 file(s) are missing.
[23.10.2010 12:08:11] [PAR2&Unrar] 50 file(s) are ok.
[23.10.2010 12:08:11] [PAR2&Unrar] You have 985 out of 988 data blocks available.
[23.10.2010 12:08:11] [PAR2&Unrar] You have 1 recovery blocks available.
[23.10.2010 12:08:11] [PAR2&Unrar] Repair is not possible.
[23.10.2010 12:08:11] [PAR2&Unrar] You need 2 more recovery blocks to be able to repair.
[23.10.2010 12:08:11] [PAR2&Unrar]
It would be nice to see report by altbinz for that set. Was nfo/sfv/srr downloaded? Was any file misnamed? Whos par2.exe was used?
Original par 0.4/tbb multicore 0.4/phpar2 1.x all suffer from the same bug of not detecting certain blocks in some situations.

Offline davidq666

  • Contributor
  • ***
  • Posts: 1302
  • Watashi Wa Ero Desu!
Re: Par2-Repair miscalulating bug
« Reply #2 on: November 11, 2010, 07:31:49 pm »
It would be nice to see report by altbinz for that set. Was nfo/sfv/srr downloaded? Was any file misnamed? Whos par2.exe was used?
Original par 0.4/tbb multicore 0.4/phpar2 1.x all suffer from the same bug of not detecting certain blocks in some situations.

nfo wasn't downloaded sfv/srr were downloaded and mislabeld. phpar2 version 1,3 was used.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4073
Re: Par2-Repair miscalulating bug
« Reply #3 on: November 11, 2010, 08:45:33 pm »
Ok, that explains everything. I'll try to fix that problem ASAP

Offline davidq666

  • Contributor
  • ***
  • Posts: 1302
  • Watashi Wa Ero Desu!
Re: Par2-Repair miscalulating bug
« Reply #4 on: November 12, 2010, 09:17:16 am »
great news! so do u still need to see the report for that set?