Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6582 closed defect (fixed)

GTiff: Create() and NUM_THREADS creation option don't play well together

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone:
Component: GDAL_Raster Version: 2.1.0
Severity: normal Keywords:
Cc:

Description

When using the Create() interface with the NUM_THREADS creation option enabled (and COMPRESSION as well), there might be a competition at dataset closing between the "fill empty block" routine and the background block writer. This doesn't affect the CreateCopy() interface.

Change History (3)

comment:1 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

In 34554:

GTiff: fix race between empty block filling logic and background compression threads when using Create() interface and NUM_THREADS creation option (fixes #6582)

comment:2 by Even Rouault, 8 years ago

In 34555:

GTiff: fix race between empty block filling logic and background compression threads when using Create() interface and NUM_THREADS creation option (fixes #6582)

comment:3 by Even Rouault, 8 years ago

Fixed in 2.1 branch post 2.1.1RC1

Note: See TracTickets for help on using tickets.