Comments (7)
Could this be architecture specific?
from roscpp_core.
Possibly.
$ uname -a
Linux ubuntu 4.15.0-39-generic #42~16.04.1-Ubuntu SMP Wed Oct 24 17:09:54 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
from roscpp_core.
I'm unable to reproduce this in melodic and looking at the serialization.h file it looks very different. I believe this code has been refactored and the issue got fixed indirectly by that.
This is an alignment issue, meaning that a variable is stored or accessed at an unaligned memory address. Correct C code should not store an 8 byte variable at a memory address not divisible by 8.
from roscpp_core.
@zhoulaifu The line number in your error message doesn't match the current code in the repository. Please try to reproduce the problem with the latest code and comment if you are still seeing the problem and if yes, include updated information.
I'm unable to reproduce this in melodic and looking at the serialization.h file it looks very different.
@hannob This repository uses the same branch for Kinetic as well as Melodic.
from roscpp_core.
Which version of the repo and which distro would you want me to check? FYI, the error message above was from kinetic.
from roscpp_core.
As mentioned above: the line number in the error message doesn't match the code on the default branch so you might be using an older version. Please post the version number of the package you are using.
Please try to:
- update to the latest released Debian package or
- build the current HEAD of the default branch from source - that works either for Kinetic, (Lunar), or Melodic
from roscpp_core.
The issue disappears when I have updated the package ros_kinetic_desktop_full
to the latest version. Thank you, @dirk-thomas.
from roscpp_core.
Related Issues (20)
- ros::TimeBase: undefined behaviour for large doubles HOT 2
- Compiling ros/time.h in x64 Visual Studio project results in incorrect selection between sys/time.h and sys/timeb.h HOT 5
- command-line error:invalid macro definition: = HOT 4
- -Wconversion warnings in melodic HOT 9
- Helper for constructing time in mili/microseconds? HOT 6
- Integrating with OSS-Fuzz HOT 4
- ros::Time and ros::Duration don't respect TIME_MAX and DURATION_MAX in arethmetic operators HOT 3
- Compile errors with gcc-10 and -std=gnu++2a option HOT 2
- Conversion from size_t to uint32_t in vector serialization HOT 3
- ros::Rate::sleep is not working as expected when the rate is larger than the publish rate of /clock HOT 2
- LICENSE for v0.6.11 HOT 2
- serialization of service response message when response was failed HOT 6
- ros serialization get wrong message size when compile on arm64 with gcc -O3 HOT 4
- inclusion of unecessary boost from ros console and ros time HOT 2
- Resolution of ros::Duration::sleep() limited by implicit sleep in nanoseconds HOT 6
- Buildroot: when building cpp_common: `CMake Error at FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost (missing: thread) (found version "1.80.0")` HOT 2
- Compile issues on Windows (RoboStack) HOT 9
- Durations not printing out properly HOT 5
- Possible data races in the turtlesim node, detected by ThreadSanitizer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roscpp_core.