MD sometimes fail to write the last datablock.

Author Message
Jan M 09/11/2009 08:36 am
Hello.. I''m using 3.7.808 SR1

This has happened to me twice that I know of.
It seems MD sometimes "forgets" to write the last datablock of a file..
The file ends up the correct filesize etc, but the end contains hex 00 (I haven''t measured how long) instead of the proper data.
When it happens, the end of the file seems to contain part (or whole) of the url I was downloading.
It seems to always be the last block when it happens, I''ve haven''t encountered a file which was corrupt in the middle.

I''m not really sure on how to reproduce it because downloading the same file again results in a correct file.
I''ve thought about running with logging, but I think it can take weeks between when it happens.

Oh, and for some reason, on occation MD stops downloading a file at 200KB and the file needs to be started again to be downloaded.
I first thought it was limited to a single domain, but it has happened on other sites too, such as
the file http://www.lavalys.com/beta/everestultimate_build_1841_pk9gd5ujrwf.zip

Jan
AlexanderBa 09/16/2009 05:45 am
Nevertheless could you please make the download log? I couldn''t reproduce the problem too.

AlexanderBa,
MP Staff.
Jan 11/18/2009 01:31 am
I haven't been able to make a proper log with anything resembling usable information..
However, it just happened again. Based on the information below it has read/written everything but 2822 bytes (Size-BytesRead).

This time the project is listed as 100% complete, but the file hasn't been renamed yet (it still has the .mass extension), and the end of the file contains the same garbage (I have anonymized it a bit):

[FILE]URL=
[FILE]AlternateIndex=-1
[FILE]AlternateURLs=
[FILE]Name=example.avi
[FILE]Size=711038976
[FILE]BytesRead=711036154
[FILE]ChunkedBytes=0
[FILE]Tasks=5
[FILE]UniID=1116
[FILE]CanResume=1
[FILE]ResumeSupport=0
[FILE]DoNotResume=0
[FILE]BlockSize=138876
[FILE]Protocol=0
[FILE]Referer=
[FILE]FTPData=KD
[FILE]ElapsedTime=000000E4B38A903F
[FILE]ClosedReget=0
[HTTP0]Start=707084346
[HTTP0]End=707084345
[HTTP0]Offset=0
[HTTP1]Start=707084346
[HTTP1]End=707084345
[HTTP1]Offset=0
[HTTP2]Start=707159844
[HTTP2]End=707159843
[HTTP2]Offset=0
[HTTP3]Start=568836096
[HTTP3]End=568836095
[HTTP3]Offset=0
[HTTP4]Start=707235341
[HTTP4]End=707235340
[HTTP4]Offset=0
[]Start=0
[]End=0
[]Offset=0

I tried to import the file, but MD tells me it doesn't contain resume information.
When this happens there is currently no way other than redownloading the whole file (678 MB compared to 2822 bytes) even though the server supports resume.

The only difference between this time and the previous is that the file still has the .mass extension.
In the previous one the file was renamed, but still contained the garbage at the end rather than the data it should contain.
AlexanderBa 11/18/2009 05:32 am
Unfortunately, we cannot solve the problem without log.
For making the log please check all settings under the Log tab in the Project properties dialog for the selected project. Start downloading. After it is done, if this error appeared, right-click in the Log view window and select "Save to file" item from the pop-up menu. Save file, pack it using WinZip or etc program and email it to support@metaproducts.com as attachment.