[protobuf] Re: valgrind invalid write and double free errors

2010-10-15 Thread CB
On Oct 14, 2:30 pm, Evan Jones ev...@mit.edu wrote: On Oct 14, 2010, at 11:32 , CB wrote: Actually, yes, we have a shared library containing our protobuf code, which we do load with dlopen.  A command line option tells the app which protocol it needs to use, and the app loads the

[protobuf] Re: valgrind invalid write and double free errors

2010-10-14 Thread CB
You aren't doing anything strange like using dlopen() to dynamically   load/unload libraries, are you? Actually, yes, we have a shared library containing our protobuf code, which we do load with dlopen. A command line option tells the app which protocol it needs to use, and the app loads the

Re: [protobuf] Re: valgrind invalid write and double free errors

2010-10-14 Thread Evan Jones
On Oct 14, 2010, at 11:32 , CB wrote: Actually, yes, we have a shared library containing our protobuf code, which we do load with dlopen. A command line option tells the app which protocol it needs to use, and the app loads the appropriate library. The open only happens once, very shortly