hputter / mstate

https://hputter.github.io/mstate/
7 stars 5 forks source link

*** caught segfault *** when calling mfit #19

Closed YinpuLi closed 5 months ago

YinpuLi commented 2 years ago

My R session info:

> sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Monterey 12.2.1

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] rlang_1.0.6         plyr_1.8.7          utile.visuals_0.3.1 ggplot2_3.3.6       RColorBrewer_1.1-3 
 [6] broom_1.0.1         dplyr_1.0.10        data.table_1.14.4   mstate_0.3.2        survival_3.4-0     

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.9        pillar_1.8.1      compiler_4.2.2    tools_4.2.2       digest_0.6.30     viridisLite_0.4.1
 [7] lifecycle_1.0.3   tibble_3.1.8      gtable_0.3.1      lattice_0.20-45   pkgconfig_2.0.3   Matrix_1.5-1     
[13] cli_3.4.1         xfun_0.34         withr_2.5.0       knitr_1.40        generics_0.1.3    vctrs_0.5.0      
[19] grid_4.2.2        tidyselect_1.2.0  glue_1.6.2        R6_2.5.1          fansi_1.0.3       tidyr_1.2.1      
[25] purrr_0.3.5       farver_2.1.1      magrittr_2.0.3    backports_1.4.1   scales_1.2.1      splines_4.2.2    
[31] colorspace_2.0-3  labeling_0.4.2    utf8_1.2.2        munsell_0.5.0 

When calling mfit, I had the following error that aborts R session:

*** caught segfault ***
address 0xfffffffdbfc385f8, cause 'invalid permissions'
edbonneville commented 1 year ago

Hi! Could you please provide a reproducible example so that we can look into where this goes wrong?

edbonneville commented 5 months ago

Will close this issue since no reproducible example given, but please do re-open if you run into something similar again!(undoubtedly an issue when calling the C code)