frank0434 / Master

repo for the master project - water stress for APSIMX lucerne model
Creative Commons Zero v1.0 Universal
1 stars 1 forks source link

*** caught segfault *** address 0x5, cause 'memory not mapped' #48

Open frank0434 opened 3 years ago

frank0434 commented 3 years ago

https://stackoverflow.com/questions/49190251/caught-segfault-memory-not-mapped-error-in-r

frank0434 commented 3 years ago

get around by using Rstuido with an old version R

frank0434 commented 3 years ago
 apsimx-2021.04.15.6139.sif --edit 01Data/ProcessedData/ConfigurationFiles/tempIversen12_SD                                                                                      _0.043_37.481_0.004_0.075_205.853_10.859_6.682_0.517_5.239.txt 01Data/ProcessedData/apsimxFiles/temp.apsimx
System.Exception: Error reading file $01Data/ProcessedData/apsimxFiles/temp.apsimx: System.Exception: Errors found in manager                                                                                       model ReportOnDates
Line 0: Metadata file `/usr/local/lib/apsim/2021.04.15.6139/Bin/Newtonsoft.Json.dll' does not contain valid metadata

  at Models.Manager.RebuildScriptModel () [0x000a8] in <e76ea675891f41ba9ea74e5cc654753d>:0
  at Models.Manager.OnCreated () [0x0000f] in <e76ea675891f41ba9ea74e5cc654753d>:0
  at Models.Core.ApsimFile.FileFormat.ReadFromString[T] (System.String st, System.Collections.Generic.List`1[System.Exception                                                                                      ]& creationExceptions, System.String fileName) [0x0008f] in <e76ea675891f41ba9ea74e5cc654753d>:0
  at Models.Core.ApsimFile.EditFile.Do (System.String apsimxFilePath, System.String configFilePath) [0x00030] in <e76ea675891                                                                                      f41ba9ea74e5cc654753d>:0
  at Models.Program+<>c__DisplayClass5_0.<Run>b__2 (System.String f) [0x0000c] in <e76ea675891f41ba9ea74e5cc654753d>:0
  at System.Linq.Enumerable+WhereSelectArrayIterator`2[TSource,TResult].MoveNext () [0x0004d] in <63992662b765477a898ef49cdcc                                                                                      99ee2>:0
  at Models.Core.Run.Runner..ctor (System.Collections.Generic.IEnumerable`1[T] relativeTo, System.Boolean runSimulations, Sys                                                                                      tem.Boolean runPostSimulationTools, System.Boolean runTests, System.Collections.Generic.IEnumerable`1[T] simulationNamesToRun                                                                                      , Models.Core.Run.Runner+RunTypeEnum runType, System.Boolean wait, System.Int32 numberOfProcessors, System.String simulationN                                                                                      amePatternMatch) [0x00072] in <e76ea675891f41ba9ea74e5cc654753d>:0