-
Notifications
You must be signed in to change notification settings - Fork 9
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
Resolve segmentation fault in clisops PR 179 #183
Comments
I have fixed
clisops/core/regrid.py:513: in grid_reformat
|
The order the tests are run in seems to affect the result:
and
and
But, THESE SUCCEED:
-- Does |
So, to summarise... FAILS:
SUCCEEDS:
ASSUMED REASON:
|
@cehbrecht: please can you try to reproduce the problem outlined here. The first part of this issue explains how to set up the environment. Please confirm that you get a segfault that matches my experience above... FAILS:
SUCCEEDS:
|
I can reproduce the segfault error in a Debian docker container. Well, it works on my mac ;) On my dev branch I can avoid the segfault by removing the clisops/clisops/core/__init__.py Line 1 in 996bf9e
and use the direct import of Lines 7 to 8 in 996bf9e
With these changes, the tests are working:
|
you can also switch subset and regrid imports: clisops/clisops/core/__init__.py Lines 1 to 11 in 50a1094
|
This final fix works, as long we use: But there are tests failing. Need to now look into these... |
Hi @cehbrecht, I've made some progress on this stuff. Can you remember why we/you set the rules for which GitHub Actions are allowed to fail in this workflow: https://github.com/roocs/clisops/blob/master/.github/workflows/main.yml#L26-L42 |
I think it is a copy+paste thing. There is no clisops/.github/workflows/main.yml Lines 34 to 36 in 1280f27
ping @Zeitsperre |
@Zeitsperre I think we got the different CI environments from |
@cehbrecht There should be less of a likelihood of segmentation faults now that read operations are separated by worker and cache as of #345. Closing this. |
Description
Trying to debug why we get a segmentation fault in the clisop Pull Request: #179
I did this:
And yes, @sol1105 , I get a segmentation fault here too!
Now, I just need to compare the two environments.
The text was updated successfully, but these errors were encountered: