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

DRace crashes on skylake+CLR if HeapAlloc is wrapped #49

Open
fmoessbauer opened this issue Jan 21, 2020 · 0 comments
Open

DRace crashes on skylake+CLR if HeapAlloc is wrapped #49

fmoessbauer opened this issue Jan 21, 2020 · 0 comments
Assignees
Labels
arch:x64 bug:clr Bug that only occurs on CLR applications bug:crash os:windows

Comments

@fmoessbauer
Copy link
Member

fmoessbauer commented Jan 21, 2020

This crash only occurs on a server with a skylake processor:
OS: Windows 10 Enterprise, 10.0.17134
CPU: Intel Xeon Silver 4116
RAM: 80 GB

on a similar system with Kaby Lake Refresh arch, the bug does not happen.
OS: Windows 10 Enterprise, 10.0.17134
CPU: Intel Core i5-8350U
RAM: 16 GB

# RetAddr           : Args to Child                                                           : Call Site
00 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x0

The crash is reproducible using this application and happens here:
https://github.com/siemens/drace/blob/master/test/mini-apps/cs-sync/main.cs#L115

The crash is not directly related to DRace, but might be an DR issue. Running the wrap sample client also crashes:

C:\opt\DynamoRIO-Windows-7.91.18219-0\bin64\drrun.exe -c C:\opt\DynamoRIO-Windows-7.91.18219-0\samples\bin64\wrap.dll -- gp-cs-sync-clr.exe monitor

Workaround: comment out the line containing HeapAlloc in drace.ini

Probably related issues:

@fmoessbauer fmoessbauer self-assigned this Jan 21, 2020
@fmoessbauer fmoessbauer added bug:clr Bug that only occurs on CLR applications bug:crash os:windows arch:x64 labels Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch:x64 bug:clr Bug that only occurs on CLR applications bug:crash os:windows
Projects
None yet
Development

No branches or pull requests

1 participant