-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
dotnet build intermittently exits with Segmentation fault (core dumped) or 139 on linux #31253
Comments
If the above doesn't help, or you simply can't update your SDK, then you'll have to attempt to use the There are instructions for installing LLDB in this doc https://github.com/dotnet/corefx/blob/master/Documentation/debugging/unix-instructions.md And for launching a process under LLDB in this doc This should hopefully run and stop at the point of failure. Then you can try to get a stack trace. This also may help: |
@danmosemsft Thanks for respoding. I haven't tried with an empty project. Probably can give a try. In the mean time i had set the following env variables Are they valid and are there any chances of resolving the issue? |
the variables impact how assemblies are loaded. I think key would be getting core file or getting this fail under debugger. (gdb or lldb) Also watch for any pinvokes by your code or linked packages. |
do you have any update @ramsubbaraoc? |
I am working on collecting diagnostics,as it is intermittent would take time to recreate. Probably we can close this ticket for now.Once i have the diagnostics we can reopen it again |
@ramsubbaraoc how did you install .NET Core on the rhel7 machine? Are you using the |
I am using binaries rather than installer. I took the binaries from the following locaiton |
Can you try using the |
Sure. I can give a try. |
@ramsubbaraoc are you still facing this issue? |
Triage: Closing as we haven't heard back from @ramsubbaraoc. |
I am using dotnet core sdk 2.1.403 and building projects on linux. Intermittently the build fails with either Segmentation fault or with 139
The build itself doesn't start, as soon as the command "dotnet build" is issued it comes out with "Segmentation fault (core dumped)" or with 139.
The platform that i am using is
RedHatEnterpriseServer 7.3
Linux2x86_64
Please can someone provide some insights into this.
The content of the project file is
Thanks
The text was updated successfully, but these errors were encountered: