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

Crash when satellite EL=-0.00 at AOS in 00:00 #332

Open
emmanuelCNRS opened this issue May 22, 2023 · 16 comments
Open

Crash when satellite EL=-0.00 at AOS in 00:00 #332

emmanuelCNRS opened this issue May 22, 2023 · 16 comments

Comments

@emmanuelCNRS
Copy link

emmanuelCNRS commented May 22, 2023

Dear Gpredict Team,

I would like to submit several crash of Gpredict when AOS is 00:00 and satellite EL is -0,00°.
Gpredict run with rotctld.
Gpredict version is win32-2.3.37 (on Windows7).

In attached pictures, two crash examples when AOS on UVSQ-Sat and INSPIRE-Sat7.
Could it be fixed with parameters adjustment ?

Best regards.
Emmanuel - F4IXT
From UVSQ-Sat & INSPIRE-Sat7 Ground Station ;-)

Gpredict crash when AOS on UVSQ-Sat
Gpredict crash when AOS on INSPIRE-Sat7

@emmanuelCNRS
Copy link
Author

I have not recorded the Gpredict log when the software crashed, but may-be the current log could help.
There are several lines like these ones:
2023/05/22 07:36:05|1|get_current_pass: Returning a pass for INSPIRE-SAT 7 that ends before the seeded time.
2023/05/22 18:21:58|1|get_current_pass: Returning a pass for UVSQSAT that ends before the seeded time.

Hereafter the full log:
gpredict.log

Best regards.
Emmanuel

@emmanuelCNRS
Copy link
Author

Don't know if it could help, hereafter an exemple of the many crash reports saved by Windows:
Report-wer.txt

Best regards.
Emmanuel

@mdblack98
Copy link
Contributor

#1 What do you have for your pass conditions?
#2 Please run rotctld with this added: -vvvvv >log.txt 2>&1
Then we can make sure it's no a rotctld problem.

@emmanuelCNRS
Copy link
Author

Hi Michael,
Thanks for your comment, hereafter the pass conditions:
image

And hereafter the rotator configuration:
image

Rotctl is usualy used with:
"C:\Program Files (x86)\hamlib-w64-4.4\bin\rotctld" -vvvv -m 603 -r COM6 -s 4800 -t 4533 -C timeout=2000

Call to Rotctl have been modified has suggested (-vvvvv >log.txt 2>&1), hereafter the beginin of the log:
log_20230929.txt

I will post the updated log as soon as next crash.

Thanks for your help :-)
Best regards,
Emmanuel

@emmanuelCNRS
Copy link
Author

Hi Michael,
I have captured a crash in the log (if needed I can share the entire file on an ftp):
log_20231002_Extract.txt

At line 398122 you can find this:

fscanf: Invalid argument
fscanf: parsing '
' with '%c'
Connection closed from ::ffff:127.0.0.1:61324
Connection opened from ::ffff:127.0.0.1:51123

Best regards,
Emmanuel

@mdblack98
Copy link
Contributor

mdblack98 commented Oct 2, 2023 via email

@emmanuelCNRS
Copy link
Author

Hello Mike,
Thanks, I have updated hamlib to "w64-4.5.5" version.
Waiting now for next satellites pass.

Best regards,
Emmanuel

@mdblack98
Copy link
Contributor

mdblack98 commented Oct 3, 2023 via email

@emmanuelCNRS
Copy link
Author

Hello Mike,
Thanks, I have installed "hamlib-w64-4.6~git-20231003-c9344070".

Gpredict has also crashed with "hamlib-w64-4.5.5", hereafter the rotctld log:
log_20231006a - Beginning of file.txt
log_20231006b - End of file.txt
With a end like this:

write_block(): TX 3 bytes, method=2
0000    43 32 0d                                            C2.             
read_string_generic called, rxmax=32 direct=1, expected_len=1
read_string_generic(): RX 15 characters, direct=1
0000    41 5a 3d 30 39 32 20 20 45 4c 3d 30 30 30 0d        AZ=092  EL=000. 
gs232b_rot_get_position: (az, el) = (92, 0)
rot_get_position: got az=92.00, el=0.00
fscanf: Invalid argument
fscanf: parsing '
' with '%c'
Connection closed from ::ffff:127.0.0.1:54638

Waiting for next satellites pass,
Best regards.
Emmanuel

@mdblack98
Copy link
Contributor

mdblack98 commented Oct 6, 2023 via email

@emmanuelCNRS
Copy link
Author

Hi Mike,
Thanks, nightly build downloaded today and just installed.
Begining of log is:
rotctld, Hamlib 4.6~git 2023-10-08T22:18:16Z SHA=e68b6f 64-bit

Emmanuel

@emmanuelCNRS
Copy link
Author

Hello Mike,
Gpredict has crashed yesterday with the nightly built "Hamlib 4.6~git 2023-10-08T22:18:16Z".

The beginning of rotctld log is:
log_20231011b - Beginning of file.txt

And the end with the unexpected gpredict crash is:
log_20231011c - End of file.txt

Best regards,
Emmanuel

@mdblack98
Copy link
Contributor

mdblack98 commented Oct 12, 2023 via email

@emmanuelCNRS
Copy link
Author

Hello Mike,
No, I'm using the already compiled EXE available on https://github.com/csete/gpredict/releases
Version is "gpredict-win32-2.3.37".
If you send me a new EXE I can launch it in our ground station.

Best regards,
Emmanuel

@emmanuelCNRS
Copy link
Author

Hi Mike,
Please find hereafter some other log of rotctld (Hamlib 4.6~git 2023-10-08T22:18:16Z) with the unexpected closure of Gpredict.
log_20231018_Extract.txt

The last one, at the end of the file, is not EL=000. But probably same problem since EL=179 is the opposite position (gpredict EL configured with EL in [0° ; 180°] range).

I have not recorded gpredict internal log, will be done next time, but should be something like this previous one:

2023/05/22 07:36:05|1|get_current_pass: Returning a pass for INSPIRE-SAT 7 that ends before the seeded time.
2023/05/22 18:21:58|1|get_current_pass: Returning a pass for UVSQSAT that ends before the seeded time.

Do you know where does come from "that ends before the seeded time" trace in gpredict?

Best regards,
Emmanuel

@mdblack98
Copy link
Contributor

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