Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setfileoption causes segmentation fault #2

Closed
tenomoto opened this issue Aug 13, 2018 · 3 comments
Closed

setfileoption causes segmentation fault #2

tenomoto opened this issue Aug 13, 2018 · 3 comments

Comments

@tenomoto
Copy link
Contributor

In ncarg port in MacPorts that I maintain, setfileoption is problematic. With 6.4.0 a call to setfileoption seems to destroy the symbol table (example).

More seriously, segmentation fault 11 is raised with 6.5.0. I tried gcc6, 7, and 8 on Sierra and High Sierra only to fail.

In the past (6.1.2) setfileoption also caused seg fault, disappeared with a newer version of gcc at that time (ticket).

I looked at the source code, but I was not able to figure out a solution.

@tenomoto
Copy link
Contributor Author

I confirmed that ncl in conda-forge works correctly. There must be some differences between MacPorts and conda-forge. I'll compare Portfile and recipe/build.sh.

@tenomoto
Copy link
Contributor Author

I found that the problem does not surface when hdf5 is built with gcc7.

@tenomoto
Copy link
Contributor Author

Please close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants