Open derekbruening opened 10 years ago
From bruen...@google.com on October 03, 2014 18:13:30
What version of Windows is this?
Please reproduce the "no encoding found" message but also produce a DynamoRIO log file, using these options:
-debug -dr_debug -dr_ops "-loglevel 1"
Could you then look in the DynamoRIO log file, which should be something like c:\drmemory1.8\drmemory\logs\dynamorio\utest_tbmodel.exe.
Status: NeedInfo
From bruce.ra...@maptek.com on October 06, 2014 13:23:28
This is in windows 8.1.
I believe this is the relevant line from the log. Its actually in log.0.2088.html.
ERROR: Could not find encoding for: mov $0x00000000 -> %fs:0x00000edc[4byte]
From bruce.ra...@maptek.com on October 01, 2014 15:26:20
What steps will reproduce the problem? 1.Run drmemory on test program. 2.drmemory dies. 3. What is the expected output? What do you see instead? I expect list of memory leaks or bad memory access. The program seems to finish. I see crash message. What version of the product are you using? On what operating system? 1.8.0-8 for Windows.
Does the problem go away when running in light mode (pass "-light" to Dr. Memory)? What about when running with the options "-leaks_only -no_count_leaks -no_track_allocs"?
-light => run completes successfully with no errors reported -leaks_only => run completes and reports 7 potential leaks Does the problem go away when using the most recent build from http://build.chromium.org/p/client.drmemory/builds/? Try the debug version of Dr. Memory and of its underlying engine DynamoRIO by passing "-debug -dr_debug -pause_at_assert" to drmemory.exe. Are any messages reported? Yes,
...vulc_block/bmodel.d/utest%>c:/drmemory1.8/bin/drmemory.exe -debug -dr_debug -pause_at_assert ./utest_tbmodel.exe <Starting application c:\vulcan\vulcan-32\src\vulcan_2_3\vulc_block\bmodel.d\ute st\utest_tbmodel.exe (7120)> <Initial options = -no_dynamic_options -logdir 'c:\drmemory1.8\drmemory\logs\dyn amorio' -client_lib 'c:\drmemory1.8\bin\debug\drmemorylib.dll;0;
-pause_at_asser t
-logdirc:\drmemory1.8\drmemory\logs
-symcache_dirc:\drmemory1.8\drmemory \logs\symcache
-lib_blacklist C:\windows*.d?? -resfile 7120 ' -codeapi -probe api -stack_size 56K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elid e_call 0 -max_bb_instrs 256 -no_shared_traces -bb_ibl_targets -bb_single_restore _prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_toos at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -resetat commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -no_inline_igno red_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indca ll2direct -no_aslr_dr -pad_jmps_mark_no_trace >Dr.MDr. Memory version 1.8.0Dr.MRunning "./utest_tbmodel.exe" [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from BModel [ RUN ] BModel.BasicReadWrite save 10 values save 100 values save 1000 values save 10000 values save 100000 values save 1000000 values save 10000000 values [ OK ] BModel.BasicReadWrite (63689 ms) [----------] 1 test from BModel (63918 ms total)[----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (64338 ms total) [ PASSED ] 1 test. <Application c:\vulcan\vulcan-32\src\vulcan_2_3\vulcblock\bmodel.d\utest\utest tbmodel.exe (7120) DynamoRIO usage error : instr_encode error: no encoding found (see log)> <Usage error: instr_encode error: no encoding found (see log) (d:\drmemory_packa ge\dynamorio\core\x86\encode.c, line 2510) version 4.2.2833, custom build -no_dynamic_options -logdir 'c:\drmemory1.8\drmemory\logs\dynamorio' -client_lib 'c:\drmemory1.8\bin\debug\drmemorylib.dll;0;
-pause_at_assert
-logdirc:\drme mory1.8\drmemory\logs
-symcache_dirc:\drmemory1.8\drmemory\logs\symcache
-li b_blacklist C:\windows*.d?? -resfile 7120 ' -code_api -probe_api -stack_size 56K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide 0x1dd3e184 0x62c44ef3 0x1dd3e1b4 0x62d5291f 0x1dd3e2d4 0x62d55bb0 0x1dd3e2f8 0x62d789ee 0x1dd3e334 0x62d79643 0x1dd3e370 0x62c3970e 0x1dd3ed28 0x62c44b38 0x1dd3ed50 0x62d9b1d8 0x1dd3ef00 0x62c26e46 0x1dd3eff4 0x1dd021e6 0x009bf97c 0x75103f51 0x009bfb8c 0x75103ee9 0x009bfbac 0x751040fe 0x009bfc08 0x751049d4 0x009bfc60 0x7510499f c:\drmemory1.8\bin\debug\drmemorylib.dll=0x73800000 c:\drmemory1.8\bin\debug/dbghelp.dll=0x62a00000 C:\windows/system32/msvcrt.dll=0x00b30000 C:\windows/system32/kernel32.dll=0x02d30000 C:\windows/system32/KERNELBASE.dll=0x01080000>Dr.MWARNING: application exited with abnormal code 0xffffffff ...vulc_block/bmodel.d/utest%> ============================ Please provide any additional information below. Please also see the "Narrowing Down the Source of the Problem" section of https://code.google.com/p/drmemory/wiki/Debugging . This is the output to the console with no options set.<Application c:\vulcan\vulcan-32\src\vulcan_2_3\vulcblock\bmodel.d\utest\utest tbmodel.exe (9076). Dr. Memory internal crash at PC 0x60eb6246. Please report this at http://drmemory.org/issues . Program aborted. 0xc0000005 0x00000000 0x60eb6246 0x60eb6246 0x00000001 0x00000000 Base: 0x60e40000 Registers: eax=0x60f1b898 ebx=0x00000000 ecx=0x000000eb edx=0x00000001 esi=0x19a41294 edi=0x19a41294 esp=0x17d2edbc ebp=0x00000000 eflags=0x000 version 4.2.2833, custom build -no_dynamic_options -disasm_mask 8 -logdir 'c:\drmemory1.8\drmemory\logs\dynamor io' -client_lib 'c:\drmemory1.8\bin\release\drmemorylib.dll;0;-logdir
c:\drmemo ry1.8\drmemory\logs
-symcachedirc:\drmemory1.8\drmemory\logs\symcache
-lib blacklist C:\windows*.d?? -resfile 9076 ' -code_api -probe_api -stack_size 56K - disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_c>Dr.MFetching 3 symbol files...Dr.M[1/3] Fetching symbols for C:\windows\SYSTEM32\MSVCP110.dllDr.M[2/3] Fetching symbols for C:\windows\SYSTEM32\MSVCR110.dllDr.M[3/3] Fetching symbols for C:\windows\SYSTEM32\msvcrt.dllDr.MFetched 3 symbol files successfullyDr.MWARNING: application exited with abnormal code 0xffffffffAttachment: global.7120.log
Original issue: http://code.google.com/p/drmemory/issues/detail?id=1645