Segmentation fault (core dumped) #128
-
Hi, I am running FORCE v. 3.7.0 on Ubuntu 20.04 for processing Sentinel imagery using force-level2. I got a weird error message when processing each file. The message says 'Segmentation fault (core dumped) $EXE $TODO $PRM >> $LOGFILE'. The error message seems to change of lines but it has the same root. For instance, after 'processing' the first file the error says 'local:8/0/100%/0.0s /usr/local/bin/force-l2ps_: line 161: 54142 Segmentation fault (core dumped) $EXE $TODO $PRM >> $LOGFILE' and then for the second file it says I tried to run it using 'sudo force-level2', but the same happened. Any idea how to solve this? AG. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Hi @Antguz , are you running in Docker? If not, please try this first such that I can make sure you run a tested software build. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hi @Antguz, I found and fixed the issue. In a 2D for-loop in the multi-parameter regression-based resolution merging (
should have been:
Strange enough, this method is implemented in FORCE since day 1, but nobody complained yet. Nevertheless, this is fixed now with https://github.com/davidfrantz/force/releases/tag/v3.7.3-fix, and the results look good on my end. Thanks for bringing his to my attention. Cheers, |
Beta Was this translation helpful? Give feedback.
Hi @Antguz, I found and fixed the issue.
In a 2D for-loop in the multi-parameter regression-based resolution merging (
RES_MERGE = REGRESSION
), both indices were running to the same N...should have been:
Strange enough, this method is implemented in FORCE since day 1, but nobody complained yet.
Doesn`t seem a very popular option ;)
Nevertheless, this is fixed now with https://github.com/davidfrantz/force/releases/tag/v3.7.3-fix, and the results look good on my end.
I also noticed that this method was not multi-threaded yet. It is now :)
Thanks for bringing his to my attention.
Cheers,
…