Opened 13 months ago

Closed 13 months ago

Last modified 13 months 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 Changed 13 months ago by Even Rouault

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 Changed 13 months ago by Even Rouault

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 Changed 13 months ago by Even Rouault

Fixed in 2.1 branch post 2.1.1RC1

Note: See TracTickets for help on using tickets.