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 when trying to use tool #4

Open
joeastro opened this issue Oct 4, 2018 · 0 comments
Open

Segmentation fault when trying to use tool #4

joeastro opened this issue Oct 4, 2018 · 0 comments
Assignees

Comments

@joeastro
Copy link
Contributor

joeastro commented Oct 4, 2018

When I use the standalone tool and input a timeline that works* on the version that ships with the ScienceTools, it fails with a segmentation fault. My input and error:

(fermi) gs66-gozer:ObsStrats jeggen$ ~/.local/bin/gtorbsim
This is gtorbsim version HEAD
Type of input {file or console}[console]
Input Type is: console
start MJD[57882]
stop MJD[57976]
Timeline Type {TAKO, ASFLOWN or SINGLE}[TAKO]
Name of timeline file[timelines/2sided50_p50sine.txt]
Ephemeris file name[ephem/GLAST_EPH_2017121_2017240_00.txt]
Ephemeris function name {yyyy_eph, xyzll_eph or tlederive}[xyzll_eph]
Conversion factor to km[1]
Time resolution in minutes[1]
Initial RA[60]
Initial DEC[10]
OutPut File[ft2/2sided50_p50sine_b.fits]
SAA file definition[L_SAA_2008198.03]
Earth Avoidance Angle: 5 degrees
Segmentation fault: 11
(fermi) gs66-gozer:ObsStrats jeggen$

The lack of additional details makes the problem difficult to diagnose, so I've tabled debugging for now and am instead using the ST version of gtorbsim.

Below is a timeline with a single profile that produces the error. I'm also using timelines with multiple profiles, which produce the same error. Hint: don't leave extra lines after the end of this profile if you feed it to the ST gtorbsim - it will also crash that house of cards...

// ---------------------------------------
// 2017/129:00:00:00
// 2017/230:00:00:00

// ---------------------------------------

// 2017/129:00:00:00 Profile Begin
// Rocking Profile:
// ROCKSTART = 2017/128:23:37:51 (515979476)
// ROCKDEFAULT = 0.000000
// ROCKTIME ROCKANGLE
// 1 0 0
// 2 190 38
// 3 230 46
// 4 270 50
// 5 3000 50
// 6 5444 50
// 7 5484 46
// 8 5524 38
// 9 5714 0
// 10 5903 -38
// 11 5943 -46
// 12 5983 -50
// 13 9980 -50
// 14 11158 -50
// 15 11198 -46
// 16 11238 -38
// 17 11428 0
// 2017/223:00:00:00 Profile End

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