VirtualBox

Ticket #8463 (new defect)

Opened 3 years ago

Last modified 6 months ago

Protocol error when using strip over shared folders.

Reported by: kwhat Owned by:
Priority: major Component: shared folders
Version: VirtualBox 4.0.4 Keywords: Protocol error
Cc: Guest type: Linux
Host type: Linux

Description

Steps to reproduce: Share a folder to a Linux guest. Copy a dll file to the share folder. (I used the taskschd.dll to test) On the linux guest run strip /path/to/mounted/share/taskschd.dll and you get "strip:./st9tAIQu: Protocol error" Now to prove a point copy that dll to somewhere on the guest disk, cp /path/to/mounted/share/taskschd.dll /tmp ; strip /tmp and notice that there is no error.

I have absolutely no idea why this only happens with dll files. I am able to strip shared object files without issue. I am also able to strip dll files on windows using mingw from shared folders with no issues. This happens with every dll I have tired. Both the guest and host OS are gentoo.

Change History

comment:1 Changed 11 months ago by dougborg

I am running into the same problem. I have not yet figured out a fix or a work-around. I am running VirtualBox 4.12 on a Mac OSX 10.8 host with a Debian Squeeze guest.

EDIT: I am using the 4.12 version of the Guest Additions as well:

machine:root# modinfo vboxsf
filename:       /lib/modules/2.6.32-5-amd64/updates/dkms/vboxsf.ko
version:        4.2.12 (interface 0x00010004)
license:        GPL
author:         Oracle Corporation
description:    Oracle VM VirtualBox VFS Module for Host File System Access
srcversion:     C7A03F0E68482FC1229FEE5
depends:        vboxguest,nls_base
vermagic:       2.6.32-5-amd64 SMP mod_unload modversions
parm:           follow_symlinks:Let host resolve symlinks rather than showing them (int)
Last edited 11 months ago by dougborg (previous) (diff)

comment:2 Changed 6 months ago by larskanis

I have the same problem when running Ubuntu-12.04 64 Bit VM on Ubuntu-13.10 64 Bit. strip does not work on a shared folder:

$ i686-w64-mingw32-strip zlib1.dll
i686-w64-mingw32-strip:st7VXEcU: Protocol error

Module for shared folders is:

vagrant@precise64:/vagrant/nokogiri$ modinfo vboxsf
filename:       /lib/modules/3.2.0-23-generic/misc/vboxsf.ko
version:        4.2.0 (interface 0x00010004)
license:        GPL
author:         Oracle Corporation
description:    Oracle VM VirtualBox VFS Module for Host File System Access
srcversion:     7C0A7927C2C19F0B88EB55A
depends:        vboxguest
vermagic:       3.2.0-23-generic SMP mod_unload modversions 
parm:           follow_symlinks:Let host resolve symlinks rather than showing them (int)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use