GIL remains locked during metadata writes

Bug #372321 reported by dmoore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyexiv2
Fix Released
High
Olivier Tilloy

Bug Description

While writing metadata to a background thread, the main thread will become unresponsive, apparently because the Python GIL hasn't been released. This makes python GUI apps unresponsive during batch metadata writes.

you can see this behavior in phraymd: https://launchpad.net/phraymd (edit a large number of tags, then click save)

Olivier Tilloy (osomon)
Changed in pyexiv2:
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → High
milestone: none → 0.2
status: New → Confirmed
dmoore (damien-moore)
Changed in phraymd:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
dmoore (damien-moore) wrote :

this also appears to affect reading of metadata too. The phraymd gui becomes sluggish and unresponsive when reading meetadata from PTP cameras.

Olivier Tilloy (osomon)
Changed in pyexiv2:
status: Confirmed → In Progress
Olivier Tilloy (osomon)
Changed in pyexiv2:
status: In Progress → Fix Committed
Olivier Tilloy (osomon)
Changed in pyexiv2:
status: Fix Committed → Fix Released
dmoore (damien-moore)
no longer affects: phraymd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.