Re: ProtocolBuffer crash before program execution

2009-07-01 Thread Kenton Varda
Well, to be fair, Microsoft explicitly says that STL is not allowed to be used in library interfaces for this exact reason. However, protocol buffers was designed on a platform that had no such restriction, and we can't very well rewrite it now just because one platform -- that we don't even use

Re: ProtocolBuffer crash before program execution

2009-06-29 Thread rodrigob
I have uploaded the crash screenshot with Protobug 2.1.0 at http://files.getdropbox.com/u/185965/parking_planning/protobuf_crash_210.jpg as you can see the error is very similar. This problem is being a show stopper for us, any help will be greatly appreciated... Regards, rodrigob. On Jun 26,

Re: ProtocolBuffer crash before program execution

2009-06-29 Thread Kenton Varda
Sorry, I don't see what the problem could be. Make sure that you are compiling libprotobuf and your project with the same C runtime version (e.g. debug vs. non-debug, DLL vs. static, single-threaded vs. multi-threaded). If that doesn't help, can you send me a minimal example program that

Re: ProtocolBuffer crash before program execution

2009-06-26 Thread Kenton Varda
The stack trace you provided looks like it is from v2.0.3. The initialization code changed drastically in 2.1.0 -- the method DescriptorPool::InternalBuildGeneratedFile no longer exists, for example. Can you provide a stack trace using 2.1.0? On Fri, Jun 26, 2009 at 8:07 AM, rodrigob