[Rock-dev] Logging incompatible between 64<->32 bit machiens?

Alexander Duda Alexander.Duda at dfki.de
Tue Jun 19 15:45:22 CEST 2012


On 06/19/2012 09:45 AM, Matthias Goldhoorn wrote:
> Hi i run with some students in the problem that (even with same branch
> ob base/types) actual logfiles was incompatible.
> We tried to replay an logfile and connect the logger to an running task.
> during an write we got the error that the type's had the same name but
> different definitions.
>
> rock-convert help's for now, i compared the typelib header of the
> converted an the original logfile:
>
>
> 6a7
>   >  <alias name="/int signed long" source="/int64_t"/>
> 8c9,10
> <  <alias name="/int64" source="/int64_t"/>
> ---
>   >  <alias name="/long" source="/int64_t"/>
>   >  <alias name="/long int" source="/int64_t"/>
> 14a17,18
>   >  <alias name="/long signed" source="/int64_t"/>
>   >  <alias name="/long signed int" source="/int64_t"/>
> 16a21
>   >  <alias name="/signed int long" source="/int64_t"/>
> 17a23,24
>   >  <alias name="/signed long" source="/int64_t"/>
>   >  <alias name="/signed long int" source="/int64_t"/>
> 26c33
> <  <compound name="/base/Time" size="8"
> source_id="/home/ich/Rock-Framework/install/include/base/time.h">
> ---
>   >  <compound name="/base/Time" size="8"
> source_id="/home/auv/next/install/include/base/time.h">
> 31,32c38,39
> <  <container  name="/std/vector&lt;/uint8_t&gt;" of="/uint8_t" size="12"
> kind="/std/vector" />
> <  <compound name="/base/samples/SonarBeam" size="48"
> source_id="/home/ich/Rock-Framework/install/include/base/samples/sonar_beam.h">
> ---
>   >  <container  name="/std/vector&lt;/uint8_t&gt;" of="/uint8_t"
> size="24" kind="/std/vector" />
>   >  <compound name="/base/samples/SonarBeam" size="64"
> source_id="/home/auv/next/install/include/base/samples/sonar_beam.h">
> 39c46
> <  <field name="beam" type="/std/vector&lt;/uint8_t&gt;" offset="36"/>
> ---
>   >  <field name="beam" type="/std/vector&lt;/uint8_t&gt;" offset="40"/>
>
>
>
> Is this intended to be not-live-compatible?, it seems that the sized of
> the vector differ.
> Is this an bug or is this normal?, (if so, an more detailed error
> description "did you tried rock-convert for 64<->32bit logfiles" could
> be prevent future trouble.)
>
> If your are interested in the logfiles
>
> http://auv.informatik.uni-bremen.de/logfile_convert_problem.tgz
>
> Matthias
>
Unfortunately the memory layout of the 32 bit and 64 bit version are not 
compatible therefore there is no way to cast them. You have to use deep 
copy (rock-convert).

Can you please open a ticket for this (improving the error message)

Alex

-- 
Dipl.-Ing. Alexander Duda
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3



More information about the Rock-dev mailing list