I have libprotobuf.lib linked into a DLL, and when loading the DLL, I
get the following crash. (Noteworthy is that I previously hade the
same code linked into a single exe, and then it worked without any
problem.)

Any clues about how I can solve this?

CSpyServerLib.dll!
std::_Tree<std::_Tset_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,0> >::erase
(std::_Tree<std::_Tset_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,0> >::iterator _First=<Bad Ptr>,
std::_Tree<std::_Tset_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >,0> >::iterator _Last="")  Line 926 + 0xb bytes      C++
        CSpyServerLib.dll!google::protobuf::DescriptorBuilder::BuildFile
(const google::protobuf::FileDescriptorProto & proto={...}, void
(const google::protobuf::FileDescriptor *)*
descriptor_assigner=0x00d7c0e0)  Line 2420 + 0x25 bytes C++
        CSpyServerLib.dll!
google::protobuf::DescriptorPool::InternalBuildGeneratedFile(const
void * data=0x00db31b8, int size=3449, void (const
google::protobuf::FileDescriptor *)* descriptor_assigner=0x00d7c0e0)
Line 1962 + 0x2f bytes  C++
        CSpyServerLib.dll!
google::protobuf::protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto
()  Line 547    C++
        CSpyServerLib.dll!google::protobuf::MessageOptions::default_instance
()  Line 3743   C++
        CSpyServerLib.dll!
google::protobuf::DescriptorBuilder::CrossLinkMessage
(google::protobuf::Descriptor * message=0x00bbf448, const
google::protobuf::DescriptorProto & proto={...})  Line 2890 + 0x5
bytes   C++
        CSpyServerLib.dll!google::protobuf::DescriptorBuilder::CrossLinkFile
(google::protobuf::FileDescriptor * file=0x00bbf2c8, const
google::protobuf::FileDescriptorProto & proto={...})  Line 2871 + 0x18
bytes   C++
        CSpyServerLib.dll!google::protobuf::DescriptorBuilder::BuildFile
(const google::protobuf::FileDescriptorProto & proto={...}, void
(const google::protobuf::FileDescriptor *)*
descriptor_assigner=0x00ccb7f0)  Line 2400      C++
        CSpyServerLib.dll!
google::protobuf::DescriptorPool::InternalBuildGeneratedFile(const
void * data=0x00da9a18, int size=6815, void (const
google::protobuf::FileDescriptor *)* descriptor_assigner=0x00ccb7f0)
Line 1962 + 0x2f bytes  C++
>       CSpyServerLib.dll!cdp::`dynamic initializer for 
> 'static_descriptor_initializer_cdp_2eproto_''()  Line 1293 + 0x42 bytes C++
        msvcr80.dll!78131742()
...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to