Right now, the test zorba_stack_module/empty1 is hanging when executed in debug 
mode. In release mode it passes.
The stack module uses the collections, and there is a deadlock between 
removeNode function which aquires Writelock and the collection iterator, which 
aquires Readlock. The collection iterator is not closed before the apply 

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

  Deadlock in Updates

Status in Zorba - The XQuery Processor:

Bug description:
  If some update expressions are executed in a certain order, Zorba ends
  up in a deadlock.

  Example Query:

  import module namespace coll = "http://www.zorba-xquery.com/zorba

  declare sequential function local:test()
    coll:create-collection("test", <a><b>Foo</b></a>);
    replace value of node collection("test")[1]/b with "Bar";
    coll:insert-nodes-at("test", 2, <a />);


To manage notifications about this bug go to:

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

Reply via email to