bugmldonkey, a multi-networks file-sharing client - Bugs: bug #9427, Many "BAD WRITE",...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9427: Many "BAD WRITE", verification failed redownloading block

Submitted by:  None
Submitted on:  Tue 22 Jun 2004 10:20:33 PM UTC  
 
Category:  Core Severity:  5 - Blocker
Item Group:  Program malfunction Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  Release:  2.5.30.15
Operating System:  Linux Binaries Origin:  CVS / Self compiled
CPU type:  Intel x86

( Jump to the original submission)

Thu 25 May 2006 06:50:11 PM UTC, comment #16: 

Fixed by pango┬┤s WIP4a' patch #5130

spiralvoice <spiralvoice>
Project Administrator
Wed 17 Aug 2005 11:37:36 AM UTC, comment #15: 

Donwloading from http://www.legaltorrents.com with 2.6.2 + btfixup /win32:

Notably, there is also a bad reply 400 error which causes reset of a block. That again explains the "up-and-down" of progress.

2005/08/17 13:29:30 [HTTPcl]: 400: bad reply for: http://www.legaltorrents.com:7070/announce
2005/08/17 13:29:31 [cSw2] Complete block 1687 of go-open-vol-1 is corrupted (wrong hash), block is being resetted.
2005/08/17 13:29:31 [cSw2] Complete block 549 of wired-creative-commons-cd is corrupted (wrong hash), block is being resetted.
2005/08/17 13:29:31 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : field-trip-west-siberia-avi...
2005/08/17 13:29:33 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:29:34 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:29:36 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:29:37 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:29:38 [cSw2] Complete block 2109 of go-open-vol-1 is corrupted (wrong hash), block is being resetted.
2005/08/17 13:29:38 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:29:44 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : field-trip-west-siberia-avi...
2005/08/17 13:29:48 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : field-trip-west-siberia-avi...
2005/08/17 13:30:04 [cSw2] Complete block 836 of go-open-vol-1 is corrupted (wrong hash), block is being resetted.
2005/08/17 13:30:30 [HTTPcl]: 400: bad reply for: http://www.legaltorrents.com:7070/announce
2005/08/17 13:30:31 [cSw2] Complete block 513 of wired-creative-commons-cd is corrupted (wrong hash), block is being resetted.
2005/08/17 13:31:12 [cSw2] Complete block 1687 of go-open-vol-1 is corrupted (wrong hash), block is being resetted.
2005/08/17 13:31:12 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:31:15 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:31:18 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:31:20 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:31:22 [cSw2] Complete block 2109 of go-open-vol-1 is corrupted (wrong hash), block is being resetted.
2005/08/17 13:31:22 [BT]: BTClient.get_from_client ERROR: can't find a block to download and file is not yet finished for file : go-open-vol-1...
2005/08/17 13:31:30 [HTTPcl]: 400: bad reply for: http://www.legaltorrents.com:7070/announce
2005/08/17 13:31:31 [cSw2] Complete block 350 of wired-creative-commons-cd is corrupted (wrong hash), block is being resetted.
2005/08/17 13:32:30 [HTTPcl]: 400: bad reply for: http://www.legaltorrents.com:7070/announce
2005/08/17 13:33:30 [cSw2] Complete block 193 of wired-creative-commons-cd is corrupted (wrong hash), block is being resetted.
2005/08/17 13:33:31 [cSw2] Complete block 418 of go-open-vol-1 is corrupted (wrong hash), block is being resetted.
2005/08/17 13:33:31 [HTTPcl]: 400: bad reply for: http://www.legaltorrents.com:7070/announce
2005/08/17 13:34:31 [HTTPcl]: 400: bad reply for: http://www.legaltorrents.com:7070/announce
2005/08/17 13:34:31 [cSw2] Complete block 54 of wired-creative-commons-cd is corrupted (wrong hash), block is being resetted

Torsten Bergander <theos>
Thu 02 Jun 2005 08:39:37 PM UTC, comment #14: 

Setup local Azureus, created a .torrent from MLDonkey CVS 2.5.30.15 directory (many subdirs, many files) and used Azureus local tracker.
Used MLDonkey CVS 2005/06/02 and got this:

BT: received unknown entry in answer from tracker: "downloaded"
Exception in really_write: pos=15660 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 18 0[16384]
Verification of complete block 18 of mldonkey-2.5.16 FAILED, redownloading it.
Exception in really_write: pos=5291 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 214 0[16384]
Verification of complete block 214 of mldonkey-2.5.16 FAILED, redownloading it.
Exception in really_write: pos=14066 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 26 0[16384]
Verification of complete block 26 of mldonkey-2.5.16 FAILED, redownloading it.
BT: received unknown entry in answer from tracker: "downloaded"
Exception in really_write: pos=14066 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 26 0[16384]
Exception in really_write: pos=15660 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 18 0[16384]
Verification of complete block 18 of mldonkey-2.5.16 FAILED, redownloading it.
Verification of complete block 26 of mldonkey-2.5.16 FAILED, redownloading it.
Exception in really_write: pos=5291 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 214 0[16384]
Verification of complete block 214 of mldonkey-2.5.16 FAILED, redownloading it.
Exception in really_write: pos=15660 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 18 0[16384]
Exception in really_write: pos=14066 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 26 0[16384]
Verification of complete block 18 of mldonkey-2.5.16 FAILED, redownloading it.
Verification of complete block 26 of mldonkey-2.5.16 FAILED, redownloading it.
Exception in really_write: pos=5291 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 214 0[16384]
Verification of complete block 214 of mldonkey-2.5.16 FAILED, redownloading it.
Exception in really_write: pos=15660 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 18 0[16384]
Exception in really_write: pos=14066 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 26 0[16384]
Verification of complete block 18 of mldonkey-2.5.16 FAILED, redownloading it.
Verification of complete block 26 of mldonkey-2.5.16 FAILED, redownloading it.
Exception in really_write: pos=5291 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 214 0[16384]
Verification of complete block 214 of mldonkey-2.5.16 FAILED, redownloading it.
BT: received unknown entry in answer from tracker: "downloaded"
Exception in really_write: pos=5291 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 214 0[16384]
Exception in really_write: pos=15660 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 18 0[16384]
Verification of complete block 18 of mldonkey-2.5.16 FAILED, redownloading it.
Verification of complete block 214 of mldonkey-2.5.16 FAILED, redownloading it.
Exception in really_write: pos=14066 len=0, string length=16392
Error End_of_file while handling MESSAGE: Piece 26 0[16384]
Verification of complete block 26 of mldonkey-2.5.16 FAILED, redownloading it.

and it goes on and on, the files does not finish, MLDonkey
has downloaded 12.0MB from 12.1 MB, 99%

spiralvoice <spiralvoice>
Project Administrator
Sat 14 May 2005 12:36:52 PM UTC, comment #13: 

also see savannah bug #11073 for more info and bad effect on bt downloads.

Amorphous <amorphous>
Mon 25 Apr 2005 08:05:36 PM UTC, comment #12: 

just corrupt data? well its almost in ANY downloads i do from bittorrent.. this cant be real

Anonymous
Thu 07 Apr 2005 07:51:35 AM UTC, comment #11: 
Amorphous <amorphous>
Wed 06 Apr 2005 12:18:48 AM UTC, comment #10: 

this may cause corruption under certain conditions (i'm not sure, it's a guess, this message could simply be caused by a client that sends corrupt data):
example: "Verification of complete block 4057 of FILENAME FAILED, redownloading it."

the problem seems to increase with more peers we concurrently download from.

see also
http://mldonkey.berlios.de/modules.php?name=Forums&file=viewtopic&t=3379

Amorphous <amorphous>
Sat 19 Mar 2005 03:54:53 PM UTC, comment #9: 

Enabling "buffer_write" experimental option the problem persists but it's more rare

Laurento Frittella <mrfree>
Sat 19 Mar 2005 06:02:52 AM UTC, comment #8: 

oh forgot to add that i'm talking about version 2.5.30ab (that happened at least from .29 onwards (and with .28 with swarming2), don't know about swarming1)

Amorphous <amorphous>
Sat 19 Mar 2005 05:59:32 AM UTC, comment #7: 

i don't know if the fault is the swarming2-system or the code that selects the ranges to download or the one that writes them, but this is a frequent logmessage (verbose_hidden_errors must be on) with bt and edonkey downloads. and i guess it's the fault for some corrupt chunks that get redownloaded.

Amorphous <amorphous>
Fri 27 Aug 2004 02:59:44 PM UTC, comment #6: 

OK using 2.5.28 CVS all seems to work well now ;)

Laurento Frittella <mrfree>
Thu 19 Aug 2004 10:51:06 AM UTC, comment #5: 

Please test CVS 2-5-28
"2004/08/16: Fabrice
  - Bug fixes:
      * CommonSwarming: one bug causing BAD WRITE, and one bug causing bad
          selection of the block to download first."

spiralvoice <spiralvoice>
Project Administrator
Tue 10 Aug 2004 06:49:02 PM UTC, comment #4: 

Please check if this bug still is in current CVS version.
You should find a tarball of current CVS in files section of
this project: http://savannah.nongnu.org/download/mldonkey/

spiralvoice <spiralvoice>
Project Administrator
Fri 23 Jul 2004 04:19:29 PM UTC, comment #3: 

My HDD is clean:
badblocks /dev/vg/home
return no errors
(I'm using Reiserfs on LVM2)

Bad write causes chunks lost and this affect my total download time :(

Laurento Frittella <mrfree>
Thu 22 Jul 2004 11:07:44 PM UTC, comment #2: 

Did you check the integrity of your HDD? I had such messages, too, without harming the downloaded data or download speed. You could turn off logging if you experience bad speed due to logging.

spiralvoice <spiralvoice>
Project Administrator
Wed 23 Jun 2004 12:31:00 PM UTC, comment #1: 

I've forgotten to say...

the problem persists independently from the option buffer_writes

Laurento Frittella <mrfree>
Tue 22 Jun 2004 10:20:33 PM UTC, original submission:  

I find many of this messages in my mldonkey log:

[ERROR CommonSwarming]: BAD WRITE
  received: file_pos:1462039 string:25 875
  ranges:
     range: 1290240-[1462635]-1474560  next: 1474560
        block: 0[1] 0-1890240 [partial] first range: 1290240(11925)
     range: 1474560-[1636365]-1658880  next: 1658880  prev: 1290240
        block: 0[1] 0-1890240 [partial] first range: 1290240(11925)
     range: 1658880-[1658880]-1843200  prev: 1474560
        block: 0[1] 0-1890240 [partial] first range: 1290240(11925)
[ERROR CommonSwarming]: BAD WRITE
  received: file_pos:1828161 string:25 882
  ranges:
     range: 1658880-[1828349]-1843200
        block: 0[1] 0-1890240 [partial] first range: 1658880(14851)
WARN  : VERIFICATION OF BLOC 0 OF <<filename>> FAILED

This slow down my downloads :(

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 8 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-05-25 spiralvoice StatusNone => Fixed
    Open/ClosedOpen => Closed
2005-06-25 spiralvoice Severity4 - Important => 5 - Blocker
2005-06-02 spiralvoice Release2-5-21 => 2.5.30.15
    Releaseg =>
2005-04-06 amorphous SummaryMany "BAD WRITE" in log => Many "BAD WRITE", verification failed redownloading block
2005-03-19 amorphous CategoryeDonkey-Plugin => Core
    Severity3 - Normal => 4 - Important

Back to the top


Powered by Savane 3.5