-
Notifications
You must be signed in to change notification settings - Fork 93
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
Error with AdditionalDeps on macOS #2036
Comments
Error message indicates it is not able to locate the runtime store. Here are few things we could ask customer to verify.
|
DOTNET_SHARED_STORE is pointing to a valid location Also tried with another MAC same issue happening below are the export options export CORECLR_ENABLE_PROFILING="1" |
Can you share a minimal working example so that we can reproduce the issue? I think sharing the code which you want to instrument (I suggest cutting down the code to minimum) and shell (and which shell) commands that you execute. The problem is that for our examples everything seems to work. All our integration tests are passing on macOS and the smoke test is passing as well. https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/actions/runs/3994013767/jobs/6851250881 |
Mine is Apple M1 not sure it may differ execution environment, but after installing and running
Console.WriteLine("Hello, World!"); var httpClient = new HttpClient(); -> and below is the error dotnet run And the same is executing successfully if i am not doing this step
|
I think that something like this should work:
Let me know if it helps. If it won't help I will do my best to dedicate some time this week and take a deeper look. |
@pellared tried with sh and bash and resulting the same |
Apple M1 won't be compatible, related issue #1865 |
Source instrumentations are supported on Apple M1, but, need the temporary workaround in #2181 I'm closing this issue since we should have covered and understood all the issues here. |
[EDIT @pjanotti: please, see temporary workaround in #2181 for Apple M1 and #1744 for
dotnet
CLI in general]Full interaction at https://cloud-native.slack.com/archives/C01NR1YLSE7/p1674162631314489
Instrumentation caused a crash on the app even after some workarounds were applied to the instructions for macos. The error message was
There were no logs on the user's machine. Initially, I wasn't able to repro the same on a macos, which indicates that something is still wrong with the user config. However, it is not clear what is broken with the config.
The text was updated successfully, but these errors were encountered: