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

Marcel Taeumel marcel.taeumel at hpi.de
Thu Dec 30 15:33:40 UTC 2021


Hi all --

I just had an interesting font-rendering bug on Windows. All on a sudden, all glyphs turned invisible. Only the uppercase S remained. It was a TTCFont. Then the VM crashed. Maybe this is related?

Best,
Marcel
Am 28.12.2021 22:40:54 schrieb Bruce O'Neel <bruce.oneel at pckswarms.ch>:
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 [mailto: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.org [mailto:tim at rowledge.org]; http://www.rowledge.org/tim [http://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/20211230/a2416e9c/attachment.html>


More information about the Squeak-dev mailing list