R-ArcGIS / r-bridge

Bridge library to connect ArcGIS and R, including arcgisbinding R library.
Apache License 2.0
120 stars 26 forks source link

ArcGIS crashes when running R 3.6.* #34

Closed mpdougherty closed 5 years ago

mpdougherty commented 5 years ago

Both ArcGIS Pro and ArcGIS Desktop crash when running R code using the r-bridge with R 3.6. and arcgisbinding 1.0.1.235. This behavior is reproducible on multiple Win 10.1709 computers. Based on the following test results, it appears the only current workaround is to run R 3.5. WITH arcgisbinding 1.0.1.232.

ArcGIS Works: ArcGIS Pro 2.4.0; R 3.5.1; arcgisbinding 1.0.1.232 Works: ArcGIS Desktop 10.7.1; R 3.5.1; arcgisbinding 1.0.1.232

Crash: ArcGIS Pro 2.4.0; R 3.5.1; arcgisbinding 1.0.1.235 Crash: ArcGIS Pro 2.4.0; R 3.6.1; arcgisbinding 1.0.1.235 Crash: ArcGIS Pro 2.4.0; R 3.6.1; arcgisbinding 1.0.1.232 Crash: ArcGIS Desktop 10.7.1; R 3.6.1; arcgisbinding 1.0.1.235 Crash: ArcGIS Desktop 10.7.1; R 3.6.1; arcgisbinding 1.0.1.232

R Console (RStudio) Works: R 3.5.1 x64; arcgisbinding 1.0.1.235 Works: R 3.6.1 x64; arcgisbinding 1.0.1.235 Works: R 3.5.1 i386; arcgisbinding 1.0.1.235 Works: R 3.6.1 i386; arcgisbinding 1.0.1.235

orhuna commented 5 years ago

I can repro with a custom tbx on ArcGIS Pro 2.4.2; R 3.6.1; arcgisbinding 1.0.1.235.

@dpavlushko attached is the crash dump. ArcGISPro_2.4.2.19948_EA17F0DD-1CC8-46F9-A770-2668F7CBC03D_10_08_2019_16_30_04.dmp.zip

orhuna commented 5 years ago

@mpdougherty The crash is fixed in the v237 of arcgisbinding package. Can you please re-install the bridge? When installing the bridge please make sure to not have any active R instance running on your machine. Active R sessions include:

mpdougherty commented 5 years ago

@orhuna I was able to upgrade arcgisbinding to 237 and can confirm that it is working correctly for both ArcMap and Pro. Thanks so much for getting this fixed so quickly!

orhuna commented 5 years ago

@mpdougherty Excellent news! Thank you for letting us know.