<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Hilaire,<br>
<br>
On 6/19/2022 10:07 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:e770838f-5192-8330-eced-49ab6acd70ff@drgeo.eu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Hi,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Sorry for the delay, busy elsewhere.<br>
</div>
</blockquote>
<br>
Never mind. We all are, and come back to issues as time permits.<br>
<br>
<blockquote cite="mid:e770838f-5192-8330-eced-49ab6acd70ff@drgeo.eu"
type="cite">
<div class="moz-cite-prefix">Le 07/06/2022 à 19:54, Juan Vuletich
a écrit :<br>
</div>
<blockquote type="cite" cite="mid:629F90D9.70505@zoho.com">I just
tried to reproduce this. Had to tweak the script a bit, as
`UIManager ui taskbar` answered nil. After handling that case,
the script saved a 13Mb image (Not 38Mb), that can be started
again without trouble.<br>
</blockquote>
<p>I don't understand, in the base image, UIManager ui taskbar
returns the taskbar morph instance?</p>
</blockquote>
<br>
Apparently, not during startup time. Startup is a pretty special
time for the system. See senders of #processCommandLineArguments.
The #whenUIinSafeState: in the sender might not be enough.<br>
<br>
<blockquote cite="mid:e770838f-5192-8330-eced-49ab6acd70ff@drgeo.eu"
type="cite">
<p>Did you start the script from the command line or did you copy
and paste it in a Workspace? For me both scenarii lead to an
image I can not restart with the same VM. I got alternatively a
completely <b>black or white VM window with an active mouse
cursor</b>.<br>
</p>
</blockquote>
<br>
Tried both ways, I believe.<br>
<br>
<blockquote cite="mid:e770838f-5192-8330-eced-49ab6acd70ff@drgeo.eu"
type="cite">
<p> </p>
<p>Now, when I produce the image it is 13MB too, but it can not be
started again. <br>
</p>
<p>I zipped the files at <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://www.dropbox.com/s/fsqz5jc0jvk6nvj/drgeoHang.zip?dl=0">https://www.dropbox.com/s/fsqz5jc0jvk6nvj/drgeoHang.zip?dl=0</a>.
Does it start on your system?</p>
<p>The used VM is recent:</p>
<p><font face="monospace">hilaire@PCHome:~/Travaux/Developpement/Cuis/Cuis-Smalltalk-Dev$
../VM/squeak -version<br>
5.0-202205110711 Wed May 11 07:49:55 UTC 2022 clang
[Production Spur 64-bit x86_64 VM]<br>
CoInterpreter VMMaker.oscog-mt.3184 uuid:
57b61827-3f1a-ab45-966e-7c5caaef28d7 May 11 2022<br>
StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid:
c6fbcb07-2a19-ed4f-8b40-9c119a70882a May 11 2022<br>
VM: 202205110711
runner@fv-az197-581:work/opensmalltalk-vm/opensmalltalk-vm<br>
Date: Wed May 11 09:11:21 2022 CommitHash: 95dbe9d<br>
Plugins: 202205110711
runner@fv-az197-581:work/opensmalltalk-vm/opensmalltalk-vm<br>
Linux fv-az197-581 5.4.0-1077-azure #80~18.04.1-Ubuntu SMP Wed
Apr 13 02:07:09 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux<br>
plugin path: ../VM/lib/squeak/5.0-202205110711-64bit [default:
/home/hilaire/Travaux/Developpement/Cuis/VM/lib/squeak/5.0-202205110711-64bit/]</font><br>
</p>
</blockquote>
<br>
This image starts up without trouble (provided I add a suitable VM,
and a CuisV6.sources file, in MacOS, Windows 7 and Ubuntu 64. In all
cases it opens a walkback due to the missing fonts folder, but
otherwise they can be used normally.<br>
<br>
On Ubuntu, the VM I'm using is<br>
<br>
cogspur/squeak -version<br>
5.0-201901172323 Thu Jan 24 10:16:38 UTC 2019 gcc 4.8 [Production
Spur 64-bit VM]<br>
CoInterpreter VMMaker.oscog-eem.2504 uuid:
a00b0fad-c04c-47a6-8a11-5dbff110ac11 Jan 24 2019<br>
StackToRegisterMappingCogit VMMaker.oscog-eem.2504 uuid:
a00b0fad-c04c-47a6-8a11-5dbff110ac11 Jan 24 2019<br>
VM: 201901172323
<a class="moz-txt-link-freetext" href="https://github.com/OpenSmalltalk/opensmalltalk-vm.git">https://github.com/OpenSmalltalk/opensmalltalk-vm.git</a><br>
Date: Fri Jan 18 00:23:50 2019 CommitHash: 5a38b348<br>
Plugins: 201901172323
<a class="moz-txt-link-freetext" href="https://github.com/OpenSmalltalk/opensmalltalk-vm.git">https://github.com/OpenSmalltalk/opensmalltalk-vm.git</a><br>
Linux travis-job-c04cd05f-26b2-42b3-a06d-dcae3a05d5b6
4.4.0-101-generic #124~14.04.1-Ubuntu SMP Fri Nov 10 19:05:36 UTC
2017 x86_64 x86_64 x86_64 GNU/Linux<br>
plugin path: cogspur/lib/squeak/5.0-201901172323 [default:
/mnt/hgfs/Shared/drgeoHang/cogspur/lib/squeak/5.0-201901172323/]<br>
<br>
It is a bit older. Haven't updated it recently. If this makes a big
difference, then it would be a VM problem.<br>
<br>
<blockquote cite="mid:e770838f-5192-8330-eced-49ab6acd70ff@drgeo.eu"
type="cite">
<p> <br>
</p>
<blockquote type="cite" cite="mid:629F90D9.70505@zoho.com"> <br>
I suggest trying to make that script smaller, perhaps by doing
the setup in a class method in one of the loaded packages.<br>
</blockquote>
<p>I prefer to keep this in the starting script for convenience
editing</p>
<p>Thanks<br>
</p>
<p>Hilaire<br>
</p>
<p><br>
</p>
</blockquote>
<br>
I see. The price to pay is that debugging is immensely harder.<br>
<br>
<blockquote cite="mid:e770838f-5192-8330-eced-49ab6acd70ff@drgeo.eu"
type="cite">
<p> </p>
<blockquote type="cite" cite="mid:629F90D9.70505@zoho.com"> <br>
Keep us posted.<br>
<br>
Thanks, </blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a class="moz-txt-link-freetext" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
</body>
</html>