<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="">Ok third try to sent the mail, now without pictures and only with text :-)<div class=""><br class=""></div><div class=""><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">This I what I get in the debugger. Of course, at the moment I do not understand the code there, but maybe hopefully Eliot can see something interesting in it.  I leave VS open and look tomorrow at the code, maybe I understand a bit of it :-)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Seems there is something wrong with the forward pointers. I assume the longAt(referent) fails? I guess it is a macro, but VS could not find the definition.</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">########## Code area - the red line is failing with access violation ###########</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class=""><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">/* begin literalCountOfMethodHeader: */</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">     </span>assert((((header) & 7) == 1));</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>numLiterals = ((header >> 3)) & AlternateHeaderNumLiteralsMask;</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">  </span>numSlots = numLiterals + LiteralStart;</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">     </span>l9:<span class="Apple-tab-span" style="white-space:pre"> </span>/* end numStrongSlotsOf:format:ephemeronInactiveIf: */;</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>for (i = 0; i < numSlots; i += 1) {</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">             </span>referent = longAt((referrer + BaseHeaderSize) + (((sqInt)((usqInt)(i) << (shiftForWord())))));</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">               </span>if ((!(referent & (tagMask())))) {</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                       </span>/* a forwarding pointer could be because of become: or scavenging. */</span></font></div><div class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="color: rgb(0, 0, 0); white-space: pre;">                        </span><font color="#ff0000" class="">if ((!((longAt(referent)) & ((classIndexMask()) - (isForwardedObjectClassIndexPun()))))) {</font></span></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                            </span>/* begin followForwarded: */</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                               </span>assert(isUnambiguouslyForwarder(referent));</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                                </span>/* begin fetchPointer:ofMaybeForwardedObject: */</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                           </span>referent1 = longAt((referent + BaseHeaderSize) + (0U << (shiftForWord())));</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                          </span>while (((!(referent1 & (tagMask()))))</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                          </span> && ((!((longAt(referent1)) & ((classIndexMask()) - (isForwardedObjectClassIndexPun())))))) {</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                                  </span>/* begin fetchPointer:ofMaybeForwardedObject: */</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                                   </span>referent1 = longAt((referent1 + BaseHeaderSize) + (0U << (shiftForWord())));</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">                         </span>}</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space: pre;">                                </span>referent = referent1;</span></font></div><div class=""><br class=""></div></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">########## Call stack ############</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!scavengeReferentsOf(__int64 referrer) Zeile 42680</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">    </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (42680)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!scavengeRememberedSetStartingAt(__int64 n) Zeile 42760</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">    </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (42760)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!scavengeLoop() Zeile 42542</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">        </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (42542)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!doScavenge(__int64 tenuringCriterion) Zeile 47599</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;"> </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (47599)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!scavengingGCTenuringIf(__int64 tenuringCriterion) Zeile 57959</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">     </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (57959)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!sufficientSpaceAfterGC(__int64 numBytes) Zeile 58691</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">      </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (58691)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!checkForEventsMayContextSwitch(__int64 mayContextSwitch) Zeile 62762</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">      </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (62762)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!handleStackOverflowOrEventAllowContextSwitch(__int64 mayContextSwitch) Zeile 66037</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">        </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (66037)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!ceStackOverflow(__int64 contextSwitchIfNotNil) Zeile 15593</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">        </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (15593)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">[Externer Code]</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!ioInitHeartbeat() Zeile 420</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">    </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\platforms\win32\vm\sqWin32Heartbeat.c (420)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!interpret() Zeile 2875</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">  </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\src\spur64.cog\cointerp.c (2875)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!sqMain(int argc, char * * argv) Zeile 1761</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;"> </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\platforms\win32\vm\sqWin32Main.c (1761)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Squeak.exe!WinMain(HINSTANCE__ * hInst, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Zeile 1851</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">        </span>unter C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vmssource\trunk\platforms\win32\vm\sqWin32Main.c (1851)</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">[Externer Code]</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">########## Locals ############</div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class=""><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space: pre;">          </span>classFormat<span class="Apple-tab-span" style="white-space: pre;">       </span>662660168776<span class="Apple-tab-span" style="white-space: pre;">      </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>contextSize<span class="Apple-tab-span" style="white-space:pre"> </span>72198296718755736<span class="Apple-tab-span" style="white-space:pre">   </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>fmt<span class="Apple-tab-span" style="white-space:pre"> </span>2<span class="Apple-tab-span" style="white-space:pre">   </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>foundNewReferentOrIsWeakling<span class="Apple-tab-span" style="white-space:pre">        </span>0<span class="Apple-tab-span" style="white-space:pre">   </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>header<span class="Apple-tab-span" style="white-space:pre">      </span>140698790658008<span class="Apple-tab-span" style="white-space:pre">     </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>header1<span class="Apple-tab-span" style="white-space:pre">     </span>140698758633160<span class="Apple-tab-span" style="white-space:pre">     </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>i<span class="Apple-tab-span" style="white-space:pre">   </span>37029628<span class="Apple-tab-span" style="white-space:pre">    </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>newLocation<span class="Apple-tab-span" style="white-space:pre"> </span>811789632<span class="Apple-tab-span" style="white-space:pre">   </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>numLiterals<span class="Apple-tab-span" style="white-space:pre"> </span>64<span class="Apple-tab-span" style="white-space:pre">  </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>numSlots<span class="Apple-tab-span" style="white-space:pre">    </span>167772160<span class="Apple-tab-span" style="white-space:pre">   </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>numSlots1<span class="Apple-tab-span" style="white-space:pre">   </span>255<span class="Apple-tab-span" style="white-space:pre"> </span>unsigned __int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">           </span>numSlots2<span class="Apple-tab-span" style="white-space:pre">   </span>167772160<span class="Apple-tab-span" style="white-space:pre">   </span>unsigned __int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">           </span>objOop1<span class="Apple-tab-span" style="white-space:pre">     </span>72057594139401638<span class="Apple-tab-span" style="white-space:pre">   </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>referent<span class="Apple-tab-span" style="white-space:pre">    </span>139599658561184<span class="Apple-tab-span" style="white-space:pre">     </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>referent1<span class="Apple-tab-span" style="white-space:pre">   </span>0<span class="Apple-tab-span" style="white-space:pre">   </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>referrer<span class="Apple-tab-span" style="white-space:pre">    </span>140700938141704<span class="Apple-tab-span" style="white-space:pre">     </span>__int64</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">            </span>sp<span class="Apple-tab-span" style="white-space:pre">  </span>72058702004626295<span class="Apple-tab-span" style="white-space:pre">   </span>__int64</span></font></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></div></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">Am 14.02.2022 um 09:37 schrieb Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com" class="">nicolas.cellier.aka.nice@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Kudos Jörg for perseverating and gathering the know-how.</div><div class="">Unix-style development on windows has always been a pain.<br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 14 févr. 2022 à 08:58, Jörg Belger <<a href="mailto:unique75@web.de" class="">unique75@web.de</a>> a écrit :<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">It seems I have now compiled a debug vm, yeah :-)<div class=""><br class=""></div><div class="">But in summary I think I did now the following:</div><div class=""><br class=""></div><div class=""><span style="white-space:pre-wrap" class="">      </span>- install Cygwin with standard settings</div><div class=""><span style="white-space:pre-wrap" class="">    </span>- install make (GNU Version) in Cygwin installer</div><div class=""><span style="white-space:pre-wrap" class="">   </span>- install LLVM 13.0.0.0 (current version) in path C:\LLVM. —> this is not the standard installation path that the installer wants per default</div><div class=""><span style="white-space:pre-wrap" class=""> </span>- install Microsoft Visual Studio Community 2022 with standard settings</div><div class=""><br class=""></div><div class="">Maybe this should be reflected in the official documentation, especially all the extra conditions with additional make-tool and LLVM path.</div><div class=""><br class=""></div><div class="">I deinstalled VS2017 again, it seems it does not work with LLVM 13.0.0.0 together, there were some external references that could not be resolved during compiling. But LLVM 13.0.0.0 and VS2022 seem to work together. I see now many files in \building\win64x64\squeak.cog.spur\builddbg\vm and I could start an image with the Squeak.exe there. So I will try to run now my test code with VisualStudio debugger attached to see what happens. Hopefully I will see then also a crash directly with sources.</div><div class=""><br class=""></div><div class="">Jörg</div><div class=""><br class=""></div><div class="">PS: It is a small step for mankind, but a big step for a VM-Jörg :-)<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 13.02.2022 um 18:40 schrieb Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank" class="">eliot.miranda@gmail.com</a>>:</div><br class=""><div class=""><div dir="auto" class=""><div dir="ltr" class="">Hi Jörg,</div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On Feb 13, 2022, at 12:40 AM, Jörg Belger <<a href="mailto:unique75@web.de" target="_blank" class="">unique75@web.de</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class="">Ok i installed that, now I get that error:<div class=""><br class=""></div><div class="">/bin/sh: C:/LLVM/bin/clang.exe: No such file or directory</div><div class=""><br class=""></div><div class="">Why do I need to install LLVM when I want to compile it with VisualStudio compiler? Is there an environment variable not set correctly or does it need really two compiler frameworks?<br class=""></div></div></blockquote><div class=""><br class=""></div>The MSVC compiler is very buggy.  For example, it can’t handle the macro expansions for asserts or memory access. Clang has no such problems and produces very good code.  So to use the MSVC tool chain one also has to use the Clang compiler.  I’m told that Microsoft itself uses Clang internally.<div class=""><br class=""></div><div class=""><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 12.02.2022 um 21:15 schrieb Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank" class="">eliot.miranda@gmail.com</a>>:</div><br class=""><div class=""><div dir="auto" class=""><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On Feb 12, 2022, at 1:08 AM, Jörg Belger <<a href="mailto:unique75@web.de" target="_blank" class="">unique75@web.de</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class="">What do I need to install to get a „make“ command? VisualStudio has only „nmake“ and I did not find a „make“ in Cygwin.<br class=""></div></blockquote><div class=""><br class=""></div>make is taken from Cygwin.  You’ll need  to run the cygwin installer and install gnu make. (Sorry this is so involved)<div class=""><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 11.02.2022 um 22:05 schrieb Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank" class="">eliot.miranda@gmail.com</a>>:</div><br class=""><div class=""><br class=""><br style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div class="gmail_quote" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="ltr" class="gmail_attr">On Fri, Feb 11, 2022 at 1:03 PM Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank" class="">eliot.miranda@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div dir="ltr" class=""><div style="font-size:small" class="">Hi Jörg,</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 11, 2022 at 9:10 AM Jörg Belger <<a href="mailto:unique75@web.de" target="_blank" class="">unique75@web.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Hi Eliot,<div class=""><br class=""></div><div class="">I did that, I used a x64 Native shell from Visual Studio.<span class=""> </span></div></div></blockquote><div class=""><br class=""></div><div style="font-size:small" class="">You need to use the CMD shell.  My CMD shell has the title "x64 MSVC CMD ..." and is the file C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat</div></div></div></blockquote><div class=""><br class=""></div><div class="gmail_default" style="font-size:small">Actually the ful properties for the link is:</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">%comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"</div><div class="gmail_default" style="font-size:small"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div class="gmail_quote"><div style="font-size:small" class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class=""><div class="">But it does neither work with 2022 nor with 2017, I deinstalled 2022 today and installed 2017, same result. It shows me only the first line what the script prints out. I have currently no access to my computer, I am not at home. But it shows only that DEBUG is started, just one line, nothing more.</div><div class=""><br class=""></div><div class="">Maybe I need to have a look into the batch files, I am afraid of that :-)</div><div class=""><br class=""></div><div class="">Jörg<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 11.02.2022 um 18:03 schrieb Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank" class="">eliot.miranda@gmail.com</a>>:</div><br class=""><div class=""><br class=""><br style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div class="gmail_quote" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="ltr" class="gmail_attr">On Fri, Feb 11, 2022 at 12:51 AM Jörg Belger <<a href="mailto:unique75@web.de" target="_blank" class="">unique75@web.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">I was not able so far to compile a VM. Yesterday I installed Cygwin with standard settings and MS VisualStudio, but Version 2022, maybe I need 2017. I do all the things described in the HowToBuild, but when I do ../common/MAKEDEBUG.bat I get only the one output line that it does the DEBUG, but the script immediately stops, nothing happens.</div></blockquote><div class=""><br class=""></div><div style="font-size:small" class="">You must run ..\common\MAKEDEBUG.BAT in an MSVC shell window, not a Cygwin window.  Furst do ..\common\SETPATH.BAT, then run MAKEDEBUG.BAT</div><div style="font-size:small" class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class=""><div class=""><br class=""></div><div class="">I used simply the latest debug build and attached it to VisualStudio. This is what I get, which means, exception raised, access violation at</div><div class=""><br class=""></div><div class="">Ausnahme ausgelöst bei 0x00007FF75DE1878B in Squeak.exe: 0xC0000005: Zugriffsverletzung beim Lesen an Position 0x00005AF973234C20.</div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 10.02.2022 um 21:12 schrieb Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank" class="">eliot.miranda@gmail.com</a>>:</div><br class=""><div class=""><div dir="auto" class=""><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""><blockquote type="cite" class="">On Feb 10, 2022, at 12:07 PM, Jörg Belger <<a href="mailto:unique75@web.de" target="_blank" class="">unique75@web.de</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class="">There is no crash.dmp file<br class=""></div></blockquote><div class=""><br class=""></div>Then the only thing I can suggest is building a VM using the MSCV tool chain (see MSVC in opensmalltalk-vm/building/win64x64/HowToBuild), running that VM in the VisualStudio debugger, and seeing if that is more informative.<div class=""><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 10.02.2022 um 20:58 schrieb Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank" class="">eliot.miranda@gmail.com</a>>:</div><br class=""><div class=""><div dir="ltr" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div dir="ltr" class=""><div style="font-size:small" class="">HI Jörg,</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 9, 2022 at 11:08 PM Jörg Belger <<a href="mailto:unique75@web.de" target="_blank" class="">unique75@web.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Dave,<br class=""><br class="">I mean with „crash“ the Squeak process is exited unexpectedly, it is just fully gone away. Maybe it happens for me earlier because if have a 32 GB machine and I do not have so much swapping. It is not a hanging/locking/unresponsivness, it is a real crash :-)<br class=""></blockquote><div class=""><br class=""></div><div style="font-size:small" class="">Is there a crash.dmp file?  If so, can you post it? It should be in the same directory as either the image or the vm.</div><div style="font-size:small" class=""><br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Here are my machine details:<br class=""><br class="">Gerätename      timemachine<br class="">Prozessor       AMD Ryzen 9 3900X 12-Core Processor               3.80 GHz<br class="">Installierter RAM       32,0 GB<br class="">Geräte-ID       F6FA897B-DDB1-44D6-9BF3-8BD1110AA754<br class="">Produkt-ID      00326-10048-08575-AA867<br class="">Systemtyp       64-Bit-Betriebssystem, x64-basierter Prozessor<br class="">Stift- und Toucheingabe Für diese Anzeige ist keine Stift- oder Toucheingabe verfügbar.<br class=""><br class="">Edition Windows 10 Home<br class="">Version 20H2<br class="">Installiert am  ‎23.‎03.‎2021<br class="">Betriebssystembuild     19042.1526<br class="">Leistung        Windows Feature Experience Pack 120.2212.4170.0<br class=""><br class=""><br class="">> Am 10.02.2022 um 04:27 schrieb David T. Lewis <<a href="mailto:lewis@mail.msen.com" target="_blank" class="">lewis@mail.msen.com</a>>:<br class="">><span class=""> </span><br class="">> On Thu, Feb 03, 2022 at 10:30:49PM +0100, J??rg Belger wrote:<br class="">>> This leads to an image/VM crash too<br class="">>><span class=""> </span><br class="">>>      | oc |<br class="">>>      oc := OrderedCollection new.<br class="">>>      400000000 timesRepeat: [oc add: Object new]<br class="">>><span class=""> </span><br class="">>> This here is working for me:<br class="">>><span class=""> </span><br class="">>>      | oc |<br class="">>>      oc := OrderedCollection new: 400000000.<br class="">>>      400000000 timesRepeat: [oc add: Object new]<br class="">>><span class=""> </span><br class="">>> This here is working too for me:<br class="">>><span class=""> </span><br class="">>>      | oc |<br class="">>>      oc := OrderedCollection new.<br class="">>>      400000000 timesRepeat: [oc add: 1]<br class="">>><span class=""> </span><br class="">>> It seems there is possibly a memory problem in the VM.<br class="">>><span class=""> </span><br class="">>><span class=""> </span><br class="">><span class=""> </span><br class="">> I have tried to reproduce this on my PC with 8GB memory. I was not able<br class="">> to crash the VM but it certainly locked my system up in swapping as the<br class="">> test continued to use memory. Eventually I ran out of time and patience<br class="">> and killed the VM process.<br class="">><span class=""> </span><br class="">> If there is an actual VM crash involved then maybe there is a bug. But<br class="">> if you are seeing your Squeak image is just stalling out, then nothing<br class="">> is wrong except for a matter of basic arithmetic.<br class="">><span class=""> </span><br class="">> You are trying to allocate 400,000,000 individual objects, each of which<br class="">> requires 16 bytes of memory in the object memory, and you are storing<br class="">> each of those objects using an 8 byte object pointer to the object in<br class="">> the ordered collection. So just for the raw storage you are going to<br class="">> need for those "Object new" things, you need 400,000,000 * (16 + 8)<br class="">> = 9,600,000,000 bytes. On top of that you are putting the objects into<br class="">> an OrderedCollection that does not know that you are going to ask it<br class="">> to hold 400,000,000 object pointers, so it has to keep extending itself<br class="">> as the test proceeds.<br class="">><span class=""> </span><br class="">> When I tried to run this on my PC with a mere eight GB of real memory,<br class="">> the operating system had to start swapping out real memory make room<br class="">> for all of that activity. And every time the OrderedCollection needs<br class="">> to extend its space, it is accessing real memory that probably got<br class="">> swapped out to disk to make room in the 8GB of real memory space, so<br class="">> basically it puts the system into a death spiral that locks up the<br class="">> Squeak image (and pretty much everything else on my computer).<br class="">><span class=""> </span><br class="">> So I am able to reproduce the locked up image (as I would expect on my<br class="">> PC with only 8GB memory) but I have not been able to reproduce a crash.<br class="">><span class=""> </span><br class="">> Just to clarify, are you describing a "crash" in which the actual<br class="">> Squeak VM process exited unexpectedly, or was it a "crash" in the<br class="">> sense of the the image locking up and becoming unresponsive? If the<br class="">> latter, then most likely nothing is wrong.<br class="">><span class=""> </span><br class="">> Dave<br class="">><span class=""> </span><br class="">><span class=""> </span><br class=""><br class=""><br class=""></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>--<span class=""> </span><br class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><span style="font-size:small;border-collapse:separate" class=""><div class="">_,,,^..^,,,_<br class=""></div><div class="">best, Eliot</div></span></div></div></div></div></div></blockquote></div><br class=""><span class=""></span><br class=""></div></blockquote></div></div><br class=""></div></blockquote></div><br class=""></div></div><br class=""></blockquote></div><br style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" clear="all" class=""><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><br class=""></div><span style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline" class="">--<span class=""> </span></span><br style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div dir="ltr" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div dir="ltr" class=""><div class=""><span style="font-size:small;border-collapse:separate" class=""><div class="">_,,,^..^,,,_<br class=""></div><div class="">best, Eliot</div></span></div></div></div></div></blockquote></div><br class=""></div></div><br class=""></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>--<span class=""> </span><br class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><span style="font-size:small;border-collapse:separate" class=""><div class="">_,,,^..^,,,_<br class=""></div><div class="">best, Eliot</div></span></div></div></div></div></blockquote></div><br style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" clear="all" class=""><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><br class=""></div><span style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline" class="">--<span class=""> </span></span><br style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div dir="ltr" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div dir="ltr" class=""><div class=""><span style="font-size:small;border-collapse:separate" class=""><div class="">_,,,^..^,,,_<br class=""></div><div class="">best, Eliot</div></span></div></div></div></div></blockquote></div><br class=""><span class=""></span><br class=""></div></blockquote></div></div><br class=""></div></blockquote></div><br class=""></div><span class=""></span><br class=""></div></blockquote></div></div><br class=""></div></blockquote></div><br class=""></div></div><br class="">
</blockquote></div>
<br class=""></div></blockquote></div><br class=""></div></body></html>