-
Notifications
You must be signed in to change notification settings - Fork 6
[QUESTION]How to use leak detector client? #26
Comments
I assigned Akshay to this because I have no idea how it is used. Try invoking |
Okay,thanks:) |
The granary initialization log is not showing much about the issue. Can you add I can see two reason for reboot. One the instrumentation policy for detecting when to add watchpoint is not correct or the leak scanner is accessing some invalid data. Can you try to verify each of them separately? Disable leak scanner thread by commenting part of code from |
If there is any changes from your side, discuss with peter and checkin the changes in some temporary branch. I can look into that. |
First, recompile with If this does not work, then make sure that your
Then, load your module. If the VM reboots then open up What we're looking for in the |
Setting the |
Hi kumarak, leak_detector branch is now in my repo:https://github.com/renzhengeek/granary/tree/leak_detector. Thanks. |
Let me know if the debugging suggestions above reveal anything new. |
Okay,but it will take some time :) |
Hi pgoodman,
|
This seems unusual. The output isn't showing all 16 general purpose 64-bit registers; it appears as if it's showing the 32-bit machine state. What about this: comment most of the code out until you hit some critical part where it un/commenting some feature breaks things. For example, start by commenting out most of the kernel-specific code in |
Hi kumarak,
|
if your breakpoint is not getting hit then removing scanner thread will not be of much help. But still you can try commenting following line from I suspect the issue is because of illegal memory access, I will download your code base today and look into that. |
Hi all,
After building leak detector successfully, I try to use leak_detector.
All the best for you.
The text was updated successfully, but these errors were encountered: