[squeak-dev] ARMv8 linux VM segfault when scrolling MVC workspace

Bruce O'Neel bruce.oneel at pckswarms.ch
Tue Dec 28 18:33:57 UTC 2021


It's very simple.

1. Sit down at your desk.

2. Check to make sure that your desk is wood.  Concrete is not a wise
choice.

3. Move everything of value to further than an arms reach.

4. Slam your head into the desk until you head drives itself through
and leaves a head shaped hole.

5.  Start gdb.  At this point gdb will make sense.

On 2021-12-28T19:25:21.000+01:00, tim Rowledge <tim at rowledge.org>
wrote:

> OK, so I guess the most likely issue is some edge case in the ARM fastblt path. What fun; time to try to remember how to use gdb.
> 
>>  On 2021-12-28, at 1:40 AM, Bruce O'Neel <bruce.oneel at pckswarms.ch>
>>  wrote:
>>  
>>  HI,
>>  
>>  I can repeat this on ARMv8 linux, but both ARMv6 linux and x86-64
>>  linux are ok.
>>  
>>  In my case the VM is self built from this commit hash
>>  
>>  Date: Mon Dec 20 22:21:04 2021 CommitHash: 0cfe6c72e
>>  
>>  using gcc 7.5.0 on a Ubuntu 18.04.6 system so not identical to
>>  Tim's.
>>  
>>  cheers
>>  
>>  bruce
>>  On 2021-12-28T03:58:19.000+01:00, David T. Lewis
>>  <lewis at mail.msen.com> wrote:
>>  On Mon, Dec 27, 2021 at 05:21:16PM -0800, tim Rowledge wrote:
>>  I was just trying out a workspace in an MVC project for reasons
>>  and discovered that (even with the latest
>>  sqcogspur64ARMv8linuxht/lib/squeak/5.0-202112201228-64bit/squeak
>>  VM) scrolling text in a workspace will cause a segfault. This is
>>  running on a PI 4, 64bit release of Raspberry Pi OS, 20892 image.
>>  
>>  To test - 
>>  open an MVC project
>>  open a Workspace - the location on screen does not appear to
>>  matter
>>  type a few characters with enough CRs to make the scrollbar
>>  suasage smaller than the scrollbar
>>  scroll using the sausage.
>>  boom
>>  pro$it?
>>  
>>>   <snip>
>>  
>>  Can anybody else see this? On any other cpu/OS?
>>  
>>  No problem for me on Intel linux64x64. I'm using a locally
>>  compiled
>>  VM but that is not likely to make a difference, so I expect that
>>  the
>>  issue is somehow ARM related. My image is 20901 running on:
>>  
>>  Virtual Machine
>>  ---------------
>>  /usr/local/lib/squeak/5.0-202112202121-64bit/squeak
>>  Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives *
>>  VMMaker.oscog-dtl.3123]
>>  Unix built on Dec 27 2021 12:51:27 Compiler: 4.2.1 Compatible
>>  Clang 3.8.0 (tags/RELEASE_380/final)
>>  platform sources revision VM: 202112202121
>>  lewis at lewis-Gazelle-Pro:squeak/git/opensmalltalk-vm Date: Mon Dec
>>  20 22:21:04 2021 CommitHash: 0cfe6c7 Plugins: 202112202121
>>  lewis at lewis-Gazelle-Pro:squeak/git/opensmalltalk-vm
>>  CoInterpreter * VMMaker.oscog-dtl.3123 uuid:
>>  a0d4db62-a6ac-4d9c-ba51-5eec2ce0c415 Dec 27 2021
>>  StackToRegisterMappingCogit * VMMaker.oscog-dtl.3123 uuid:
>>  a0d4db62-a6ac-4d9c-ba51-5eec2ce0c415 Dec 27 2021
> 
> tim
> --
> tim Rowledge; tim at rowledge.orghttp://www.rowledge.org/tim
> If you don't pay the exorcist do you get repossessed?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211228/d7d5c05a/attachment.html>


More information about the Squeak-dev mailing list