-
Notifications
You must be signed in to change notification settings - Fork 358
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
Failed to load data access module, 0x80131c4f You can run the debugger command 'setclrpath' to control the load of libmscordaccore.so. #414
Comments
Can you attach the core dump file? What version of .NET Core is this dump from? |
from 2.2.1 |
Can you attach the core dump? This error message means it can find the DAC (libmscordaccore.so) in the runtime directory (the directory where libcoreclr.so) or it can't download it from the symbol server. Was the core dump generated on the same machine as the one loading it? |
Thank you for help , I run aspnet core in docker swarm , --cap-add=SYS_PTRACE and --privileged arguments are ignored,I can't generate dump fire in docker container . so I generated the core dump on docker host by using gcore pid , the docker host of operating system is centos7 , and docker image base on debain . I think maybe it won't work ,I am just trying to use this way to analyze the memory of my applicaiton . Can you give me some suggestion to analyze memory in docker swarm? |
I have test this application on kubernetes and set --cap-add=SYS_PTRACE .
I run with command dotnet-dump analyze core.1 ,there is no error I run with command modules
I run with command clrstack
same as I test in docker host |
This is probably a problem with the gcore generated core dump (see issue dotnet/symstore#47). I recommend using "createdump" which is in the runtime directory (i.e. /usr/share/dotnet/shared/Microsoft.NETCore.App/2.2.1/createdump). It could also be that there is no network connectivity to download the DAC (libmscordaccore.so) or it isn't on the container you are loading the core dump. Does /usr/share/dotnet/shared/Microsoft.NETCore.App/2.2.1/libmscordaccore.so exist on the machine/docker/host that you are executing dotnet-dump analyze on? Before running any commands in "dotnet-dump analyze" could you run "setsymbolserver -m -log" to turn on some logging? |
1.1 I run this command
1.2 I run this command
2 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.2.1/libmscordaccore.so is on my host ,when i test in kubernetes ,it existed too. 3 I run setsymbolserver -m -log with errors
|
You are hitting a createdump bug that should be fixed in the latest service release (2.2.6). createdump won't work from the docker host. The option should be "-ms" as in "setsymbolserver -ms -log". Sorry. |
Thank you for your help , I will try it in 2.2.6 |
Yes ,Createdump works in 2.2.6, and I can also createdump in docker host by attach pid where app run in docker container ,so I can analyze the momory where there app run in docker swarm ,Thanks again!!! |
1 Load core dump
dotnet-dump analyze ./core.29010
2 run command
clrstack
3 Errors
The text was updated successfully, but these errors were encountered: