On Feb 20, 11:11 am, Derek Bruening <
bruen...@google.com> wrote:
> So DrMem works fine on at least some of your applications, then, and the
> error below is only on a subset of your applications? Or the error is well
> after startup and after some reported callstacks where you see symbols?
The latter. Of my two "interesting" apps, neither runs to completion
under drmemory, but I see callstacks and much more progress. I'd say
most of the way through the smaller one, not sure about the bigger
one.
>
> > Here's what -dr_debug is telling me:
> > DynamoRIO usage error : instr_encode error: no encoding found.
>
> Can you add '-dr_ops "-loglevel 1"', locate the logfile in the
> dynamorio/logs/ directory, and paste the contents of the line "ERROR: Could
> not find encoding for"?
Current indcall_bb table bb ibl indcall lookup coll%=0.0000,
dyn.avgcoll=1.3284
ERROR: Could not find encoding for: mov %cl ->
SYSLOG_ERROR: Application E:\Project\X\X.exe (6044) DynamoRIO usage
error : instr_encode error: no encoding found
SYSLOG_ERROR: Usage error: instr_encode error: no encoding found (..\..
\..\..\withwiki\trunk\dynamorio\core\x86\encode.c, line 2285)
version 3.1.1251, custom build
-loglevel 1 -client_lib 'E:\Software\Open\app\DrMemory/bin/release/
drmemorylib.dll;0;`-callstack_style` `2` -suppress `E:\Project\X\zDrMem
\Raw\suppress.txt` -logdir `E:\Project\X
0x2090e640 0x5e9f3007
0x2090e668 0x5eac0ae2
0x2090e798 0x5eac317c
0x2090e7b8 0x5eadc49a
0x2090e7f0 0x5eadd06c
0x2090e824 0x5e9eb617
0x2090edc0 0x5e9f2cc8
0x2090ede8 0x5eaf328d
0x2090ef40 0x5e9dd2c3
0x2090eff4 0x208b210e
DynamoRIO call stack:
frame ptr 0x2090e5e4 => parent 0x2090e640, ret = 0x5e9f75e3
[dynamorio.dll]
frame ptr 0x2090e640 => parent 0x2090e668, ret = 0x5e9f3007
[dynamorio.dll]
frame ptr 0x2090e668 => parent 0x2090e798, ret = 0x5eac0ae2
[dynamorio.dll]
frame ptr 0x2090e798 => parent 0x2090e7b8, ret = 0x5eac317c
[dynamorio.dll]
frame ptr 0x2090e7b8 => parent 0x2090e7f0, ret = 0x5eadc49a
[dynamorio.dll]
frame ptr 0x2090e7f0 => parent 0x2090e824, ret = 0x5eadd06c
[dynamorio.dll]
frame ptr 0x2090e824 => parent 0x2090edc0, ret = 0x5e9eb617
[dynamorio.dll]
frame ptr 0x2090edc0 => parent 0x2090ede8, ret = 0x5e9f2cc8
[dynamorio.dll]
frame ptr 0x2090ede8 => parent 0x2090ef40, ret = 0x5eaf328d
[dynamorio.dll]
frame ptr 0x2090ef40 => parent 0x2090eff4, ret = 0x5e9dd2c3
[dynamorio.dll]
frame ptr 0x2090eff4 => parent 0x0028f808, ret = 0x208b210e []
frame ptr 0x0028f808 => parent 0x0028fbb8, ret = 0x0047b2b7 [X.exe]
frame ptr 0x0028fbb8 => parent 0x0028fcb8, ret = 0x00647d40 [X.exe]
...
(Note this log file is labeled log.0.<pid>.html, but it's not HTML
format.)