Data transfer 32 vs 64 bit

5 messages Options
Embed this post
Permalink
Paul Melis

Data transfer 32 vs 64 bit

Reply Threaded More More options
Print post
Permalink
Hi,

I currently use a 32-bit control application to drive TPD render clients that are 64-bit. Is this setup supported w.r.t. object serialization and such? I get scary message which seem to indicate problems in this area:

opti@optiHD0:~/cgview$ eqServer tpd.eqc
28577 140290407344032 ./lib/net/fullSlaveCM.cpp:152   402 Object N2eq6server4ViewE did not unpack all data
28577 140290407344032 ./lib/net/fullSlaveCM.cpp:152   402 Object N2eq6server4ViewE did not unpack all data
9493 140685855602592 ./lib/net/node.cpp:1599     1 Node not found on server
[...]
9493 1138141520 ./lib/net/dataIStream.cpp:62   678 Unreachable code
[...]
13382 1121433936 ./lib/net/dataIStream.cpp:62   678 Unreachable code
13382 1121433936 ./lib/net/dataIStream.cpp:63   678 Not enough data in input buffer
[...]
28588 1135380816 ./lib/net/dataIStream.cpp:62   678 Unreachable code
28588 1135380816 ./lib/net/dataIStream.cpp:63   678 Not enough data in input buffer
28588 1135380816 ./lib/net/dataIStream.cpp:62   678 Unreachable code
28588 1135380816 ./lib/net/dataIStream.cpp:63   678 Not enough data in input buffer


Thanks,
Paul
Stefan Eilemann

Re: [eq-dev] Data transfer 32 vs 64 bit

Reply Threaded More More options
Print post
Permalink

On 22. Oct 2009, at 14:15, Paul Melis [via Software] wrote:

> Hi,
>
> I currently use a 32-bit control application to drive TPD render  
> clients that are 64-bit. Is this setup supported w.r.t. object  
> serialization and such?

There are two parts of the issue: Equalizer and the application.

Equalizer and related sample applications should support it, but it is  
not tested regularly. The Linux/Windows interoperability is also  
broken right now, see bug 2849878.


> I get scary message which seem to indicate problems in this area:
[...]

> 9493 140685855602592 ./lib/net/node.cpp:1599     1 Node not found on  
> server
> [...]
> 9493 1138141520 ./lib/net/dataIStream.cpp:62   678 Unreachable code
> [...]
> 13382 1121433936 ./lib/net/dataIStream.cpp:62   678 Unreachable code
> 13382 1121433936 ./lib/net/dataIStream.cpp:63   678 Not enough data  
> in input buffer
> [...]
> 28588 1135380816 ./lib/net/dataIStream.cpp:62   678 Unreachable code
> 28588 1135380816 ./lib/net/dataIStream.cpp:63   678 Not enough data  
> in input buffer
> 28588 1135380816 ./lib/net/dataIStream.cpp:62   678 Unreachable code
> 28588 1135380816 ./lib/net/dataIStream.cpp:63   678 Not enough data  
> in input buffer

All this points to non 64/32-bit-aware serializers. If you want to  
debug it, set a breakpoint at the corresponding code and read the code  
and it's serialization counter part carefully to find the issue. I'll  
gladly apply a patch.

Alternatively raise your voice by opening a bug, if this feature is  
important to you. We will likely look at it before the 1.0.


Cheers,

Stefan.

Paul Melis

Re: [eq-dev] Data transfer 32 vs 64 bit

Reply Threaded More More options
Print post
Permalink
Stefan Eilemann wrote:
On 22. Oct 2009, at 14:15, Paul Melis [via Software] wrote:

> I currently use a 32-bit control application to drive TPD render  
> clients that are 64-bit. Is this setup supported w.r.t. object  
> serialization and such?

There are two parts of the issue: Equalizer and the application.

Equalizer and related sample applications should support it, but it is  
not tested regularly. The Linux/Windows interoperability is also  
broken right now, see bug 2849878.
Well, I was testing with eqPly (Linux 32 bit <-> 64 bit), not yet with my own application. I'll first look at the latter to see if it shows similar problems as I need to get it running in the next days.

Stefan Eilemann

Re: [eq-dev] Data transfer 32 vs 64 bit

Reply Threaded More More options
Print post
Permalink
Hi Paul,

On Thu, Oct 22, 2009 at 1:36 PM, Paul Melis [via Software]
<[hidden email]> wrote:
> Well, I was testing with eqPly (Linux 32 bit <-> 64 bit), not yet with my
> own application. I'll first look at the latter to see if it shows similar
> problems as I need to get it running in the next days.

I've just had to fix the MacOS/Windows interoperability, which might
have fixed the 32/64 bit issue as well.

Since I don't have a setup at hand, can you retest and open a bug if
it still does not work?


Thanks,

Stefan.
Paul Melis

Re: [eq-dev] Data transfer 32 vs 64 bit

Reply Threaded More More options
Print post
Permalink
Stefan Eilemann [via Software] wrote:

> Hi Paul,
>
> On Thu, Oct 22, 2009 at 1:36 PM, Paul Melis [via Software]
> <[hidden email]
> <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3951483&i=0>>
> wrote:
> > Well, I was testing with eqPly (Linux 32 bit <-> 64 bit), not yet
> with my
> > own application. I'll first look at the latter to see if it shows
> similar
> > problems as I need to get it running in the next days.
>
> I've just had to fix the MacOS/Windows interoperability, which might
> have fixed the 32/64 bit issue as well.
>
> Since I don't have a setup at hand, can you retest and open a bug if
> it still does not work?
Well, unfortunately the setup I was using is also unavailable and will
be for at least another month. So it will be some time before I can test
it...

Paul