2 Replies Latest reply: Mar 28, 2012 8:51 PM by 925616 RSS

    bdbxml2.5.16(xqilla 2.2) cannot work with vs2010 STL correctly

    925616
      When I run the gettingStarted examples using the binaries built from vs2010, the process that involves a query operation, say, dbxml_example_queryWithDocumentNames.exe, ends up with an unhandled exception 0xC0000005 in STL. The stack looks like this:
           msvcp100d.dll!std::_Container_base12::_Orphan_all() line 202 + 0x5 bytes
           xqilla22d.dll!std::vector<Collation *,XQillaAllocator<Collation *> >::reserve(unsigned int _Count)  line 768 + 0xb bytes
           xqilla22d.dll!std::vector<Collation *,XQillaAllocator<Collation *> >::_Reserve(unsigned int _Count)  line 1298
           8b520851()     
      The function back trace before entering STL is:
           xqilla22d.dll!XQContextImpl::addCollation(Collation * collation) line 667
           xqilla22d.dll!XQContextImpl::XQContextImpl(XQillaConfiguration * conf, XQilla::Language language, xercesc_3_0::MemoryManager * memMgr) line 126
           xqilla22d.dll!XQilla::createContext(XQilla::Language language, XQillaConfiguration * conf, xercesc_3_0::MemoryManager * memMgr) line 196 + 0x3f bytes
           libdbxml25d.dll!DbXml::QueryExpression::QueryExpression(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & query, DbXml::XmlQueryContext & context, DbXml::Transaction * txn, bool debug) line 48 + 0x116 bytes
           libdbxml25d.dll!DbXml::XmlManager::prepare(DbXml::XmlTransaction & txn, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & xquery, DbXml::XmlQueryContext & context) line 671 + 0x38 bytes
           libdbxml25d.dll!DbXml::XmlManager::query(DbXml::XmlTransaction & txn, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & xquery, DbXml::XmlQueryContext & context, unsigned int flags) line 689 + 0x28 bytes
           dbxml_example_queryWithDocumentNames.exe!doContextQuery(DbXml::XmlTransaction & txn, DbXml::XmlManager & mgr, std::basic_string<char,std::char_traits<char>,std::allocator<char> > cname, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & query, DbXml::XmlQueryContext & context) line 70 + 0x20 bytes
           dbxml_example_queryWithDocumentNames.exe!main(int argc, char * * argv) line 184 + 0x61 bytes
           dbxml_example_queryWithDocumentNames.exe!__tmainCRTStartup() line 555 + 0x19 bytes
           dbxml_example_queryWithDocumentNames.exe!mainCRTStartup() line 371
      Does anyone have a solution?

      Thanks in advance.