Comments (3)
Great discovery and a very practical tool! Additionally, could you share your configuration operation of AddressSanitizer in the project?
from fast-livo.
Tool usage reference:
https://github.com/google/sanitizers/wiki/AddressSanitizer
Usage:
- Change the cmakelists.txt as below:
4,8c4
< SET(CMAKE_BUILD_TYPE "Debug")
<
< ADD_COMPILE_OPTIONS(-std=c++14 )
< ADD_COMPILE_OPTIONS(-std=c++14 )
< set( CMAKE_CXX_FLAGS "-std=c++14 -O3" )
---
> SET(CMAKE_BUILD_TYPE "")
16c12
< set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -pthread -std=c++0x -std=c++14 -fexceptions")
---
> set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -fsanitize=address -O1 -fno-omit-frame-pointer -g -fexceptions")
- Build fast-livo with
cmake .. -DCMAKE_C_COMPILER=/path/to/clang -DCMAKE_CXX_COMPILER=/path/to/clang++ && make
(clang must be used instead of gcc) - Run fast-livo to detect memory issues.
Following the steps above, maybe more issues could be found :)
I have made a pull request to fix the bug above: #39. Hope you can merge it!
from fast-livo.
Thanks for your sharing. I have merged the PR.
from fast-livo.
Related Issues (20)
- 【求助】定义it数组时遇到段错误 HOT 7
- About 360 spinning LiDAR .. @xuankuzcr HOT 1
- There is some drift in the direction of height. HOT 15
- when running eee_03.bag of NTU_VIRAL,it report an error about [laserMapping-2] process has died... HOT 2
- 运行过程中内存占用不断增多导致进程崩溃 HOT 1
- 光度误差雅克比中是否考虑了相机的畸变参数? HOT 2
- A Short Guide to Getting Fast-LIVO to Work in Noetic (Compile Bugs + Solutions) HOT 1
- Help to Confirm Hardware Synchronization Requirements HOT 1
- A question about function sync_package HOT 2
- MID360激光雷达跑自己数据集时无效,while循环卡在if(!sync_packages(LidarMeasures)) HOT 4
- 源码支持VELO32线雷达吗? HOT 4
- 关于src/preprocess.cpp中源码的疑惑与config参数的疑惑 HOT 2
- 您好,有关config参数问题
- When using spinning lidar, point clouds outside the camera's field of view were also colored. HOT 1
- 红外
- IMU数据的单位问题 HOT 3
- 运行Velodyne16线数据问题 HOT 5
- I also have the same question, but in my case I'm using a Jetson TX2 HOT 4
- 关于VIRAL数据集精度问题。 HOT 1
- 关于不同频率的camera和lidar的时间对齐问题 HOT 3
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 fast-livo.