Opened 7 years ago

Closed 7 years ago

#5704 closed defect (fixed)

Repeated call to gdal/ogr.UseExceptions() causes hang in case of CE_Warning

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.2
Component: PythonBindings Version: unspecified
Severity: normal Keywords:
Cc:

Description

Simple use cae to trigger this :

for i in range(2):
        ogr.UseExceptions()
        geom = ogr.CreateGeometryFromWkt('POLYGON ((-65 0, -30 -30, -30 0, -65 -30, -65 0))')
        geom.IsValid()

Change History (1)

comment:1 Changed 7 years ago by Even Rouault

Milestone: 1.11.2
Resolution: fixed
Status: newclosed

trunk r27890, branches/1.11 r27891 "Fix hang of Python in case of repeated call to gdal/ogr.UseExceptions?() and CE_Warning emitted (#5704)"

Note: See TracTickets for help on using tickets.