Opened 16 years ago
Closed 16 years ago
#3353 closed defect (fixed)
c++ program freezes when trying to write into shared folder
Reported by: | aftershock | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 2.1.2 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
I wrote a c++ program that writes out some content into a file which is located in a shared folder which is supposed to be read/write (full access) I compiled it with gcc -g
" ostringstream tempvar44; (gdb) n 3176 fstream F; (gdb) n
die((tempvar44 <<"could not write "<< ofilename << "\n", tempvar44.str())); |
" at this line , the program freezes. It cannot be killed inside the guest kanotix linux. I have Windows Xp.
Change History (5)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
I could not make a smaller working program yet. However, it had to do with the guest folder as when I copied the file into a linux folder, The freezing no longer occured.
comment:3 by , 16 years ago
I mean when I ran my program on the copied version of the file, there was no freezing.
comment:4 by , 16 years ago
Michael's intension was to get a small sample application which allows us to reproduce the problem. In the subject you posted some code fragments. Could you post/atach a the code of a small application which can be compiled with gcc/g++?
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
There were some fixes to shared folders with Linux guests with VBox 3.0.2. Please reopen this ticket if the problem persists and provide a compilable example in that case.
Could you please post a complete programme which exhibits this behaviour? Thanks.