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

Bruce O'Neel bruce.oneel at pckswarms.ch
Tue Dec 28 21:40:43 UTC 2021


Hi,

You called it - it does seem to be in the BitBltPlugin.

I rebuilt this VM.

Date: Mon Dec 20 22:21:04 2021 CommitHash: 0cfe6c72e

in all 3 versions, normal, debug, and assert.

Of course the debug and assert builds run fine.

The backtrace is below.

I'll see if I can get some form of -Osomething and -g to work (ie
crash) such that this is easier to debug 

cheers

bruce

(gdb) bt

#0  __memcpy_generic () at
../sysdeps/aarch64/multiarch/../memcpy.S:170

#1  0x000000555563090c in memmove (__len=<optimized out>,

    __src=<optimized out>, __dest=<optimized out>)

    at /usr/include/aarch64-linux-gnu/bits/string_fortified.h:40

#2  fastPathSourceWord32_32 (op=<optimized out>,
flags=flags at entry=138559552)

    at
/home/edoneel/tmp/opensmalltalk-vm/platforms/Cross/plugins/BitBltPlugin/BitBltGeneric.c:306

#3  0x0000005555630528 in fastPathBottomToTop (op=0x7ffff99c40,

    flags=541212736)

    at
/home/edoneel/tmp/opensmalltalk-vm/platforms/Cross/plugins/BitBltPlugin/BitBltGeneric.c:534

#4  0x000000555562da28 in copyBitsFastPathSpecialised ()

    at
/home/edoneel/tmp/opensmalltalk-vm/src/plugins/BitBltPlugin/BitBltPlugin.c:1459

#5  copyBits ()

    at
/home/edoneel/tmp/opensmalltalk-vm/src/plugins/BitBltPlugin/BitBltPlugin.c:1373

#6  0x000000555562df30 in primitiveCopyBits ()

    at
/home/edoneel/tmp/opensmalltalk-vm/src/plugins/BitBltPlugin/BitBltPlugin.c:5246

#7  0x00000055557b8a08 in ?? ()

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

> That does sound eerily familiar
> 
>>  On 2021-12-28, at 10:33 AM, Bruce O'Neel
>>  <bruce.oneel at pckswarms.ch> wrote:
>>  
>>  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.
> 
> tim
> --
> tim Rowledge; tim at rowledge.orghttp://www.rowledge.org/tim
> Useful Latin Phrases:- Radix lecti = Couch potato

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


More information about the Squeak-dev mailing list