ASSERT(ext/drcovlib/modules.c:321: (0) (fail to find the module to be unloaded))
Created by: zhaoqin
Running drcachesim with -offline on test client.annotation-concurrency, an assert is seeing.
20:40|zhaoqin@zhaoqin:~/Workspace/DynamoRIO/builds/build_x64_dbg.git
> time ./bin64/drrun -msgbox_mask 0x0 -t drcachesim -offline -- ./suite/tests/bin/client.annotation-concurrency libclient.annotation-concurrency.appdll.so A 4
<Starting application /home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/suite/tests/bin/client.annotation-concurrency (30324)>
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/bin64/../clients/lib64/debug/libdrmemtrace.so' 0x00000000720097f0
add-symbol-file '/home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/lib64/debug/libdynamorio.so' 0x000055a14a6c8b80
add-symbol-file '/home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/ext/lib64/debug/libdrutil.so' 0x0000000075001680
add-symbol-file '/home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/ext/lib64/debug/libdrmgr.so' 0x00000000730029f0
add-symbol-file '/home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/ext/lib64/debug/libdrcovlib.so' 0x0000000073801dd0
add-symbol-file '/home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/ext/lib64/debug/libdrx.so' 0x0000000077003100
add-symbol-file '/home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/ext/lib64/debug/libdrreg.so' 0x0000000078002900
add-symbol-file '/usr/lib/x86_64-linux-gnu/libstdc++.so.6' 0x00007f1938893620
add-symbol-file '/lib/x86_64-linux-gnu/libm.so.6' 0x00007f1938536610
add-symbol-file '/lib/x86_64-linux-gnu/libc.so.6' 0x00007f1938187520
add-symbol-file '/lib64/ld-linux-x86-64.so.2' 0x00007f1937f42ae0
add-symbol-file '/lib/x86_64-linux-gnu/libgcc_s.so.1' 0x00007f1937d2dab0
>
<Initial options = -no_dynamic_options -client_lib '/home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/bin64/../clients/lib64/debug/libdrmemtrace.so;0;-offline' -code_api -stack_size 56K -max_elide_jmp 0 -max_elide_call 0 -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<(1+x) Handling our fault in a TRY at 0x000055a14a95a7ae>
-------------------------------------------------------------------
Performance for solving AX=B Linear Equation using Jacobi method
Running on DynamoRIO
Client version (null)
...................................................................
Matrix Size : 1024
Threads : 4
Started iteration 1 of the computation...
<get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
os says: 0x00007f19352f9000-0x00007f1935b0a000 prot=0x00000003
cache says: 0x00007f1935309000-0x00007f1935b0a000 prot=0x00000003
>
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 2 of the computation...
ASSERT FAILURE: /home/zhaoqin/Workspace/DynamoRIO/dynamorio.git/ext/drcovlib/modules.c:321: (0) (fail to find the module to be unloaded)
real 0m1.868s
user 0m1.680s
sys 0m0.452s
It can run online simulation correctly.
> time ./bin64/drrun -msgbox_mask 0x0 -t drcachesim -ipc_name drtestpipe1 -- ./suite/tests/bin/client.annotation-concurrency libclient.annotation-concurrency.appdll.so A 4
<Starting application /home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/suite/tests/bin/client.annotation-concurrency (31242)>
...
-------------------------------------------------------------------
Performance for solving AX=B Linear Equation using Jacobi method
Running on DynamoRIO
Client version (null)
...................................................................
Matrix Size : 1024
Threads : 4
Started iteration 1 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 2 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 3 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 4 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 5 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 6 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 7 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 8 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 9 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
Started iteration 10 of the computation...
Finished computing current solution distance in mode 0.
Mode changed to 0.
The Jacobi Method For AX=B .........DONE
Total Number Of iterations : 10
...................................................................
<Stopping application /home/zhaoqin/Workspace/DynamoRIO/builds/build_x64_dbg.git/suite/tests/bin/client.annotation-concurrency (31242)>
---- <application exited with code 0> ----
Cache simulation results:
Core #0 (11 thread(s))
L1I stats:
Hits: 77,256,498
Misses: 6,329
Miss rate: 0.01%
L1D stats:
Hits: 38,395,531
Misses: 231,562
Miss rate: 0.60%
Core #1 (10 thread(s))
L1I stats:
Hits: 39,957,846
Misses: 112
Miss rate: 0.00%
L1D stats:
Hits: 18,833,941
Misses: 85,001
Miss rate: 0.45%
Core #2 (10 thread(s))
L1I stats:
Hits: 39,471,431
Misses: 113
Miss rate: 0.00%
L1D stats:
Hits: 18,606,694
Misses: 85,184
Miss rate: 0.46%
Core #3 (10 thread(s))
L1I stats:
Hits: 40,091,435
Misses: 115
Miss rate: 0.00%
L1D stats:
Hits: 19,095,450
Misses: 85,025
Miss rate: 0.44%
LL stats:
Hits: 355,134
Misses: 138,307
Local miss rate: 28.03%
Child hits: 291,708,826
Total miss rate: 0.05%
real 0m31.092s
user 0m36.780s
sys 0m3.408s