<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi all --<div><br></div><div>I cannot even see a crash or a growth in GDI objects in a recent OSVM build:</div><div><br></div><div><div><span style="font-size: 13.3333px"><span style="white-space:pre">   </span>OS: Win32 10.0 X64</span></div><div><span style="font-size: 13.3333px"><span style="white-space:pre">    </span>VM: 2022<b>1109</b>0631 (5a9222cd1)</span></div><div><span style="font-size: 13.3333px"><span style="white-space:pre">       </span>SQ: Squeak6.0 #22114 (64 bit)</span></div></div><div><span style="font-size: 13.3333px"><br></span></div><div><div style=""><div><span style="white-space:pre">      </span>OS: Win32 10.0 X64</div><div><span style="white-space:pre">    </span>VM: 2022<b>1109</b>0631 (5a9222cd1)</div><div><span style="white-space:pre">       </span>SQ: Squeak6.1alpha #22271 (64 bit)</div></div></div><div style=""><br></div><div style=""><span style="font-size: 13.3333px">Then I tried Windows 11, all looks fine. Except that the primitive still reports "Win32 10.0 X64" for some reason...</span></div><div style=""><span style="font-size: 13.3333px"><br></span></div><div style=""><div style=""><span style="font-size: 13.3333px">    OS: Win32 10.0 X64 ... win11</span></div><div style=""><span style="font-size: 13.3333px">    VM: 2022<b>0602</b>1410 (c9fd365)</span></div><div style=""><span style="font-size: 13.3333px">    SQ: Squeak6.0 #22114 (64 bit)</span></div><div style=""><span style="font-size: 13.3333px"><br></span></div><div style=""><span style="font-size: 13.3333px">    OS: Win32 10.0 X64 ... win11</span></div><div style=""><span style="font-size: 13.3333px">    VM: 2022<b>1109</b>0631 (5a9222c)</span></div><div style=""><span style="font-size: 13.3333px">    SQ: Squeak6.0 #22114 (64 bit)</span></div><div style=""><span style="font-size: 13.3333px"><br></span></div><div style=""><span style="font-size: 13.3333px">    OS: Win32 10.0 X64 ... win11</span></div><div style=""><span style="font-size: 13.3333px">    VM: 2022<b>0602</b>1410 (c9fd365)</span></div><div style=""><span style="font-size: 13.3333px">    SQ: Squeak6.1alpha #22271 (64 bit)</span></div><div style=""><span style="font-size: 13.3333px"><br></span></div><div style=""><span style="font-size: 13.3333px">    OS: Win32 10.0 X64 ... win11</span></div><div style=""><span style="font-size: 13.3333px">    VM: 2022<b>1109</b>0631 (5a9222c)</span></div><div style=""><span style="font-size: 13.3333px">    SQ: Squeak6.1alpha #22271 (64 bit)</span></div><div style=""><span style="font-size: 13.3333px"><br></span></div><div style=""><span style="font-size: 13.3333px">... so ... who can reproduce this issue where?</span></div><div style=""><span style="font-size: 13.3333px"><br></span></div><div style=""><span style="font-size: 13.3333px">Best,</span></div><div style=""><span style="font-size: 13.3333px">Marcel</span></div></div><div style=""><span style="font-size: 13.3333px"><br></span></div><div style=""><span style="font-size: 13.3333px"><br></span></div><div class="mb_sig"></div>
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 14.11.2022 12:59:40 schrieb Marcel Taeumel <marcel.taeumel@hpi.de>:</p><div style="font-family:Arial,Helvetica,sans-serif"><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Tobias --<div><br></div><div>There is no leak of GDI objects on my machine. Squeak 6.0 VMs seem to be fine... Please let us clarify this issue first.</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 14.11.2022 12:57:17 schrieb Tobias Pape <das.linux@gmx.de>:</p><div style="font-family:Arial,Helvetica,sans-serif"> <br>Maybe someone can revoke my C-license?<br>It's the second time I introduced a Leak with the DPI stuff -.-<br><br>> On 14. Nov 2022, at 12:13, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> wrote:<br>> <br>> Hmm, maybe a clue:<br>> <br>>     static double getDpiSystem(void)<br>>     {<br>>          return (double) GetDeviceCaps(GetWindowDC(stWindow), LOGPIXELSY);<br>>     } <br>> <br>> shouldn't there be a ReleaseDC here ?<br><br>Probably. I didn't know that this stuff acquired something, but is makes sense.<br>Shall I or do you want?<br><br>   -T<br><br>> <br>> Le lun. 14 nov. 2022 à 12:10, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> a écrit :<br>> I confirm that it is a GDI LEAK.<br>> If I display the number of GDI objects in the task manager, I see that the number grows up to 10,000 at which time the image hangs...<br>> <br>> Le lun. 14 nov. 2022 à 11:24, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> a écrit :<br>> Sorry, for shorten message, continued below...<br>> <br>> Le lun. 14 nov. 2022 à 11:18, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> a écrit :<br>> Hi all,<br>> as Eliot already reported in October, after a few minutes, the 64bits image locks up on windows.<br>> The console reports an error from within ioShowDisplay<br>> <br>>     SetDIBitsToDevice failed (0)<br>>     width=1364,height=757,bits=7FF7471D68E8,dc=FFFFFFFF9D010B72<br>> <br>> then several other gdi calls start to fail, like<br>> <br>>     CreateCursor failed (0)<br>> <br>> a bit further, SetDIBitsToDevice failed (8), the error message concerns <br>> <br>>  The error message a bit further is about insufficient memory resources to perform the SetDIBitsToDevice<br>> <br>> If I open an image, leave it alone, and observe the Squeak.exe process in TaskManager, I clearly see a memory leak.<br>> The error happens after about 15 or 16Mbytes increase.<br>> So we should track the origin of un-released resources, and the problem will then probably vanish.<br>> <br>> For now, it's a show-stopper for me.<br>> <br>> Nicolas<br><br><br></nicolas.cellier.aka.nice@gmail.com></nicolas.cellier.aka.nice@gmail.com></nicolas.cellier.aka.nice@gmail.com></nicolas.cellier.aka.nice@gmail.com></div></blockquote>
                                        </div></div></blockquote></div>