question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Memfile segfault for 'MapInfo File' driver

See original GitHub issue

The 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:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found