qiv --watch displays corrupt images and reports "libpng error: Read Error"

Bug #677295 reported by Zoubidoo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qiv (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: qiv

qiv --watch reloads an image if it has changed on disk.

When I update a png while watching it with qiv, sometimes (about 1 in 5 times) the image is displayed all corrupted accompanied by the error "libpng error: Read Error".

Perhaps it is a timing issue where the read is occurring before the write is finished?

qiv 2.2.2-1
libimlib2 1.4.2-5build1
Ubuntu 10.04 32-bit.

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Should be fixed with qiv 2.3.1 starting with Ubuntu 15.04:

  19.07.2011
                    [tw] when using "--watch" option, make sure pic is not reloaded
                         while still written.

Changed in qiv (Ubuntu):
status: New → Fix Released
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.