webkit_report - webkit parser is not thread safe because of attribute parser_instance
Bug #1319109 reported by
Yannick Vaucher @ Camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
6.1 |
New
|
Undecided
|
Unassigned | |||
7.0 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Bug report for self.parser_
as a WebkitParser instance can be shared by multiple thread a thread will erase parser_instance of anorther thread. Leading to cursor errors as a thread could then try to use the context set by an other thread that already closed his cursors.
There is an other bug here with a patch to correct issue with race condition temp file names: https:/
Related branches
lp:~camptocamp/openobject-addons/7.0-fix-1319109
- Nicolas Bessi - Camptocamp (community): Approve (no test, code review)
- OpenERP Core Team: Pending requested
-
Diff: 129 lines (+24/-23)1 file modifiedreport_webkit/webkit_report.py (+24/-23)
lp:~camptocamp/ocb-addons/7.0-fix-1319109
- Leonardo Pistone: Approve
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
- Nicolas Bessi - Camptocamp (community): Approve (no test, code review)
- Florent: Pending requested
-
Diff: 131 lines (+25/-24)1 file modifiedreport_webkit/webkit_report.py (+25/-24)
summary: |
- webkit_report - webkit parser is not thread safe + webkit_report - webkit parser is not thread safe because of attribute + parser_instance |
Changed in openobject-addons: | |
status: | New → Fix Committed |
status: | Fix Committed → New |
description: | updated |
tags: | added: maintenance |
To post a comment you must log in.