Hi Everyone, I've just rebuilt my vmmaker squeak image and found that dragging windows around "tears" the windows underneath, as shown in the attached image. Bringing the damaged window to the front causes the contents to be redrawn correctly. I also saw this when building a pharo vm a couple of days ago. It causes tests in PNGReadWriterTest class to fail (#test2BitReversed, #test4BitReversed and #test8BitReversed from memory). I'm guessing the change was made in the last 6 weeks or so. If no one recognises this I'll start looking at it in a few days (I hope). Thanks, Alistair $ sqlinux.201809301616/squeak --version 5.0-201809301616 Sun Sep 30 16:24:40 UTC 2018 gcc 4.8 [Production Spur 64-bit VM] CoInterpreter VMMaker.oscog-eem.2437 uuid: 0e97c106-dd0b-437b-b1aa-e15257288c3f Sep 30 2018 StackToRegisterMappingCogit VMMaker.oscog-eem.2432 uuid: 7b14d114-0e04-4e46-b8a7-4b5e6d87f5fe Sep 30 2018 VM: 201809301616 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sun Sep 30 09:16:55 2018 CommitHash: 057c592 Plugins: 201809301616 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Linux travis-job-0b521285-dae6-496e-a96c-06870f88a3a5 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 plugin path: sqlinux.201809301616/lib/squeak/5.0-201809301616 [default: /home/alistair/vmmaker/opensmalltalk-vm/image20181001/sqlinux.201809301616/lib/squeak/5.0-201809301616/] OS: Ubuntu 16.04 Screenshot from 2018-10-01 21-05-33.png (148K) Download Attachment |
Hi Alistair, > On Oct 1, 2018, at 12:15 PM, Alistair Grant <[hidden email]> wrote: > > Hi Everyone, > > I've just rebuilt my vmmaker squeak image and found that dragging > windows around "tears" the windows underneath, as shown in the > attached image. Bringing the damaged window to the front causes the > contents to be redrawn correctly. > > I also saw this when building a pharo vm a couple of days ago. It > causes tests in PNGReadWriterTest class to fail (#test2BitReversed, > #test4BitReversed and #test8BitReversed from memory). > > I'm guessing the change was made in the last 6 weeks or so. > > If no one recognises this I'll start looking at it in a few days (I hope). See the changes in my latest commit. I am trying to fix a serious bug in copyBits, namely reading the word past the last word in a bitmap in certain cases (ie a case where preload is true but the trailing word is not used). I know my changes are correct for deep bitmaps but they’re clearly broken for depths 8 and less. Please post test cases here. I need to look using the simulator to try and figure things out. I am currently looking at the #test2BitReversed, #test4BitReversed and #test8BitReversed cases to try and figure out what’s wrong. > > Thanks, > Alistair > > > $ sqlinux.201809301616/squeak --version > 5.0-201809301616 Sun Sep 30 16:24:40 UTC 2018 gcc 4.8 [Production > Spur 64-bit VM] > CoInterpreter VMMaker.oscog-eem.2437 uuid: > 0e97c106-dd0b-437b-b1aa-e15257288c3f Sep 30 2018 > StackToRegisterMappingCogit VMMaker.oscog-eem.2432 uuid: > 7b14d114-0e04-4e46-b8a7-4b5e6d87f5fe Sep 30 2018 > VM: 201809301616 https://github.com/OpenSmalltalk/opensmalltalk-vm.git > Date: Sun Sep 30 09:16:55 2018 CommitHash: 057c592 > Plugins: 201809301616 https://github.com/OpenSmalltalk/opensmalltalk-vm.git > Linux travis-job-0b521285-dae6-496e-a96c-06870f88a3a5 > 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 > plugin path: sqlinux.201809301616/lib/squeak/5.0-201809301616 > [default: /home/alistair/vmmaker/opensmalltalk-vm/image20181001/sqlinux.201809301616/lib/squeak/5.0-201809301616/] > > OS: Ubuntu 16.04 > <Screenshot from 2018-10-01 21-05-33.png> |
In reply to this post by alistairgrant
Hi Alistair, > > Hi Everyone, > > I've just rebuilt my vmmaker squeak image and found that dragging > windows around "tears" the windows underneath, as shown in the > attached image. Bringing the damaged window to the front causes the > contents to be redrawn correctly. > > I also saw this when building a pharo vm a couple of days ago. It > causes tests in PNGReadWriterTest class to fail (#test2BitReversed, > #test4BitReversed and #test8BitReversed from memory). > > I'm guessing the change was made in the last 6 weeks or so. > > If no one recognises this I'll start looking at it in a few days (I > hope). I'v seen this today on macOS 10.14 (Mojave). I didn't think anything of it because since Mojave I can't run any of my old VM's properly due to a problem that looks very similar but doesn't go away unless I resize the image window, which I obviously can't do after every click. Also, the tearing effect in the old VM's is much worse. I'm pretty sure the two issues aren't directly related but I thought I'd put it out there, just in case. Max > > Thanks, > Alistair > > > $ sqlinux.201809301616/squeak --version > 5.0-201809301616 Sun Sep 30 16:24:40 UTC 2018 gcc 4.8 [Production > Spur 64-bit VM] > CoInterpreter VMMaker.oscog-eem.2437 uuid: > 0e97c106-dd0b-437b-b1aa-e15257288c3f Sep 30 2018 > StackToRegisterMappingCogit VMMaker.oscog-eem.2432 uuid: > 7b14d114-0e04-4e46-b8a7-4b5e6d87f5fe Sep 30 2018 > VM: 201809301616 https://github.com/OpenSmalltalk/opensmalltalk-vm.git > Date: Sun Sep 30 09:16:55 2018 CommitHash: 057c592 > Plugins: 201809301616 > https://github.com/OpenSmalltalk/opensmalltalk-vm.git > Linux travis-job-0b521285-dae6-496e-a96c-06870f88a3a5 > 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 > plugin path: sqlinux.201809301616/lib/squeak/5.0-201809301616 > [default: > /home/alistair/vmmaker/opensmalltalk-vm/image20181001/sqlinux.201809301616/lib/squeak/5.0-201809301616/] > > OS: Ubuntu 16.04 |
In reply to this post by alistairgrant
Hi Aliistair, Hi All, I'm going to move this discussion to the "[Vm-dev] VM Maker: VMMaker.oscog-eem.2445.mcz" thread. That's the commit that caused the problem and where I need to merge its fix (reading past the end of a bitmap) with the regression (tearing the screen, et al). On Mon, Oct 1, 2018 at 12:15 PM Alistair Grant <[hidden email]> wrote: Hi Everyone, _,,,^..^,,,_ best, Eliot |
In reply to this post by Eliot Miranda-2
Hi Eliot,
cool that you're fixing that, we've had hacks working around this bug in RSqueakVM for ages, because we couldn't quite figure out what the real fix would look like.
Best,
Tim
From: Eliot Miranda
Sent: Monday, October 1, 13:20
Subject: Re: [Vm-dev] Latest VM "tears" screen
To: Open Smalltalk Virtual Machine Development Discussion
Hi Alistair, > On Oct 1, 2018, at 12:15 PM, Alistair Grant wrote: > > Hi Everyone, > > I've just rebuilt my vmmaker squeak image and found that dragging > windows around "tears" the windows underneath, as shown in the > attached image. Bringing the damaged
window to the front causes the > contents to be redrawn correctly. > > I also saw this when building a pharo vm a couple of days ago. It > causes tests in PNGReadWriterTest class to fail (#test2BitReversed, > #test4BitReversed and #test8BitReversed from memory).
> > I'm guessing the change was made in the last 6 weeks or so. > > If no one recognises this I'll start looking at it in a few days (I hope). See the changes in my latest commit. I am trying to fix a serious bug in copyBits, namely reading the word past the
last word in a bitmap in certain cases (ie a case where preload is true but the trailing word is not used). I know my changes are correct for deep bitmaps but they’re clearly broken for depths 8 and less. Please post test cases here. I need to look using the
simulator to try and figure things out. I am currently looking at the #test2BitReversed, #test4BitReversed and #test8BitReversed cases to try and figure out what’s wrong. > > Thanks, > Alistair > > > $ sqlinux.201809301616/squeak --version > 5.0-201809301616
Sun Sep 30 16:24:40 UTC 2018 gcc 4.8 [Production > Spur 64-bit VM] > CoInterpreter VMMaker.oscog-eem.2437 uuid: > 0e97c106-dd0b-437b-b1aa-e15257288c3f Sep 30 2018 > StackToRegisterMappingCogit VMMaker.oscog-eem.2432 uuid: > 7b14d114-0e04-4e46-b8a7-4b5e6d87f5fe
Sep 30 2018 > VM: 201809301616 https://github.com/OpenSmalltalk/opensmalltalk-vm.git > Date: Sun Sep 30 09:16:55 2018 CommitHash: 057c592 > Plugins: 201809301616 https://github.com/OpenSmalltalk/opensmalltalk-vm.git > Linux travis-job-0b521285-dae6-496e-a96c-06870f88a3a5
> 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 > plugin path: sqlinux.201809301616/lib/squeak/5.0-201809301616 > [default: /home/alistair/vmmaker/opensmalltalk-vm/image20181001/sqlinux.201809301616/lib/squeak/5.0-201809301616/]
> > OS: Ubuntu 16.04 >
|
Free forum by Nabble | Edit this page |