Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#6667 closed defect (fixed)

Crash when disk full on GPKG/MBTiles creation

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

Description

2 issues :

  • OGRSQLiteBaseDataSource::DoTransactionCommand?() inappropriately touches nSoftTransactionLevel, whereas it is the responisiblity of calling function to do so
  • the GPKG/MBTiles drivers do not check if the COMMIT is successful

Change History (7)

comment:1 Changed 5 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 35566:

SQLite: don't touch nSoftTransactionLevel in DoTransactionCommand?() in case of error, since it can cause later CPLAssert() to trigger (fixes #6667)

comment:2 Changed 5 months ago by Even Rouault

In 35567:

GPKG/MBTiles: check if transaction COMMIT is succesful (fixes #6667)

comment:3 Changed 5 months ago by Even Rouault

In 35568:

SQLite: don't touch nSoftTransactionLevel in DoTransactionCommand?() in case of error, since it can cause later CPLAssert() to trigger (fixes #6667)

comment:4 Changed 5 months ago by Even Rouault

In 35569:

GPKG/MBTiles: check if transaction COMMIT is succesful (fixes #6667)

comment:5 Changed 5 months ago by Even Rouault

Milestone: 2.1.2

comment:6 Changed 5 months ago by Even Rouault

In 35589:

GPKG: complementary commit refs #6667

comment:7 Changed 5 months ago by Even Rouault

In 35590:

GPKG: complementary commit refs #6667

Note: See TracTickets for help on using tickets.