Strange corruption saving from Textpad 5 within Windows 7-64 VirtualBox VM to shared folder with Mac host

Posted by joelarson on Super User See other posts from Super User or by joelarson
Published on 2011-06-25T00:11:55Z Indexed on 2011/06/25 0:25 UTC
Read the original article Hit count: 250

Filed under:
|
|

I have a fairly new Window-7 64bit install running in Virtual Box on a MacBook Pro. I'm using TextPad 5 within that environment to edit source files that live on a shared folder that is on the Mac Host. When I save some of these source files, the saved file ends up with some amount of the end of the file repeated one or more times. For example, a file that has this at the end:

    ...
    return ttp;
    };

would, once saved, open up with:

   ...
   return ttp;
   };

};

It is definitely a problem with how the file gets written as opposed to how it's read, because I can see this now matter what app I use to open the file with (NotePad & Word in Windows 7, TextWrangler back in the Mac).

I've tried saving as ANSI and UTF-8, and with or without the 'Write Unicode and UTF-8 BOM' checked in TextPad preferences. It doesn't happen with all files though I can't see any pattern about which files do or don't have the problem. It doesn't happen with files written to the Windows 7 c:\ drive. And so far it doesn't happen from other applications saving files, only TextPad.

Any ideas?

My versions:

  • Textpad 5.4.2
  • Windows 7 Professional 64-bit, fully up to date
  • VirtualBox 4.0.8 r71778
  • OSX 10.6.7

© Super User or respective owner

Related posts about windows-7

Related posts about virtualbox