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

Segmentation fault running some correlation function tests #176

Open
evevkovacs opened this issue Jul 25, 2019 · 2 comments
Open

Segmentation fault running some correlation function tests #176

evevkovacs opened this issue Jul 25, 2019 · 2 comments
Assignees
Labels

Comments

@evevkovacs
Copy link
Contributor

Trying to run some correlation function tests generates a seg. fault. Here is an example.
This has happened since the update to treecorr. The error happens for both proto-dc2 and cosmoDC2 runs using the master branch of descqa. I have successfully run other tests today, so I think the  problem is specific to this test. I have also run another part of this
correlation  function test today (the tpcf_Wang2013_rSDSS test which is the angular correlation function test, so is not exactly the same code). That run was successful.
Here is the traceback:

./run_master.sh -c proto-dc2_v5.0 -t tpcf_Mostek2013_DEEP2
[INFO ][2019-07-25 14:13:23,086] Using DESCQA 2.0.0-0.7.0
[INFO ][2019-07-25 14:13:23,086] Using GCRCatalogs 0.14.1
[INFO ][2019-07-25 14:13:23,086] Using GCR 0.8.8
[INFO ][2019-07-25 14:13:23,087] output of this run is stored in
/global/projecta/projectdirs/lsst/groups/CS/descqa/run/v2/2019-07/2019-07-25_13
[INFO ][2019-07-25 14:13:23,702] running validation tests...
./run_master.sh: line 23:  6412 Segmentation fault      $PYTHON -E -c
"$CMD" "$OUTPUTDIR" "$@"

@yymao yymao self-assigned this Jul 25, 2019
@yymao yymao added the bug label Jul 25, 2019
@yymao
Copy link
Member

yymao commented Jul 25, 2019

Preliminary investigation suggests that the Segmentation fault takes place during this function: https://github.com/LSSTDESC/descqa/blob/master/descqa/CorrelationsTwoPoint.py#L314

But still need to look into details of which specific line of treecorr causes this.

@evevkovacs
Copy link
Contributor Author

I just confirmed that ./run_master.sh -c proto-dc2_v5.0 -t tpcf_Zehavi2011_rSDSS also generates the seg. fault. So both classes CorrelationsProjectedTwoPoint and DEEP2StellarMassTwoPoint generate the error while CorrelationsAngularTwoPoint does not.

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

No branches or pull requests

2 participants