[Zorba-coders] [Bug 866423] Re: Deadlock in Updates

2012-03-25 Thread Markos Zaharioudakis
** Changed in: zorba
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866423

Title:
  Deadlock in Updates

Status in Zorba - The XQuery Processor:
  Fix Released

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
  /collection-functions";

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

  local:test();

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866423/+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


[Zorba-coders] [Bug 866423] Re: Deadlock in Updates

2012-01-20 Thread Markos Zaharioudakis
** Changed in: zorba
   Status: Incomplete => Fix Committed

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866423

Title:
  Deadlock in Updates

Status in Zorba - The XQuery Processor:
  Fix Committed

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
  /collection-functions";

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

  local:test();

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866423/+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


[Zorba-coders] [Bug 866423] Re: Deadlock in Updates

2012-01-20 Thread Daniel Turcanu
In the newly commited stack module

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866423

Title:
  Deadlock in Updates

Status in Zorba - The XQuery Processor:
  Incomplete

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
  /collection-functions";

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

  local:test();

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866423/+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


[Zorba-coders] [Bug 866423] Re: Deadlock in Updates

2012-01-20 Thread Markos Zaharioudakis
Where is the query file for the "zorba_stack_module/empty1" test?

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866423

Title:
  Deadlock in Updates

Status in Zorba - The XQuery Processor:
  Incomplete

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
  /collection-functions";

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

  local:test();

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866423/+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


[Zorba-coders] [Bug 866423] Re: Deadlock in Updates

2012-01-19 Thread Matthias Brantner
** Changed in: zorba
Milestone: None => 2.2

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866423

Title:
  Deadlock in Updates

Status in Zorba - The XQuery Processor:
  Incomplete

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
  /collection-functions";

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

  local:test();

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866423/+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


[Zorba-coders] [Bug 866423] Re: Deadlock in Updates

2012-01-19 Thread Daniel Turcanu
Still hanging

** Changed in: zorba
   Status: Fix Released => Incomplete

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866423

Title:
  Deadlock in Updates

Status in Zorba - The XQuery Processor:
  Incomplete

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
  /collection-functions";

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

  local:test();

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866423/+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


[Zorba-coders] [Bug 866423] Re: Deadlock in Updates

2012-01-19 Thread Daniel Turcanu
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 
updates.

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866423

Title:
  Deadlock in Updates

Status in Zorba - The XQuery Processor:
  Incomplete

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
  /collection-functions";

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

  local:test();

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866423/+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