Opened 11 years ago

Closed 9 years ago

#5242 closed defect (wontfix)

Stack overflow when debugging ogr.Feature(...) in Python 3

Reported by: Chau Owned by: hobu
Priority: normal Milestone:
Component: PythonBindings Version: 1.9.2
Severity: normal Keywords:
Cc:

Description

I'm using Eclipse + pyDev to build scripts using gdal/ogr.

In debug mode I cannot execute the following line:

    my_feature = ogr.Feature(my_feature_defn)

It results in a stack overflow with the following lines repeating in the stack trace:

  File "C:\GDAL_1.9.2\Python\lib\site-packages\osgeo\ogr.py", line 2782 in GetField
  File "C:\GDAL_1.9.2\Python\lib\site-packages\osgeo\ogr.py", line 2756 in __getattr__
  File "C:\GDAL_1.9.2\Python\lib\site-packages\osgeo\ogr.py", line 2412 in GetFieldIndex

If I'm not running in debug mode, everything works fine. I have tried a different IDE than Eclipse + Pydev, but the problem persists.

Change History (1)

comment:1 by Even Rouault, 9 years ago

Resolution: wontfix
Status: newclosed

I can't confirm and don't feel like bothering trying. Without any proposed patch supplied, closing.

Note: See TracTickets for help on using tickets.