Git Product home page Git Product logo

rfans_driver's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rfans_driver's Issues

The driver cannot start.

==362828==ERROR: AddressSanitizer: stack-buffer-overflow on address 0xffffd6a7f9e8 at pc 0xffff873cfb10 bp 0xffffd6a7efb0 sp 0xffffd6a7f038
READ of size 18 at 0xffffd6a7f9e8 thread T0
#0 0xffff873cfb0c in __interceptor_sendto ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:6329
#1 0xaaaacbd9da28 in rfans_driver::IOSocketAPI::write(unsigned char*, int) /home/nvidia/lidar_ws/src/StarROS_v2.4.8_nvidia_arm/src/ioapi.cpp:118
#2 0xaaaacbd9ce48 in rfans_driver::IOAPI::HW_WRREG(int, int, unsigned int) /home/nvidia/lidar_ws/src/StarROS_v2.4.8_nvidia_arm/src/ioapi.cpp:47
#3 0xaaaacbda9dfc in rfans_driver::Rfans_Driver::prog_Set(DEB_PROGRM_S&) /home/nvidia/lidar_ws/src/StarROS_v2.4.8_nvidia_arm/src/rfans_driver.cpp:642
#4 0xaaaacbdaad88 in rfans_driver::Rfans_Driver::configDeviceParams() /home/nvidia/lidar_ws/src/StarROS_v2.4.8_nvidia_arm/src/rfans_driver.cpp:804
#5 0xaaaacbda2f3c in rfans_driver::Rfans_Driver::Rfans_Driver(ros::NodeHandle, ros::NodeHandle) /home/nvidia/lidar_ws/src/StarROS_v2.4.8_nvidia_arm/src/rfans_driver.cpp:235
#6 0xaaaacbd2b5e0 in main /home/nvidia/lidar_ws/src/StarROS_v2.4.8_nvidia_arm/src/publisher.cpp:75
#7 0xffff84f10e0c in __libc_start_main ../csu/libc-start.c:308
#8 0xaaaacbd2a6e0 (/home/nvidia/lidar_ws/devel/lib/rfans_driver/driver_node+0xaa6e0)

Address 0xffffd6a7f9e8 is located in stack of thread T0 at offset 40 in frame
#0 0xaaaacbd9ccf8 in rfans_driver::IOAPI::HW_WRREG(int, int, unsigned int) /home/nvidia/lidar_ws/src/StarROS_v2.4.8_nvidia_arm/src/ioapi.cpp:41

This frame has 1 object(s):
[32, 40) 'wdFrame_' (line 43) <== Memory access at offset 40 overflows this variable
HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork
(longjmp and C++ exceptions are supported)
SUMMARY: AddressSanitizer: stack-buffer-overflow ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:6329 in __interceptor_sendto
Shadow bytes around the buggy address:
0x200ffad4fee0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x200ffad4fef0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x200ffad4ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x200ffad4ff10: ca ca ca ca 00 00 02 cb cb cb cb cb 00 00 00 00
0x200ffad4ff20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x200ffad4ff30: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00[f3]f3 f3
0x200ffad4ff40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x200ffad4ff50: 00 00 00 00 f1 f1 f1 f1 00 00 00 04 f3 f3 f3 f3
0x200ffad4ff60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x200ffad4ff70: 00 00 f1 f1 f1 f1 f8 f2 01 f2 01 f2 01 f2 01 f2
0x200ffad4ff80: f8 f2 01 f2 01 f2 01 f2 01 f2 01 f2 f8 f8 f2 f2
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
Shadow gap: cc
==362828==ABORTING
[rfans_driver-1] process has died [pid 362828, exit code 1, cmd /home/nvidia/lidar_ws/devel/lib/rfans_driver/driver_node __name:=rfans_driver __log:=/home/nvidia/.ros/log/15c63be8-f4ac-11ee-baa7-b46dc2cb467a/rfans_driver-1.log].
log file: /home/nvidia/.ros/log/15c63be8-f4ac-11ee-baa7-b46dc2cb467a/rfans_driver-1*.log

About the License of this Repository

Hello.
I have a question about the license of this repository.
This repository is released with no license, but is it possible to grant some kind of license for open source?

CFans-32 driver

Hello, can you provide a CFans-32 dirver used on Xavier platform?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.