[Test][Squeak5.2a] Dropping a 32bit myProject.pr object file into a 64bit image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Test][Squeak5.2a] Dropping a 32bit myProject.pr object file into a 64bit image

Hannes Hirzel
Hello

What happens if you drop the attached *.pr file (32bit) into a 64 bit image?

Regards

-- Hannes



Project32b5d2.004.pr (36K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Test][Squeak5.2a] Dropping a 32bit myProject.pr object file into a 64bit image

Hannes Hirzel
P.S. The file was made on Linux / Ubuntu derivative. I wonder if it
has an influence if you load it on a Mac 64bit

On 7/2/18, H. Hirzel <[hidden email]> wrote:
> Hello
>
> What happens if you drop the attached *.pr file (32bit) into a 64 bit
> image?
>
> Regards
>
> -- Hannes
>

Reply | Threaded
Open this post in threaded view
|

Re: [Test][Squeak5.2a] Dropping a 32bit myProject.pr object file into a 64bit image

K K Subbu
In reply to this post by Hannes Hirzel
On Tuesday 03 July 2018 12:19 AM, H. Hirzel wrote:
> Hello
>
> What happens if you drop the attached *.pr file (32bit) into a 64 bit image?

Got a MNU - Key Not Found 3040.

The image segment in the file is correctly recognised as a LE32
NativeImageSegment and handled by Spur32BitImageSegmentLoader. The
segment is 45288 bytes long and the loader tries to allocate the object
around position 3000, but fails.
   format=33, classIndex=396, numSlots=12, oop=2984

The oopIndex for this class is 3040 but this slot in oopMap is nil.

HTH .. Subbu