Comments (4)
Hi!
This problem seems more related to your specific configuration and setup rather than DynamoRIO itself.
I'd suggest you post this issue on: https://groups.google.com/g/DynamoRIO-Users to reach a wider audience, so we can work it out, and if this is an actual bug in DynamoRIO we can post a more precise (and actionable) issue here on Github.
In the meantime, I'd suggest you add -loglevel 4
to drrun.exe
and check the log (and add it to your "DynamoRIO-Users group" post) to see if there is any useful information there.
from dynamorio.
Looks like this is being discussed here: https://groups.google.com/g/dynamorio-users/c/W97-BSreDy8
from dynamorio.
It seems like the issue is triggered by an OS without support of YMM. The problem went away when cpu supported the feature.
Culprit stacktrace:
# Child-SP RetAddr Call Site
00 0000006a`57f0f718 00000000`153d2897 0x0
01 0000006a`57f0f720 00000000`15384b62 dynamorio!nt_get_context_size(unsigned long flags = 0x10000b)+0x17 [C:\tools\src\dynamorio\core\win32\ntdll.c @ 5405]
02 0000006a`57f0f760 00000000`15375b8b dynamorio!os_take_over_thread(struct _dcontext_t * dcontext = 0x0000022f`15b95200, void * hthread = 0x00000000`00000100, unsigned int64 tid = 0x1ab0, char suspended = 0n0 '')+0x72 [C:\tools\src\dynamorio\core\win32\os.c @ 2512]
03 0000006a`57f0f7e0 00000000`15015980 dynamorio!os_take_over_all_unknown_threads(struct _dcontext_t * dcontext = 0x0000022f`15b95200)+0x26b [C:\tools\src\dynamorio\core\win32\os.c @ 2728]
04 0000006a`57f0f880 00000000`1534e7a0 dynamorio!dynamorio_take_over_threads(struct _dcontext_t * dcontext = 0x0000022f`15b95200)+0x170 [C:\tools\src\dynamorio\core\dynamo.c @ 2925]
05 0000006a`57f0f930 00000000`15026d10 dynamorio!dynamo_start(struct _priv_mcontext_t * mc = 0x0000006a`57f0faa0)+0xd0 [C:\tools\src\dynamorio\core\arch\x86_code.c @ 112]
06 0000006a`57f0f9d0 00000000`15027115 dynamorio!dynamorio_app_take_over_helper(struct _priv_mcontext_t * mc = 0x0000006a`57f0faa0)+0x300 [C:\tools\src\dynamorio\core\dynamo.c @ 2999]
07 0000006a`57f0fa30 00000000`15426e49 dynamorio!dynamorio_earliest_init_takeover_C(unsigned char * arg_ptr = 0x0000022f`15811000 "", struct _priv_mcontext_t * mc = 0x0000006a`57f0faa0)+0x135 [C:\tools\src\dynamorio\core\dynamo.c @ 3068]
08 0000006a`57f0fa80 0000022f`15811000 dynamorio!dynamorio_earliest_init_takeover(void)+0x83 [C:\tools\src\dynamorio\build\core\x86.asm_core.s @ 4877]
09 0000006a`57f0fa88 0000006a`57f0faa0 0x0000022f`15811000
0a 0000006a`57f0fa90 00000000`00000000 0x0000006a`57f0faa0
from dynamorio.
Pasting from https://groups.google.com/g/dynamorio-users/c/W97-BSreDy8/m/lmTDvp02AQAJ
ntdll_RtlGetExtendedContextLength does look like a problem, initialized under YMM_ENABLED but used outside. Probably your VM does not have it enabled. Looks like a real bug. Presumably those Rtl routines are still there and still work: is that YMM_ENABLED conditional needed?
from dynamorio.
Related Issues (20)
- AArch64 linux.thread-reset fails on non-SVE hardware HOT 1
- Handle different iret behavior in user vs kernel space
- X86_32 Invariant checker test failure in check_kernel_syscall_trace: Too many read/write records
- drmemtrace -trace_after_instrs introduces gap between first and second timestamps HOT 1
- generalize reg_{to,is}_pointer_sized() to non-GPR registers
- Pretty printer for #trace_entry_t-format traces HOT 3
- tool.record_filter_bycore_multi failured due to inaccurate pi estimation HOT 3
- linux.signalNNN1 test failing due to non-determinism in floating point operations
- AArch64: add client.cleancall to AArch64's pre-commit tests.
- AArch64: Fix P register save/restore on 128-bit vector length systems HOT 1
- tool.drcov.eintr failing on ubuntu-20-arm64-sve HOT 4
- `client.detach_test` is intermittently timing out on the `vs2019-32` CI build
- xsave* also loads data
- drcachesim.TLB-threads fails in aarch64-precommit HOT 3
- AArch64 SVE: Add 128 bit vector length tests to CI
- CRASH drcachesim with fewer simulated cores than present in a core-sharded-on-disk trace
- Unable to see read/write addresses in dynamorio kernel traces that got generated with libipt HOT 1
- [CRASH] when using drsym_lookup_address [Windows 19045]
- ubuntu22 GA workflows failing apt-get update HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamorio.