Ticket #27 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 years ago

BZ31: ThumbCreatorThread hangs if original is corrupted

Reported by: harri Owned by: harri
Priority: major Milestone: 0.5.0
Component: imginfo Version:
Keywords: Cc:
Test Case Result: pass

Description

ThumbCreatorThread? goes into infinite loop if the original image is corrupted (e.g. a partial file).

Change History

Changed 2 years ago by harri

  • milestone set to 0.3.future

Causes potentially problems, adding to 0.3.future

Changed 2 years ago by harri

  • milestone changed from 0.3.future to 0.4.1

Milestone 0.3.future deleted

Changed 2 years ago by harri

  • status changed from new to closed
  • testcase_result set to pass
  • resolution set to worksforme

Tried with a test case in which original instance is replaced with random data. PhotoInfo#createThumbnail? returns errorThumbnal as it should. Probably this practice of returning error thumbnail instead of null fixes the problem.

ThumbCreatorThread? does have other problems, though. See #153.

Note: See TracTickets for help on using tickets.