zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #02932
[Bug 870347] Re: Strings still in the pool from StaticContext
** Changed in: zorba
Status: New => Invalid
--
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:
Invalid
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
References