<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Daniel,</div><div class=""><br class=""></div><div class="">I couldn’t reproduce your issue with a random dem. It would be good if you could share a minimal data set causing the crash for testing.</div><div class=""><br class=""></div><div class="">Also, please take a look if there is a more detailed crash report with '/Applications/Utilities/Console.app’ and share its content.</div><div class=""><br class=""></div><div class="">If this is indeed a Rosetta related issue, an immediate solution would be to install the ‘grass’ port with MacPorts [1], which installs in native architecture also for M1’s.</div><div class=""><br class=""></div><div class="">Side note: The official GRASS Mac app bundle, is based on miniconda for its dependencies. Last time I tried there were issues with arm support for especially condas wxPython, therefore it is still only built for x64.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Best,</div><div class="">Nicklas</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">[1] <a href="https://ports.macports.org/port/grass/" class="">https://ports.macports.org/port/grass/</a></div><br class=""><div><br class=""></div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On 22 Apr 2022, at 01:16, Daniel Kozar via grass-user <<a href="mailto:grass-user@lists.osgeo.org" class="">grass-user@lists.osgeo.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi everyone, <div class=""><br class=""></div><div class="">I am trying to fill in pits in a large DEM raster (the size of USGS HUC02 "18") in GRASS 8.0. Everything works in the workflow until I get this error when I run "r.fill.dir":</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">r.fill.dir input=DEM output=DEM_filled direction=DEM_dir areas=DEM_area format=agnps --overwrite</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Reading input elevation raster map...</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><span class="gmail-Apple-converted-space"> </span>100%</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Filling sinks...</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Determining flow directions for ambiguous cases...</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Found 75 unresolved areas</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Repeat to get the final directions...</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">rosetta error: unexpectedly need to EmulateForward on a synchronous exception x86_rip=0x4363626336 arm_pc=0x4363681804 num_insts=6 inst_index=3 x86 instruction bytes: 0x6215344901283465301 0x17042544937633142081</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">zsh: trace trap<span class="gmail-Apple-converted-space">  </span>r.fill.dir input=DEM output=DEM_filled direction=DEM_dir areas=DEM_area<span class="gmail-Apple-converted-space"> </span></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><span class="gmail-Apple-converted-space"><br class=""></span></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class="">Can someone help me solve this issue? I am running GRASS 8.0 on an M1 Pro chip in MacOS Monterey. I sense this is an error with Rosetta and the M1 chip, but have not received such an error prior on this computer. I have also tried running the module through GRASS 7.6 and 7.8, but am having no luck due to segmentation fault errors.</font></div><div class=""><br class=""></div>-- <br class=""><div dir="ltr" data-smartmail="gmail_signature" class=""><div dir="ltr" class=""><div class="">Best,</div><div class=""><br class=""><div class="">Daniel Kozar</div><div class="">PhD Candidate</div></div><div class="">UC Davis - Hydrologic Sciences</div><div class=""><a href="mailto:djkozar@ucdavis.edu" target="_blank" class="">djkozar@ucdavis.edu</a></div><div class="">(814) 380-6900</div></div></div></div></div>
_______________________________________________<br class="">grass-user mailing list<br class=""><a href="mailto:grass-user@lists.osgeo.org" class="">grass-user@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/grass-user<br class=""></div></blockquote></div><br class=""></body></html>