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

10m RTC fails with segmentation fault (core dumped) #311

Open
jhkennedy opened this issue Sep 8, 2021 · 0 comments
Open

10m RTC fails with segmentation fault (core dumped) #311

jhkennedy opened this issue Sep 8, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@jhkennedy
Copy link
Contributor

These three granules all failed RTC processing at 10m (linked to the log file):

with a segmentation fault (core dumped) during mk_geo_radcal2. Here's the relevant snippet from the logs:

09/08/2021 12:01:44 AM - INFO - Proc: ras_linear ./corrected.ls_map_rdc 32819 1 - 1 1 0 20 0 - ./corrected_0.ls_map_rdc.bmp
09/08/2021 12:01:44 AM - INFO - Proc: WARNING: BMP format image width out of valid range (1->32767): 32819
09/08/2021 12:01:44 AM - INFO - Proc: Segmentation fault (core dumped)
09/08/2021 12:01:44 AM - INFO - Proc: ERROR /usr/local/GAMMA_SOFTWARE-20191203/DIFF/scripts/mk_geo_radcal2: non-zero exit status: ras_linear ./corrected.ls_map_rdc 32819 1 - 1 1 0 20 0 - ./corrected_0.ls_map_rdc.bmp
09/08/2021 12:01:44 AM - INFO - Finished: mk_geo_radcal2 vv.mli vv.mli.par dem.image dem.par dem_seg dem_seg.par . corrected 10.0 0 -q
09/08/2021 12:01:44 AM - ERROR - Nonzero return value!
Traceback (most recent call last):
  File "/usr/local/bin/hyp3_gamma", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/dist-packages/hyp3_gamma/__main__.py", line 32, in main
    load_entry_point('hyp3_gamma', 'console_scripts', args.process)()
  File "/usr/local/lib/python3.6/dist-packages/hyp3_gamma/__main__.py", line 73, in rtc
    dem_name=args.dem_name,
  File "/usr/local/lib/python3.6/dist-packages/hyp3_gamma/rtc/rtc_sentinel.py", line 350, in rtc_sentinel_gamma
    run(f'mk_geo_radcal2 {mli_image} {mli_par} {dem_image} {dem_par} dem_seg dem_seg.par . corrected '
  File "/usr/local/lib/python3.6/dist-packages/hyp3_gamma/rtc/rtc_sentinel.py", line 147, in run
    execute(cmd, uselogging=True)
  File "/usr/local/lib/python3.6/dist-packages/hyp3lib/execute.py", line 77, in execute
    raise ExecuteError(tool + ': ' + line)
hyp3lib.exceptions.ExecuteError: mk_geo_radcal2: ERROR /usr/local/GAMMA_SOFTWARE-20191203/DIFF/scripts/mk_geo_radcal2: non-zero exit status: ras_linear ./corrected.ls_map_rdc 32819 1 - 1 1 0 20 0 - ./corrected_0.ls_map_rdc.bmp

It's possible that this is just hitting the instance memory limit, and upping the machine size may solve it, but I have not investigated this yet.


Note: All jobs were requested with these options:

job_definition = {
    'job_type': 'RTC_GAMMA',
    'job_parameters': {
        'resolution': 10,
        'speckle_filter': True,
        'radiometry': 'gamma0',
        'scale': 'power',
        'dem_matching': True,
    }
}
@jhkennedy jhkennedy added the bug Something isn't working label Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant