Running drmemory builds on Win10/64bit machines without AVX support ?

7 views
Skip to first unread message

Roland Mainz

unread,
Sep 22, 2024, 10:58:44 PMSep 22
to Dr. Memory Users
Hi!

----

Questions about https://github.com/DynamoRIO/drmemory/issues/2264 ("drmemory 2.6.19984/cronbuild on Win10/Workstation on IBM 7945/XEON crashes with ASSERT FAILURE"):
1. Is it possible to make ASSERTS in DynamoRIO non-fatal (i.e. warn, but do not terminate the process) ?
2. Is it possible to build the current DrMemory git HEAD without AVX support, for machines which do not have AVX (older XEON machines don't have AVX, and even in modern XEON machines AVX&co can be turned-off in the BIOS) ?

----

Bye,
Roland

Derek

unread,
Sep 23, 2024, 12:12:26 PMSep 23
to Dr. Memory Users
On Sunday, September 22, 2024 at 10:58:44 PM UTC-4:
Hi!

----

Questions about https://github.com/DynamoRIO/drmemory/issues/2264 ("drmemory 2.6.19984/cronbuild on Win10/Workstation on IBM 7945/XEON crashes with ASSERT FAILURE"):

I think you mean https://github.com/DynamoRIO/drmemory/issues/2514 and not the link you gave.
 
1. Is it possible to make ASSERTS in DynamoRIO non-fatal (i.e. warn, but do not terminate the process) ?

You mean in debug build only I assume.  Did you check the documented list of options?  See -ignore_asserts in that list https://drmemory.org/page_options.html
 
2. Is it possible to build the current DrMemory git HEAD without AVX support, for machines which do not have AVX (older XEON machines don't have AVX, and even in modern XEON machines AVX&co can be turned-off in the BIOS) ?

Yes it should be possible.  It is open source so you should be able to tweak the build flags in the CMake code.  You would have to ensure every compiled module (including DynamoRIO) is built without AVX.
 

----

Bye,
Roland

Derek

unread,
Sep 23, 2024, 1:27:17 PMSep 23
to Dr. Memory Users
On Monday, September 23, 2024 at 12:12:26 PM UTC-4 Derek wrote:
On Sunday, September 22, 2024 at 10:58:44 PM UTC-4:
Hi!

----

Questions about https://github.com/DynamoRIO/drmemory/issues/2264 ("drmemory 2.6.19984/cronbuild on Win10/Workstation on IBM 7945/XEON crashes with ASSERT FAILURE"):

I think you mean https://github.com/DynamoRIO/drmemory/issues/2514 and not the link you gave.
 
1. Is it possible to make ASSERTS in DynamoRIO non-fatal (i.e. warn, but do not terminate the process) ?

You mean in debug build only I assume.  Did you check the documented list of options?  See -ignore_asserts in that list https://drmemory.org/page_options.html

For DynamoRIO, you can see -ignore_assert_list '*' at https://dynamorio.org/page_deploy.html#sec_options (using filenames needs full paths: https://github.com/DynamoRIO/dynamorio/issues/183).
Reply all
Reply to author
Forward
0 new messages