[Vm-dev] [squeak-dev] Squeak5.3 linux ARMv6 segfaults on startup

Marcel Taeumel marcel.taeumel at hpi.de
Mon Apr 27 06:35:57 UTC 2020


Hi all!

> So it looks tile the issue is actually in BitBlt itself.

It's funny how the fixed font in Squeak's About dialog keeps on documenting such issues. This is like the third or fourth case we had in the last year. :-)

Best,
Marcel
Am 26.04.2020 22:45:02 schrieb Eliot Miranda <eliot.miranda at gmail.com>:
Hi Tim,


On Sun, Mar 22, 2020 at 2:50 PM Eliot Miranda <eliot.miranda at gmail.com [mailto:eliot.miranda at gmail.com]> wrote:

Hi Bruce,
On Mar 22, 2020, at 8:31 AM, Bruce O'Neel <bruce.oneel at pckswarms.ch [mailto:bruce.oneel at pckswarms.ch]> wrote:
Hi,


Good news, playing with


--enable-fast-bitblt



and


--disable-fast-bitblt



does work in that it builds a working VM.


Good news/bad news, it does not change the font problem.  So that's not the problem.


Great news.  We now know it is an X11 problem and can stop worrying about the fast BitBLT code.  Thanks.

Looks like the problem, or at least a version of the problem, is nothing to do with X11.  If I open an About Squeak System Reporter in the simulator (64-bits x64) I see the fixed pitch font corruption we saw on X11 on ARM.  So it looks tile the issue is actually in BitBlt itself.

[SysRepFixedPitch.png]



cheers


bruce

21 March 2020 01:07 tim Rowledge <tim at rowledge.org [mailto:tim at rowledge.org]> wrote:



> On 2020-03-20, at 6:16 AM, Bruce O'Neel wrote:

>

>

> I specialize in ridiculous. Good news, I guess, is that I dug up a monitor, and, walked it downstairs with a keyboard and mouse and attached it. The effect with the BitstreamVeraSans and ComicSans fonts are the same. Maybe it likes serfed fonts?


I'm completely baffled by this. I don't get this effect with any ARM vm that I have that actually runs, with any image I have.


>

> So that means that it is not some funky X11 over the wire problem with the Mac and Windows X11 servers problem. That's good.


Guess so, though it just makes life weirder.


>

> I have no idea then why. Are these fonts part of the image? Is it some funky binary format that for some reason Coq is mis-reading?


Yes, the font glyphs are in-image. We've been using these ones for goodness knows how many years.


>

> I built a stack VM and I get the same result with a Squeak 5.3 image.


There*shouldn't* be any difference between the stack & cog vms.


You could try building a VM with the fastbitblt turned off I suppose -

a quick hack is to find the BITBLT_FLAGS= -DENABLE_FAST_BLT and related lines in the Makefile in you squeak.cog.spur/build directory. I haven't actually built an ARM vm without that in years so I don't know it it even still works.



tim

--

tim Rowledge; tim at rowledge.org [mailto:tim at rowledge.org]; http://www.rowledge.org/tim [http://www.rowledge.org/tim]

It is easier to change the specification to fit the program than vice versa.









--

_,,,^..^,,,_

best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200427/bc748acc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SysRepFixedPitch.png
Type: image/png
Size: 107899 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200427/bc748acc/attachment-0001.png>


More information about the Vm-dev mailing list