VirtualBox

Ticket #10246 (closed defect: fixed)

Opened 2 years ago

Last modified 6 months ago

Problem writing on shared drive via C++ ofstream

Reported by: YellowMan Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.8 Keywords:
Cc: Guest type: Linux
Host type: Linux

Description

Hi,

My configuration is: -- VirtualBox 4.1.8 with GuestAdditions -- Host: GNU/Linux Debian squeeze -- Guest: GNU/Linux Ubuntu Gutsy

Using the C++ ofstream library (in the gest OS) to write a binary file on a shared folder (on the host drive), the program writes only 'zeros' (automounted, but same behavior when manualy mounted). The output is Ok when writing small files, or if the output is on the guest file-system. Also, when using fwrite (stdio.h) instead of write (ofstream) it works fine.

This is very similar to a bug that was said to be fixed in virtualbox 2.2.4 : virtualbox/ticket/1187

Attachments

VBox.log.1 Download (81.0 KB) - added by YellowMan 2 years ago.

Change History

Changed 2 years ago by YellowMan

comment:1 Changed 2 years ago by YellowMan

It works fine with nfs and samba. I asssume this is a bug from VB Guest Additions...

Last edited 2 years ago by YellowMan (previous) (diff)

comment:2 Changed 13 months ago by frank

Still relevant with VBox 4.2.10? If so, please attach a small testcase showing the problem.

comment:3 Changed 6 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

No response, closing.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use