[M3devel] Pickling problem from 64 to 32 bit platforms

Olaf Wagner wagner at elegosoft.com
Tue Sep 1 01:23:26 CEST 2009


Quoting "Rodney M. Bates" <rodney.m.bates at cox.net>:

> Some initial observations:
>
> I don't understand the circumstances where this is happening.
> "pickles from 64 to 32 bit" sounds to me like the pickle was written
> on a 64-bit machine and read on a 32-bit machine.  But the backtrace
> seems to be of a run on a 64-bit machine, in part because of the
> filename in the outermost frame:
>
> #38 0x0000000000408409 in _start () at ../sysdeps/x86_64/elf/start.S:113
>                                                  ^^^^^^
>
> and in part, because all the hexadecimal addresses are 64-bit values.
>
> This example seems to be using version 1 of pickles: #5
> 0x000000000045ac12 in ReadRef (reader=16_00000000025b2018) at
> ../src/pickle/ver1/Pickle.m3:529
>
>        ^^^^
>
> Without some vetting, I can't say for sure, but I'm not sure this
> version ever did all the
> cross-target stuff completely.  Did this case work earlier under the
> same circumstances?
>
> The len parameter to String8.Hash has surely gone bad.  Could there
> something wrong
> with operations on CARDINAL on 64-bit machines?   What is the symptom
> of the failure?  What needs to be run to reproduce it?

The tickets says: "Testing the network objects from 64 bit client to 32 bit
target using Linux Debian Lenny. The perf test fails on any of the oc oq r rc
object call tests."
So I assume the test to be run is cm3/m3-comm/netobj/tests/perf;
the client is a 64 bit machine, the server is a 32 bit machine,
and we see a backtrace from the client.

peter.mckinna at gmail.com who wrote the ticket may be able to provide
more details. I cannot easily test this myself as I don't have the
required machines close together anywhere.

Hope this helps,

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list