VirtualBox

Opened 12 years ago

Closed 10 years ago

#10246 closed defect (fixed)

Problem writing on shared drive via C++ ofstream

Reported by: YellowMan Owned by:
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 (1)

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

Download all attachments as: .zip

Change History (4)

by YellowMan, 12 years ago

Attachment: VBox.log.1 added

comment:1 by YellowMan, 12 years ago

It works fine with nfs, i did not try with samba. I asssume this is a bug from VB Guest Additions...

Version 0, edited 12 years ago by YellowMan (next)

comment:2 by Frank Mehnert, 11 years ago

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

comment:3 by Frank Mehnert, 10 years ago

Resolution: fixed
Status: newclosed

No response, closing.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use