Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#7025: Restore msgbox_mask package defaults #7030

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

derekbruening
Copy link
Contributor

@derekbruening derekbruening commented Oct 8, 2024

Replaces the AUTOMATED_TESTING set in package builds by PR #5769 with a new DISABLE_ZLIB CMake option to accomplish the goal of disabling the zlib found on these VMs while avoiding turning off msgbox_mask. The disabling by default of msgbox_mask in packages has caused many users to fail to obtain error information and has led to confusion with silent errors.

Tested: built a cronbuild based on this branch and downloaded it to the Windows VM used for #7024.
I ran this:

C:\Users\bruening\DynamoRIO-Windows-10.93.20004>bin64\drrun -- msg
<Application C:\Windows\system32\msg.exe (3892).  Out of memory.  Program aborted.  Source I, type 0x0000000000000001, code 0x00000000c000001c.>

And confirmed a messagebox popped up: thus showing that -msgbox_mask is not set to 0 anymore.

Issue: #7025

Replaces the AUTOMATED_TESTING set in package builds by PR #5769 with
a new DISABLE_ZLIB CMake option to accomplish the goal of disabling
the zlib found on these VMs while avoiding turning off msgbox_mask.
The disabling by default of msgbox_mask in packages has caused many
users to fail to obtain error information and has led to confusion
with silent errors.

Fixes #7025
@derekbruening
Copy link
Contributor Author

Running the ci-package action now; will test the result.

@derekbruening
Copy link
Contributor Author

The final step is to pull this into drmemory and update its cmake code as well.

@derekbruening derekbruening requested a review from edeiana October 9, 2024 00:14
@derekbruening derekbruening merged commit a15656a into master Oct 9, 2024
23 checks passed
@derekbruening derekbruening deleted the i7025-restore-msgbox branch October 9, 2024 14:30
derekbruening added a commit to DynamoRIO/drmemory that referenced this pull request Oct 9, 2024
Replaces the AUTOMATED_TESTING set in package builds by PR #2474 with
the new DISABLE_ZLIB CMake option added by
DynamoRIO/dynamorio#7030. This fixes a regression where msgbox_mask
was set to 0 by default in packages, which caused many users to fail
to obtain error information and has led to confusion with silent
errors.

Fixes DynamoRIO/dynamorio#7025
derekbruening added a commit to DynamoRIO/drmemory that referenced this pull request Oct 9, 2024
Updates DR to
[a15656a0c](36a6d23).
Replaces the AUTOMATED_TESTING set in package builds by PR #2474 with
the new DISABLE_ZLIB CMake option added by
DynamoRIO/dynamorio#7030. This fixes a regression where msgbox_mask was
set to 0 by default in packages, which caused many users to fail to
obtain error information and has led to confusion with silent errors.

Tested:
Built
https://github.com/DynamoRIO/drmemory/releases/tag/cronbuild-2.6.20005,
unzipped it, and confirmed it pops up a message box by default on the
machine where DynamoRIO/dynamorio#7024 is hit.

Fixes DynamoRIO/dynamorio#7025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants