Public bug reported: I'm having the following error: i = 15 String http://www.foo.com is still in the pool i = 137 String http://www.w3.org/2005/xquery-local-functions is still in the pool Zorba Internal Fatal Error in C:\zorba\repo\xqj\src\store\naive\string_pool.cpp:42:"count == 0": condition failed: 2 strings remain in the string pool
the basic steps to reproduce are the following: void* aStore = zorba::StoreManager::getStore(); Zorba* aZorba = Zorba::getInstance(lStore); StaticContext_t lContext = aZorba->createStaticContext(); lContext->addNamespace("foo", "http://www.foo.com"); XQuery_t aQuery = aZorba->compileQuery("<foo:e/>", lContext); aQuery->execute(); lZorba->shutdown(); zorba::StoreManager::shutdownStore(lStore); Zorba crashes and report the error. ** Affects: zorba Importance: Undecided Status: New -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/870347 Title: Strings still in the pool from StaticContext Status in Zorba - The XQuery Processor: New Bug description: I'm having the following error: i = 15 String http://www.foo.com is still in the pool i = 137 String http://www.w3.org/2005/xquery-local-functions is still in the pool Zorba Internal Fatal Error in C:\zorba\repo\xqj\src\store\naive\string_pool.cpp:42:"count == 0": condition failed: 2 strings remain in the string pool the basic steps to reproduce are the following: void* aStore = zorba::StoreManager::getStore(); Zorba* aZorba = Zorba::getInstance(lStore); StaticContext_t lContext = aZorba->createStaticContext(); lContext->addNamespace("foo", "http://www.foo.com"); XQuery_t aQuery = aZorba->compileQuery("<foo:e/>", lContext); aQuery->execute(); lZorba->shutdown(); zorba::StoreManager::shutdownStore(lStore); Zorba crashes and report the error. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/870347/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp