RCSF
RCSF copied to clipboard
Segfault in R_CSF ?
Have been seeing the below segfault in RCSF. Have replicated in different R versions/builds and on different platforms. Does this look like an issue in RCSF itself? Many thanks.
*** caught segfault ***
address 0x2ba6578a0390, cause 'memory not mapped'
Traceback:
1: RCSF:::R_CSF(cloud, sloop_smooth, class_threshold, cloth_resolution, rigidness, iterations, time_step)
2: algorithm(las, filter)
3: classify_ground.LAS(las, csf(class_threshold = 0.05, cloth_resolution = 0.05), last_returns = F)
4: classify_ground(las, csf(class_threshold = 0.05, cloth_resolution = 0.05), last_returns = F)
5: TreeLS::tlsNormalize(voxelised_cloud, 0.3, keep_ground = T)
6: FUN(X[[i]], ...)
7: lapply(lases, metrics_func)
An irrecoverable exception occurred. R is aborting now ...
/var/log/slurm/spool_slurmd/job31990981/slurm_script: line 34: 138379 Segmentation fault Rscript leaf-area-index-lapply.R