[jcifs] RE: jCIFS corrupt files

Allen, Michael B (RSCH) michael_b_allen at ml.com
Wed Oct 1 11:19:10 EST 2003


I will need some time to look at this more closely. There are many offsets and lengths and things that I can look at in the capture. Just from a preliminary examination it does look like some numbers
don't quote add up which could lead to what looks like 66 bytes being lost at the end of the first write (at least).

I know Chris would be great at confirming my suspicions (nudge, nudge)

 <<badxmlwritecap.zip>>  <<badxml.zip>> 
Right now I have something non-jCIFS related to take care of.

Also, what version of jCIFS generated this capture?

Mike

> -----Original Message-----
> From:	barry.roberts at xactsites.com [SMTP:barry.roberts at xactsites.com]
> Sent:	Tuesday, September 30, 2003 6:19 PM
> To:	Michael_B_Allen at ml.com
> Subject:	jCIFS corrupt files
> 
> I e-mailed you a while back about corrupt file in my web app ( <http://lists.samba.org/pipermail/jcifs/2003-August/002514.html>).  I have some more info now, but not exactly what you asked for.
> 
> Attached is a packet capture (from ethereal) of a bad xml write.  It's pretty obvious from the capture what the file is supposed to look like.
> 
> In my app if I write the file to the local disk, it's ok.  It's only when writing with an SmbFileOutputStream that it gets corrupted.
> 
> It will be difficult to capture a transition from good to bad.  I have to run a siege script on my web app, sometimes for several minutes before it goes bad.
> 
> I would have sent this to the list, but I'm not sure what the policy is on attachments, etc.
> 
> Thanks,
> Barry Roberts 
>  << File: badxmlwritecap.zip >> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: badxmlwritecap.zip
Type: application/octet-stream
Size: 13827 bytes
Desc: not available
Url : http://lists.samba.org/archive/jcifs/attachments/20030930/4e1bdd70/badxmlwritecap.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: badxml.zip
Type: application/octet-stream
Size: 3837 bytes
Desc: not available
Url : http://lists.samba.org/archive/jcifs/attachments/20030930/4e1bdd70/badxml.obj


More information about the jcifs mailing list