Memfile segfault for 'MapInfo File' driver
See original GitHub issueThe following code segfaults Fiona. The code works with other drivers, thus I assume it is a GDAL issue.
from collections import OrderedDict
from io import BytesIO
import fiona
driver = 'MapInfo File'
schema = {'geometry': 'Point', 'properties': OrderedDict([('position', 'str')])}
with BytesIO() as fout:
with fiona.open(fout,
'w',
driver=driver,
schema=schema) as c:
pass
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Segmentation fault reading features from mdb file using ...
I can successfully get the tables with ogrinfo file.mdb but get a segfault ... fault reading features from mdb file using odbc driver...
Read more >Resolve the MapInfo Professional error: Printer Driver File ...
These types of issues are usually related to the user's permissions being insufficient. One test would be to try printing to the MapInfo...
Read more >Why do I get a segfault when writing to a file using mmap?
I tried to write some contents to a file using this technique but whenever I build and run my code, I face segmentation...
Read more >Identify what's causing segmentation faults (segfaults)
A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core...
Read more >Segmentation fault
In computing, a segmentation fault (often shortened to segfault) or access violation is a fault, or failure condition, raised by hardware with memory ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sgillies I think it is this driver: https://gdal.org/drivers/vector/mitab.html#driver-capabilities https://github.com/OSGeo/gdal/blob/73117389a4e0c3ce530b5029c1b5dafed47c7274/gdal/ogr/ogrsf_frmts/mitab/mitab_ogr_driver.cpp#L204
Fixed in Fiona 1.8.17