Re: Release Crash with Ofstream

2009-02-03 Thread fedor . labounko
> Was libprotobuf.lib compiled in the same mode (debug vs. release) and with > the same version of MSVC as your project? If not, it could be a binary > compatibility issue between the various versions of the CRT that MSVC uses > in different modes. Unfortunately it was. I've been double and trip

Re: Release Crash with Ofstream

2009-02-03 Thread Kenton Varda
Was libprotobuf.lib compiled in the same mode (debug vs. release) and with the same version of MSVC as your project? If not, it could be a binary compatibility issue between the various versions of the CRT that MSVC uses in different modes. Otherwise I don't have any ideas. On Tue, Feb 3, 2009 a

Release Crash with Ofstream

2009-02-03 Thread fedor . labounko
Hi, I'm trying to use protobuf and am experiencing a release mode static initialization crash. Specifically a crash in FileOptions::Clear(). Partial stack trace follows the message. We're using MS Visual C++ 2005 to compile libprotobuf.lib and libprotoc.lib statically (rev 89, 2.0.4-SNAPSHOT), an