[Dev] Deadlock

John Anderson john at osafoundation.org
Tue Jan 27 17:17:14 PST 2004


Andi, Stuart:

I'm having trouble running Chandler -- lots of wierd stuff. This is the 
latest problem. It sort of looks like the agents are running threads, 
but I though we commented that stuff out until we could figure out how 
to make it work. Any ideas?

John

Exception in thread AgentThread(2b6e872a-512f-11d8-d66b-00301baf2ac8):
Traceback (most recent call last):
  File "d:\John\osaf\osaf\chandler\debug\bin\lib\threading.py", line 
436, in __b
ootstrap
    self.run()
  File 
"d:\John\osaf\osaf\chandler\Chandler\parcels\OSAF\framework\agents\AgentT
hread.py", line 56, in run
    self.scheduler.start()
  File 
"d:\John\osaf\osaf\chandler\Chandler\parcels\OSAF\framework\agents\Schedu
ler.py", line 160, in start
    waitTime = self._run()
  File 
"d:\John\osaf\osaf\chandler\Chandler\parcels\OSAF\framework\agents\Schedu
ler.py", line 209, in _run
    self._runEvent(event)
  File 
"d:\John\osaf\osaf\chandler\Chandler\parcels\OSAF\framework\agents\Schedu
ler.py", line 228, in _runEvent
    result = event.action(*event.args)
  File 
"d:\John\osaf\osaf\chandler\Chandler\parcels\OSAF\framework\agents\schema
\Instruction.py", line 93, in Execute
    actions = self._GetNewActions(notification)
  File 
"d:\John\osaf\osaf\chandler\Chandler\parcels\OSAF\framework\agents\schema
\Instruction.py", line 82, in _GetNewActions
    if not self.hasAttributeValue('condition') or \
  File 
"d:\John\osaf\osaf\chandler\Chandler\application\agents\test_agents\Jabbe
rAgent.py", line 69, in IsSatisfied
    repository.commit()
  File 
"d:\John\osaf\osaf\chandler\Chandler\repository\persistence\XMLRepository
View.py", line 251, in commit
    history.apply(unload, oldVersion, newVersion)
  File 
"d:\John\osaf\osaf\chandler\Chandler\repository\persistence\DBContainer.p
y", line 275, in apply
    value = cursor.next()
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to 
resolve a dead
lock')






More information about the Dev mailing list