help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Bus error while building GST 3.2 on SPARC Linux


From: Bruno Haible
Subject: Re: [Help-smalltalk] Bus error while building GST 3.2 on SPARC Linux
Date: Tue, 27 Jul 2010 03:24:23 +0200
User-agent: KMail/1.9.9

Paolo Bonzini wrote:
> It is mmaping files, but the particular spot where the SIGBUS is 
> happening means that the area was anonymously mapped.  The mmaped file 
> includes object data which is not movable and is not reused when an 
> object inside there dies.  Instead oldspace is an anonymous mmap and it 
> is a full-blown memory heap with malloc (_gst_mem_alloc) and free 
> (_gst_mem_free).

Yes, it should be safe then.

Another reason for SIGBUS - on SPARC systems, never ocurring on x86 systems -
is an unaligned address, for example an 'ld' instruction on an address that
is not a multiple of 4, or an 'ldd' instruction on an address that is not a
multiple of 8 (e.g. if it crosses a page boundary...).

> Let's wait for Gabriel's experiment.

Yes. And it would be useful to see the values of 'blk', 'mem', and of the
CPU registers in
<http://lists.gnu.org/archive/html/help-smalltalk/2010-07/msg00017.html>.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]