You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a check with an error message for too few simulated drcachesim
cpus with a core-sharded-on-disk trace.
Adds a unit test which crashes without the fix.
Also tested manually:
Before:
$ bin64/drrun -t drcachesim -indir ../src/clients/drcachesim/tests/drmemtrace.threadsig-core-sharded.x64.tracedir/ -cores 3
Segmentation fault
After:
$ bin64/drrun -t drcachesim -indir ../src/clients/drcachesim/tests/drmemtrace.threadsig-core-sharded.x64.tracedir/ -cores 3
ERROR: failed to run analyzer: Too-small core count 3 for trace core #3Fixes#6778
Adds a check with an error message for too few simulated drcachesim cpus
with a core-sharded-on-disk trace.
Adds a unit test which crashes without the fix.
Also tested manually:
Before:
$ bin64/drrun -t drcachesim -indir
../src/clients/drcachesim/tests/drmemtrace.threadsig-core-sharded.x64.tracedir/
-cores 3
Segmentation fault
After:
$ bin64/drrun -t drcachesim -indir
../src/clients/drcachesim/tests/drmemtrace.threadsig-core-sharded.x64.tracedir/
-cores 3
ERROR: failed to run analyzer: Too-small core count 3 for trace core #3Fixes#6778
The checked-in core-sharded-on-disk trace has 4 cores and if we pass fewer to dr$sim it just crashes:
The text was updated successfully, but these errors were encountered: