On Wed, Apr 15, 2009 at 02:52:41PM +0200, Eric Noulard wrote:
> 2009/4/14 ZXPLECOFR004, Ext <ext.zxplecofr...@astrium.eads.net>:
> >
> > Hi all,
> >
> > For my project, I need to use TSP with a blackboard. After a try it failed,
> > here is what I have done (on the same platform) :
> >
> >  xterm 1 :   $bb_simu
> >     -> it display the variables
> >  xterm 2 :   $tsp_bb_provider bb_simu 1
> >     ->   TSP Provider on PID 13626 - URL #0 :
> > <rpc://vpu-scoe1.tls.fr.astrium.corp/bb_simu:0>
> >  xterm 3 :   $tsp_stdout_client
> >
> > The 'tsp_stdout_client' request some data to the provider which display the
> > following line:
> >
> >
> > ERROR||/home/gaia/dev/tsp-0.8.3-Source/src/core/ctrl/tsp_data_sender.c##TSP_data_sender_send##335:
> > data_encoder failed
> >
> > Any idea ?
> 
> Yes there may be alignment issues on using 32bits version on a 64bits hosts
> however I do not expect this kind of error in this case.
> In fact I think we did not try this combination, by the way how did you 
> compile
> the 32bits version? On another host? Cross-compiling 32bits on 64bits host?

I did reproduce the problem on x86 full 32 bits... So it's seems that
the bug has always been present on 0.8.3. It is unclear how it slipped
through as bb_simu + tsp_bb_provider + tsp_stdout_client is a classic
test combo.

I didn't take time to dig deeper, but the cause of the problem in
tsp_data_sender is that dimension is 0, so the encoder correctly
returns 0.

Just in case, I've uploaded a tarball of latest CVS here:
http://www.xprog.eu/tsp.tgz . Could you have a look Olivier?

Regards,
Frederik
> 
> > The PC runs on Linux 64 bits. TSP is compiled in 32 bits (this is
> > mandatory).
> > The TSP version is 0.8.3.
> 
> 0.8.3 is becoming very old, we really need to find time to release 0.8.4,
> would you be able to try the CVS version? I may build you a tarball if
> have no anonymous CVS access.
> 
> In any case you should open a Savannah account and report the bug in
> the tracker:
> https://savannah.nongnu.org/bugs/?group=tsp
> 
> > Olivier Garbil
> >
> > PS: I have try a 64 bits compiled version and the result is identical.
> 
> I'll try that too in a day or two.
> 
> -- 
> Erk
> 
> 
> _______________________________________________
> Tsp-devel mailing list
> Tsp-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/tsp-devel
> 


_______________________________________________
Tsp-devel mailing list
Tsp-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tsp-devel

Répondre à