Re: How to ignore certain dll's using dr.memory????

954 views
Skip to first unread message
Message has been deleted

Ragnam

unread,
Jan 25, 2013, 1:35:56 AM1/25/13
to drmemor...@googlegroups.com


On Friday, 25 January 2013 10:27:54 UTC+5:30, Ragnam wrote:
I want to ignore certain dlls since i do not want them to be scrutinized by dr.memory.Can anyone help me out??I am using windows 64 bit

Derek Bruening

unread,
Jan 25, 2013, 8:38:33 AM1/25/13
to drmemor...@googlegroups.com
You can suppress all errors in those libraries.  See http://drmemory.org/docs/page_suppress.html.


On Thu, Jan 24, 2013 at 11:57 PM, Ragnam <rajthed...@gmail.com> wrote:
I want to ignore certain dlls since i do not want them to be scrutinized by dr.memory.Can anyone help me out??

--
 
 
 

Message has been deleted

Ragnam

unread,
Jan 28, 2013, 4:19:20 AM1/28/13
to drmemor...@googlegroups.com
I understood, But the problem here is that i am not getting any errors in the results.txt file after using the command with a  suppress.txt which i edited.Can you give the exact syntax??Can you point out where i am going wrong?? :) And I also want to know if -nudge works in windows because it is showing
"ERROR: error nudging 4528: no such Dr. Memory process"
when i use drmemory.exe -nudge 4528

Derek Bruening

unread,
Jan 28, 2013, 11:41:10 AM1/28/13
to drmemor...@googlegroups.com
On Mon, Jan 28, 2013 at 4:19 AM, Ragnam <rajthed...@gmail.com> wrote:
I understood, But the problem here is that i am not getting any errors in the results.txt file after using the command with a  suppress.txt which i edited.Can you give the exact syntax??

The exact syntax of the command and of the suppress file is in the documentation: http://drmemory.org/docs/page_suppress.html
You want lines like "dlltoignore.dll!*".
 
Can you point out where i am going wrong?? :)

Please provide more details.
 
And I also want to know if -nudge works in windows because it is showing
"ERROR: error nudging 4528: no such Dr. Memory process"
when i use drmemory.exe -nudge 4528

Nudge works in our tests.  Are you sure 4528 is the pid of a process currently running under Dr. Memory?

Use the "-debug" flag to Dr. Memory to get additional information.  Also try "-debug -dr_debug".

- Derek

Timur Iskhodzhanov

unread,
Jan 28, 2013, 11:45:41 AM1/28/13
to drmemor...@googlegroups.com
2013/1/28 Derek Bruening <brue...@google.com>:
>> And I also want to know if -nudge works in windows because it is showing
>> "ERROR: error nudging 4528: no such Dr. Memory process"
>> when i use drmemory.exe -nudge 4528
>
> Nudge works in our tests. Are you sure 4528 is the pid of a process
> currently running under Dr. Memory?

Maybe that's just the DrM process has quickly failed to start due to
suppression misformatting and the nudge went nowhere?

Ragnam

unread,
Jan 30, 2013, 6:41:20 AM1/30/13
to drmemor...@googlegroups.com
Suppress is working fine sorry for the misconception. If i want to ignore certain QT dlls for example QtCore4.dll. What i have to do to ignore these things??I have many errors pointing to this dll so how can i ignore these errors using the suppress option??

And for -nudge 4528 is the pid only. How to make it work??It works in Windows 7 ???


On Friday, 25 January 2013 12:05:56 UTC+5:30, Ragnam wrote:

Derek Bruening

unread,
Jan 30, 2013, 10:46:43 AM1/30/13
to drmemor...@googlegroups.com
On Wed, Jan 30, 2013 at 6:41 AM, Ragnam <rajthed...@gmail.com> wrote:
Suppress is working fine sorry for the misconception. If i want to ignore certain QT dlls for example QtCore4.dll. What i have to do to ignore these things??I have many errors pointing to this dll so how can i ignore these errors using the suppress option??

It's not clear what you're saying: "Suppress is working fine", yet "how can i ignore these errors using the suppress option"?  Please describe what you tried.  Did you make a suppress file containing things like:

UNINITIALIZED READ
QtCore4.dll!*

?  What did you try, exactly?  What was the result?

And for -nudge 4528 is the pid only. How to make it work??It works in Windows 7 ???

"pid only"?  I don't know what that means.  If the nudge of a currently running process is not working, can you file an Issue (http://code.google.com/p/drmemory/issues/entry) with details on how to reproduce.  Please provide more details on what you're running and your setup.   Perhaps the nudging user does not have sufficient privileges.

- Derek

Ragnam

unread,
Jan 31, 2013, 12:31:34 AM1/31/13
to drmemor...@googlegroups.com
I am able to ignore the dlls :) sorry for the trouble.
Now coming to nudge, pid means Process id. Now also i tried nudge using the same syntax that was specified in the document. What dou mean by sufficient privileges???

On Friday, 25 January 2013 12:05:56 UTC+5:30, Ragnam wrote:

Derek Bruening

unread,
Feb 4, 2013, 10:08:02 PM2/4/13
to drmemor...@googlegroups.com
On Thu, Jan 31, 2013 at 12:31 AM, Ragnam <rajthed...@gmail.com> wrote:
Now coming to nudge, pid means Process id. Now also i tried nudge using the same syntax that was specified in the document. What dou mean by sufficient privileges???

Please provide more information: ideally a reproducible scenario with exact command lines run, underlying platform, versions, etc.

- Derek

Ragnam

unread,
Feb 13, 2013, 1:41:58 AM2/13/13
to drmemor...@googlegroups.com
The syntax is drmemory -nudge 4528 
here 4528 is the process id. I am using Windowas 7. and drmemory version is 1.5.0-5.

Ragnam

unread,
Feb 13, 2013, 4:13:32 AM2/13/13
to drmemor...@googlegroups.com
ERROR: error nudging 4528: no such Dr. Memory process
This is the error i am getting while using the above stated syntax.
Here 4528 is the process id of notepad.

Derek Bruening

unread,
Feb 13, 2013, 10:18:15 AM2/13/13
to drmemor...@googlegroups.com
You didn't include any command lines for running notepad under Dr. Memory in the first place.  Are you trying to nudge a native notepad?  It has to be running under Dr. Memory.

Shell A:
% DrMemory-Windows-1.5.0-5/bin/drmemory.exe -- notepad.exe

Shell B, while notepad is running under Dr. Memory:
% drview -listdr
PID 6720, Process notepad.exe, running DR release (build 0)
% DrMemory-Windows-1.5.0-5/bin/drmemory.exe -nudge 6720
%

Original shell has output from the nudge:
~~5892~~ Details: D:\...\emory-Windows-1.5.0-5/drmemory/logs/DrMemory-notepad.exe.6720.000/results.txt





--
 
---
You received this message because you are subscribed to the Google Groups "Dr. Memory Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drmemory-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages