VirtualBox

Opened 6 years ago

Last modified 5 years ago

#18675 assigned defect

File corruption on shared folder - Linux host + Windows 7 guest

Reported by: Parazythum Owned by: bird
Component: shared folders Version: VirtualBox 6.0.8
Keywords: Cc:
Guest type: Windows Host type: Linux

Description

Setup : Host : Ubuntu 16.04 x64 Guest : Windows 7 x64 Shared folder (on ext4 partition) between host and guest

I'm using a Windows 7 virtual machine only for Adobe Photoshop CS6 x64.

Before v6.0.8 I installed v6.0.6 only briefly, I had to revert back to 6.0.4 because of the mouse integration bug. So I for the present issue I installed 6.0.8 over 6.0.4.

I encountered a strange behaviour with the shared folder I'm using to exchange files between the host and the guest. In Photoshop CS6 x64, after I installed VirtualBox v6.0.8, sometimes Photoshop tells me it couldn't read the TIFF files I had worked on before. And when it could, sometimes the content was scrambled. I checked my images in other software (under Windows and Ubuntu) : correct. I opened the files in the VM with Photoshop CS6 x32 this time : correct. I checked my TIFF files with an utility called jHove, which checks the TIF file integrity : no errors. So my image files are without flaws. I can save them in Photoshop but not read them back, at least in the x64 version. Weird. I also copied the files directly on the guest : this time Photoshop CS6 x64 was happy.

For 2 days I have tested many things. It only occurs in Photoshop CS6 x64, when I'm using the shared folder.

So I decided to revert back to VirtualBox v6.0.4, and dang! Photoshop CS6 x64 was happy again with my files...

So my conclusion is the problem comes from the shared folder functions, but only when reading my files, not when I'm writing.

I'm including my v6.0.4 last log file, I didn't think about saving one when I was under v6.0.8 sorry.

Attachments (2)

VBox.log (195.8 KB ) - added by Parazythum 5 years ago.
VBox6.0.8+GuestAdditions6.0.6.log (205.4 KB ) - added by Parazythum 5 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 by bird, 6 years ago

Did you upgrade the guest additions?

comment:2 by bird, 6 years ago

Wonder if you could share one of the problematic TIFF files, or give some clue as to their dimensions, file size and such. Would make it easier to reproduce the issue.

comment:3 by bird, 6 years ago

I've not been able to reproduce the issue.

comment:4 by bird, 6 years ago

Owner: set to bird
Status: newassigned

in reply to:  1 comment:5 by Parazythum, 6 years ago

Replying to bird:

Did you upgrade the guest additions?

Yes I upgraded the guest additions, installed in safe mode

Last edited 6 years ago by Parazythum (previous) (diff)

in reply to:  2 comment:6 by Parazythum, 6 years ago

Replying to bird:

Wonder if you could share one of the problematic TIFF files, or give some clue as to their dimensions, file size and such. Would make it easier to reproduce the issue.

My version of Photoshop CS6 is 13.0.1.3 (I applied the last known update)

The TIF files are not very big : ~20Mpx (5192x3896, 8-bit RGB) - Total file size LZW-compressed = 42Mb I also checked the file permissions, set them to 777.

The problem is not the files themselves : when I'm trying to read them from the shared resource, some seem corrupt, others not. Sometimes when they are read the content is corrupt, sometimes not. When Photoshop tells me they are corrupt, it's always the same files so it's not a random problem. What makes me say that the problem comes from the shared resource : when I copy the images on the Windows 7 VM's drive (for example c:\temp), Photoshop reads them all! Also, the problem occurs only in Photoshop x64, NOT using the x32 version. xnViewMP x64 reads the files alright from the shared resource.

Looking at the versions history, I saw that there were changes made in the shared resources code in VirtualBox v6.06, maybe there was a bug introduced? All works well for me with v6.0.4

Last edited 6 years ago by Parazythum (previous) (diff)

comment:7 by Parazythum, 6 years ago

I just tried the same VM on another computer with VirtualBox v6.0.8, a folder shared the same way on an ext4 partition, the same images.

I can't reproduce the problem :(

I'll have to wait to return home in a few days to test again on the first computer... this time with v6.0.8 or even v6.0.9 so I can send you the log file

Last edited 6 years ago by Parazythum (previous) (diff)

comment:8 by Parazythum, 5 years ago

OK here is an update.

I upgraded the packages on my ubuntu 16.04, I am now in kernel version 4.4.0-150 I reinstalled VirtualBox v6.0.8. Launched, tried Photoshop: all went well, it loaded my images. But I still had Guest Additions v6.0.4 installed. So I installed the v6.0.8 Guest Additions (in safe mode of course). Rebooted. Tried Photoshop: errors on my files. Ah-ah!

Attachment : the log file, from this last attempt with v6.0.8 this time (I replaced the old one).

Version 1, edited 5 years ago by Parazythum (previous) (next) (diff)

by Parazythum, 5 years ago

Attachment: VBox.log added

comment:9 by Parazythum, 5 years ago

Test with VB 6.0.8 + Guest Additions 6.0.6: all good ! This time it's obvious: the errors only occur with the Guest Additions 6.0.8.

Log file attached.

by Parazythum, 5 years ago

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette