new code to reproduce

** Attachment added: "main.cpp"

** Changed in: zorba
     Assignee: (unassigned) => Matthias Brantner (matthias-brantner)

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  Strings still in the pool from StaticContext

Status in Zorba - The XQuery Processor:

Bug description:
  I'm having the following error:
  i = 15 String is still in the pool
  i = 137 String is still in the 
  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", "";);
    XQuery_t aQuery = aZorba->compileQuery("<foo:e/>", lContext);

  Zorba crashes and report the error.

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to