-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Valgrind Reporting Many Warnings With Graphs and Contexts #544
Comments
@lhawana , Thanks for sharing. We are working on this internally. Will keep you posted once we addressed them. |
@lhawana , We fixed some issue detected by valgrind for tim-vx/vx-delegate in past month. You can check commit history for the fixes. And we double confirmed most issue in our low-level driver is false alert. Thanks |
Hey @sunshinemyson, sorry for the silence on this ticket; I'll be handling it from here. Do you have a commit in particular that I should checkout? I tried merging this commit without success. It still reports the errors/warnings in the valgrind output after merging just the change in this file. If I try merging the entire file, there are a lot of other dependencies I have to merge as well to get it to compile in our version, and even still I'm unable to get it to load successfully. Is there either a commit you can point me to that should have this addressed, or are you able to tell me what I need to merge between the version of tim-vx we are using, and this version? Thanks |
@BralSLA B, Can you update your version to latest version? We didn't maintain legacy version yet. Thanks |
Hey @sunshinemyson , I've updated to the latest version, but it's failing to compile in my yocto build. I'm getting the 2 following errors:
If I look at the definition for that Thanks again |
Hey @sunshinemyson , Update: Needed to update to the latest GPU drivers available, and then clean my build environment. I've gotten the latest version to build, and have it on our system; however, we are experiencing a segfault since upgrading to the latest tim-vx, and updating our GPU drivers to be compatible.
Here is the line where we are calling
Do you know why this may be happening? Let me know if you need anymore information. Thanks again |
I suppose you meeting issue with NXP platform. I didn't receive such report internally since we have NXP platform daily test. Can you provide more version information about system and driver so that i can forward it to NXP ? |
@sunshinemyson |
@BralSLA , We don't have such issue from internal test or nxp. Since your crash point is strange, i prefer the problem is your build not clean. Please double check if you build tim-vx with external sdk correctly, it seems a binary incompatible issue. BTW, we have CI verify TIM-VX with NXP imx.8mp silicon board with 6.4.11 driver for each patch. No such issue. |
Running valgrind on our implemented software, we found there were many errors coming from Tim-VX with regards to the graph and context instances. To verify if this was an issue with our software or something happening internally, we ran it against the lenet example provided in this repo and saw the same output. I've attached the valgrind log here. It's hard for me to tell if this is a tim-vx issue or an openvx issue (or potentially an us issue) so I'm hoping this log can help figure out what may be happening.
The trend I see in the log is that it happens on all tim-vx functions: creating, initalizing, validating (compile), executing (run), and destroying.
The command we ran to get this output:
valgrind --tool=memcheck --leak-check=full --error-limit=no --log-file="{filename}" ./{program executable filename}
valgrindOutput3.txt
The text was updated successfully, but these errors were encountered: