[Trunk] Windows-specific random deadlock in upgrade_module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Low
|
OpenERP's Framework R&D |
Bug Description
Hi.
I'm using OpenERP Trunk (updated at the begining of the week) and I encounter a deadlock problem with threads. The bug is not easy to reproduce, because it's kind of random. The better I found to trigger it is to install/uninstall the same module different times.
I looked into the code with pdb, and found that the block line is this one [1]:
openerp/
with cls.registries_
I enabled the debug on the lock (passing verbose=True to the RLock constructor). Here is a "normal" output :
netrpc-
netrpc-
netrpc-
netrpc-
But when there is the deadlock, I only get this output, before the server stop to respond :
netrpc-
netrpc-
I don't understand why it doesn't work because we can see that is has been release correctly just before (here, the output is from the same instance).
Notes :
- I couldn't trigger the bug on Linux, everything seems ok. But running the server on windows make this happen almost everytime. I don't really understand why, but I'm not an expert.
- I was using the GTK Client
- Using Python 2.6, with all libs installed manually using pip and .exe distributions.
Thanks for working on this !
description: | updated |
summary: |
- [Trunk] Re-Entrant lock deadlock in upgrade_module + [Trunk] Windows-specific random deadlock in upgrade_module |
is it a duplicate of /bugs.launchpad .net/openobject -server/ +bug/885368 ?
https:/