Opened 12 years ago
Closed 10 years ago
#35010 closed defect (fixed)
gdal: gdalinfo segfault: 11
Reported by: | ak@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | js2@… | |
Port: | gdal |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The new gdal instalation seems to be broken. Gdalinfo crashes with the error:
gdalinfo imt_image_COV61m_v3.tif Driver: GTiff/GeoTIFF Files: imt_image_COV61m_v3.tif Size is 4320, 8100 Segmentation fault: 11
It happens with every single geotiff file that is opened without any problems by other software.
Change History (8)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | seanasy@… openmaintainer@… removed |
---|---|
Description: | modified (diff) |
Keywords: | gdalinfo removed |
Owner: | changed from macports-tickets@… to seanasy@… |
Port: | @1.9.0_3+expat removed |
Summary: | gdalinfo segfault: 11 → gdal: gdalinfo segfault: 11 |
comment:2 Changed 12 years ago by ak@…
OS X 10.7.3, 1.8Ghz Intel Core i7, Xcode Version 4.2.1 (4D502)
comment:3 follow-up: 5 Changed 12 years ago by js2@…
Same problem here on two different 10.7.4 systems, Core i5 (Xcode 4.1 (4B110)) and Core 2 Duo. Also the Python bindings throw the same segfault when trying to read projection data from a dataset. In GDB, the call stack seems corrupted (only one frame with address 0xc0b).
It seems that the binary distfile (http://packages.macports.org/gdal/gdal-1.9.0_3+expat.darwin_11.x86_64.tbz2) is broken, at least on our systems. However, a self-built version works without segfaults.
In other words, if we do:
$ port uninstall gdal (removes binary distfile install) $ port build gdal $ port destroot gdal $ port install gdal
It all works on both systems with the current portfile.
comment:5 Changed 12 years ago by ak@…
I did manually what you suggested:
$ port uninstall gdal $ port build gdal $ port destroot gdal $ port install gdal
and gdal works fine now! Thanks a lot! I really appreciate your help.
comment:7 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from seanasy@… to macports-tickets@… |
---|
This port is no longer maintained. See #44038.
comment:8 Changed 10 years ago by Veence (Vincent)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I think this has been solved log ago. I close it, reopen it if necessary (or better open another ticket).
What's your OS version? Xcode version? CPU architecture?