rusoku / canal-dll Goto Github PK
View Code? Open in Web Editor NEWCANAL DLL for TouCAN USB to CAN bus converter
Home Page: https://www.rusoku.com
License: MIT License
CANAL DLL for TouCAN USB to CAN bus converter
Home Page: https://www.rusoku.com
License: MIT License
The device is not working with 10kbps.
See also macOS Rusoku.dylib issue 21.
Hello there!
First off, big thanks for changing the license to MIT back in January!
We've recently integrated this DLL into our open source ISOBUS CAN stack at Open-Agriculture/AgIsoStack-plus-plus#220 and I noticed that it usually works, but sometimes when I call CanalOpen that something weird seems to be happening. More specifically, when CTouCANobj::Open
is called, eventually it calls pDllList->RemoveAllNodes(&m_receiveList);
which sometimes works, but other times it seems to cause heap corruption.
When this happens, if we inspect pdll
it seems like nCount
is suspiciously high, and the tail pointer of the CDllList
seems suspicious also. The random nature of this happening makes it feel almost like a concurrency or initialization issue of some kind.
Anyways, I am not entirely sure what to make of it, but wanted to bring it to your attention. It is somewhat random but reproducible, so if you are interested in gathering some more information or troubleshooting I'd be happy to do what I can.
This was all tested using first the official released DLLs, but to actually debug in there and get the symbols needed, I compiled the DLL with Visual Studio 2022 17.5.3, specifically with compiler MSVC 19.35.32216.1
for 64 bit architecture to gather those screenshots.
Besides this, integrating this was very easy, so thank you again for your effort on that!
Regards,
Adrian
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.