Project

General

Profile

Bug #9127

Importing zero-sized or corrupted files hangs darktable

Added by tony moore about 7 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
General
Start date:
12/09/2012
Due date:
% Done:

100%

Estimated time:
Affected Version:
1.1.0
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I've had some corruption occur on my computer that caused some pictures to reduce to zero bytes. When I tried importing a directory that contained some of these zero-sized files the Skull image did come up on a few in lighttable, but I was unable to do anything with the program. When I opened up darktable again, I had the same problem when it tried to cache the file.
I put in a zero-size check before importing in my local copy just in case it happens again. thanks

History

#1 Updated by Pascal de Bruijn about 7 years ago

  • % Done changed from 0 to 20
  • Target version set to Candidate for next minor release
  • Status changed from New to Triaged

We would appreciate it if you could contribute a patch which does the above.

#2 Updated by Tobias Ellinghaus about 7 years ago

  • Category set to General
  • Subject changed from Importing zero-sized Files hangs Darktable to Importing zero-sized or corrupted files hangs darktable

I guess just checking for empty files isn't enough. I get the same behavior (it seems to be a deadlock somewhere in mipmap cache) when I import corrupted files.

#3 Updated by Johannes Hanika about 7 years ago

  • % Done changed from 20 to 100
  • Status changed from Triaged to Fixed

Also available in: Atom PDF

Go to top