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

System.ComponentModel.Win32Exception when using ef tools #16071

Closed
wli3 opened this issue Jun 13, 2019 · 18 comments
Closed

System.ComponentModel.Win32Exception when using ef tools #16071

wli3 opened this issue Jun 13, 2019 · 18 comments

Comments

@wli3
Copy link

wli3 commented Jun 13, 2019

From @jhoward321 on Thursday, June 13, 2019 3:36:44 AM

Steps to reproduce

Run any dotnet ef command inside a working repo. I'm using the 2.2.107 sdk from the https://copr.fedorainfracloud.org/coprs/g/dotnet-sig/dotnet/ repo. Unfortunately there is not a newer sdk available.

Expected behavior

Show existing migrations

Actual behavior

$ dotnet ef migrations list                          
System.ComponentModel.Win32Exception (2): No such file or directory
   at Interop.Sys.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setUser, UInt32 userId, UInt32 groupId, Int32& lpChildPid, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean shouldThrow)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Microsoft.EntityFrameworkCore.Tools.Exe.Run(String executable, IReadOnlyList`1 args, String workingDirectory, Boolean interceptOutput)
   at Microsoft.EntityFrameworkCore.Tools.Project.FromFile(String file, String buildExtensionsDir, String framework, String configuration, String runtime)
   at Microsoft.EntityFrameworkCore.Tools.RootCommand.Execute()
   at Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(String[] args)
   at Microsoft.EntityFrameworkCore.Tools.Program.Main(String[] args)
No such file or directory

Environment data

$ dotnet --info            
.NET Core SDK (reflecting any global.json):
 Version:   2.2.107
 Commit:    2212cac826

Runtime Environment:
 OS Name:     fedora
 OS Version:  30
 OS Platform: Linux
 RID:         fedora.30-x64
 Base Path:   /usr/lib64/dotnet/sdk/2.2.107/

Host (useful for support):
  Version: 2.2.5
  Commit:  0a3c9209c0

.NET Core SDKs installed:
  2.2.107 [/usr/lib64/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.NETCore.App 2.2.5 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Copied from original issue: dotnet/cli#11542

@wli3
Copy link
Author

wli3 commented Jun 13, 2019

From @RheaAyase on Thursday, June 13, 2019 2:13:55 PM

2.1.507 and 2.2.107 are the latest up to date.
Looking into this with @aslicerh @omajid

@wli3
Copy link
Author

wli3 commented Jun 13, 2019

From @omajid on Thursday, June 13, 2019 2:47:16 PM

The output of dotnet ef -v migrations list would be nice to have.

@bricelam
Copy link
Contributor

bricelam commented Jun 13, 2019

@jhoward321 In addition to the --verbose output, could you share your csproj?

@jhoward321
Copy link

So I've tried this with a number of different projects. I've been trying to use it on a larger project of mine, and I created a new dummy project... always the same issue. Both are dotnet core 2.2 projects.

Here's the verbose output:

$ dotnet ef migrations add InitialCreate --verbose                                         
Using project '/media/BigDrive2/Coding/ef_error/ef_error.csproj'.
Using startup project '/media/BigDrive2/Coding/ef_error/ef_error.csproj'.
Writing '/media/BigDrive2/Coding/ef_error/obj/ef_error.csproj.EntityFrameworkCore.targets'...
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=/tmp/tmpSpTyF8.tmp /verbosity:quiet /nologo /media/BigDrive2/Coding/ef_error/ef_error.csproj
System.ComponentModel.Win32Exception (2): No such file or directory
   at Interop.Sys.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setUser, UInt32 userId, UInt32 groupId, Int32& lpChildPid, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean shouldThrow)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Microsoft.EntityFrameworkCore.Tools.Exe.Run(String executable, IReadOnlyList`1 args, String workingDirectory, Boolean interceptOutput)
   at Microsoft.EntityFrameworkCore.Tools.Project.FromFile(String file, String buildExtensionsDir, String framework, String configuration, String runtime)
   at Microsoft.EntityFrameworkCore.Tools.RootCommand.Execute()
   at Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(String[] args)
   at Microsoft.EntityFrameworkCore.Tools.Program.Main(String[] args)
No such file or directory

Here's the dummy project's cs prof file. It doesnt seem related to the project because its happened with all of my projects. I've tried both sqlite and postgres backends.

<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp2.2</TargetFramework>
    <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
  </PropertyGroup>


  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App" />
    <PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.2.4" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.2.4" />
  </ItemGroup>

</Project>

@jhoward321
Copy link

jhoward321 commented Jun 14, 2019

For what its worth I managed to get the tools working with the 2.2.300 binaries. Would love to get this fixed in the repos.

@RheaAyase
Copy link
Member

RheaAyase commented Jun 14, 2019

As I said... Our 2.1.507 & 2.2.107 are the latest, there is nothing newer (short of compiling the master branch yourself.) Microsoft likes to cause confusion with version numbers, that's all there is to it. (@leecow I'd like to talk about this in our Thursday meeting if you could help me/us understand why is this happening...)

Either way, if there is an issue, it will not be solved by itself with a newer version. That would mean that someone fixed it and released the fix in the newer version - there is no newer version, nobody fixed anything, and nobody can release a fix that doesn't exist.

If we want to actually resolve this, the solution is most certainly not in using Microsoft's blobs which were build in completely different build pipeline than any other open source packages. The difference is that MS also packages AspNetCore with the blob, while source-build products do not and it is downloaded from NuGet, because it can not be built from source in this "different" pipeline. Yet.

@ajcvickers ajcvickers added this to the 3.0.0 milestone Jun 14, 2019
@bricelam
Copy link
Contributor

@jhoward321 It looks like dotnet isn't on the path. How are you installing the .NET Core SDK?

@RheaAyase
Copy link
Member

dotnet is on the path otherwise it wouldn't run - that is dotnet's exception :P
Or rather, that is EF's exception, and for some reason it can't find some (hardcoded or env.var'ed) filepath.
We checked DOTNET_ROOT and ASPNETCORE_ENVIRONMENT which are both set.

@bricelam
Copy link
Contributor

Looks like the error comes when we try to execute this:

dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=/tmp/tmpSpTyF8.tmp /verbosity:quiet /nologo /media/BigDrive2/Coding/ef_error/ef_error.csproj

@bricelam
Copy link
Contributor

Can you try running that with \verbosity:normal?

@bricelam
Copy link
Contributor

No wait, that’s not able to run because it can’t find dotnet...

@jhoward321
Copy link

@bricelam you want the msbuild command you posted above? That command works no problem. I can build projects fine, its only EF tools that don't work.

$ dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=/tmp/tmpSpTyF8.tmp /verbosity:normal /nologo /media/BigDrive2/Coding/ef_error/ef_error.csproj
Build started 6/15/19 11:18:57 AM.

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.24

@RheaAyase
Copy link
Member

To keep this moving, dotnet is most certainly on $PATH, the initial issue is with EF throwing a dotnet exception on Linux system where nothing else other than dotnet itself could possibly do that :P (Therefor, dotnet is there, it is found, and it is running.)

@jhoward321 could we also have a dummy CS file to go with the projectfile if you have one? Or how can we create this on our end? Can you reproduce it with a dotnet new <something>? What would the something be, and then what do we need to add? (What nuget packages, what are the c# code changes, etc...)

@omajid
Copy link
Member

omajid commented Jun 20, 2019

An strace might be nice to have too:

strace -e trace=%process -fo strace.log dotnet ef -v migrations list

Can you upload the generated strace.log file here?

@bricelam
Copy link
Contributor

dotnet-ef.dll is running fine. It throws when we try to Process.Start() this:

dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=/tmp/tmpSpTyF8.tmp /verbosity:quiet /nologo /media/BigDrive2/Coding/ef_error/ef_error.csproj

My first hypothesis was that it can't find dotnet because it's not on the PATH. We need to debug into Process.Start() to better understand what's going on.

@jhoward321
Copy link

@omajid here's the strace

25063 execve("/usr/bin/dotnet", ["dotnet", "ef", "-v", "migrations", "list"], 0x7ffdec676250 /* 76 vars */) = 0
25063 arch_prctl(0x3001 /* ARCH_??? */, 0x7ffd77f3f820) = -1 EINVAL (Invalid argument)
25063 arch_prctl(ARCH_SET_FS, 0x7f805761f740) = 0
25063 clone(child_stack=0x7f8056bd2fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f8056bd39d0, tls=0x7f8056bd3700, child_tidptr=0x7f8056bd39d0) = 25064
25063 clone(child_stack=0x7f80563d1fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f80563d29d0, tls=0x7f80563d2700, child_tidptr=0x7f80563d29d0) = 25065
25063 clone(child_stack=0x7f8055bd0fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f8055bd19d0, tls=0x7f8055bd1700, child_tidptr=0x7f8055bd19d0) = 25066
25063 clone(child_stack=0x7f80553cffb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f80553d09d0, tls=0x7f80553d0700, child_tidptr=0x7f80553d09d0) = 25067
25063 clone(child_stack=0x7f8054bcefb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f8054bcf9d0, tls=0x7f8054bcf700, child_tidptr=0x7f8054bcf9d0) = 25068
25063 clone(child_stack=0x7f804fefdfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f804fefe9d0, tls=0x7f804fefe700, child_tidptr=0x7f804fefe9d0) = 25069
25063 clone(child_stack=0x7f804d542fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f804d5439d0, tls=0x7f804d543700, child_tidptr=0x7f804d5439d0) = 25070
25063 clone(child_stack=0x7f804d501fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f804d5029d0, tls=0x7f804d502700, child_tidptr=0x7f804d5029d0) = 25071
25071 exit(0)                           = ?
25071 +++ exited with 0 +++
25063 clone(child_stack=0x7f804d501fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f804d5029d0, tls=0x7f804d502700, child_tidptr=0x7f804d5029d0) = 25072
25063 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f805761fa10) = 25073
25073 execve("/usr/bin/uname", ["uname", "-m"], 0x16e6530 /* 77 vars */) = 0
25073 arch_prctl(0x3001 /* ARCH_??? */, 0x7fffe664fa30) = -1 EINVAL (Invalid argument)
25073 arch_prctl(ARCH_SET_FS, 0x7fd8e1f60580) = 0
25073 exit_group(0)                     = ?
25073 +++ exited with 0 +++
25063 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25073, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
25072 waitid(P_ALL, 0, {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25073, si_uid=1000, si_status=0, si_utime=140189029637312, si_stime=140189192188676}, WNOHANG|WEXITED|WNOWAIT, NULL) = 0
25072 wait4(25073, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 25073
25072 waitid(P_ALL, 0, 0x7f804d501bb0, WNOHANG|WEXITED|WNOWAIT, NULL) = -1 ECHILD (No child processes)
25063 clone(child_stack=0x7f804c934fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f804c9359d0, tls=0x7f804c935700, child_tidptr=0x7f804c9359d0) = 25075
25063 clone(child_stack=0x7f804c133fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f804c1349d0, tls=0x7f804c134700, child_tidptr=0x7f804c1349d0) = 25076
25075 clone(child_stack=0x7f8047ffefb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f8047fff9d0, tls=0x7f8047fff700, child_tidptr=0x7f8047fff9d0) = 25077
25075 clone(child_stack=0x7f80477fdfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f80477fe9d0, tls=0x7f80477fe700, child_tidptr=0x7f80477fe9d0) = 25078
25077 clone(child_stack=0x7f7fdd185fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f7fdd1869d0, tls=0x7f7fdd186700, child_tidptr=0x7f7fdd1869d0) = 25079
25078 clone(child_stack=0x7f7fdc984fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f7fdc9859d0, tls=0x7f7fdc985700, child_tidptr=0x7f7fdc9859d0) = 25080
25075 clone(child_stack=0x7f7fb7ffcfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f7fb7ffd9d0, tls=0x7f7fb7ffd700, child_tidptr=0x7f7fb7ffd9d0) = 25081
25063 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f805761fa10) = 25082
25082 execve("/home/jake/.dotnet/tools/dotnet-ef", ["/home/jake/.dotnet/tools/dotnet-"..., "-v", "migrations", "list"], 0x16e6530 /* 77 vars */) = 0
25082 arch_prctl(0x3001 /* ARCH_??? */, 0x7fff079cf150) = -1 EINVAL (Invalid argument)
25063 clone(child_stack=0x7f804c0f2fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f804c0f39d0, tls=0x7f804c0f3700, child_tidptr=0x7f804c0f39d0) = 25083
25082 arch_prctl(ARCH_SET_FS, 0x7fb17f844740) = 0
25082 clone(child_stack=0x7fb17edf7fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb17edf89d0, tls=0x7fb17edf8700, child_tidptr=0x7fb17edf89d0) = 25084
25082 clone(child_stack=0x7fb17e5f6fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb17e5f79d0, tls=0x7fb17e5f7700, child_tidptr=0x7fb17e5f79d0) = 25085
25082 clone(child_stack=0x7fb17ddf5fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb17ddf69d0, tls=0x7fb17ddf6700, child_tidptr=0x7fb17ddf69d0) = 25086
25082 clone(child_stack=0x7fb17d5f4fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb17d5f59d0, tls=0x7fb17d5f5700, child_tidptr=0x7fb17d5f59d0) = 25087
25082 clone(child_stack=0x7fb17cdf3fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb17cdf49d0, tls=0x7fb17cdf4700, child_tidptr=0x7fb17cdf49d0) = 25088
25082 clone(child_stack=0x7fb16fffefb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb16ffff9d0, tls=0x7fb16ffff700, child_tidptr=0x7fb16ffff9d0) = 25089
25082 clone(child_stack=0x7fb17c0f8fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb17c0f99d0, tls=0x7fb17c0f9700, child_tidptr=0x7fb17c0f99d0) = 25090
25082 clone(child_stack=0x7fb1053aafb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb1053ab9d0, tls=0x7fb1053ab700, child_tidptr=0x7fb1053ab9d0) = 25091
25082 exit_group(1 <unfinished ...>
25090 +++ exited with 1 +++
25091 +++ exited with 1 +++
25089 +++ exited with 1 +++
25088 +++ exited with 1 +++
25087 +++ exited with 1 +++
25086 +++ exited with 1 +++
25082 <... exit_group resumed>)         = ?
25085 +++ exited with 1 +++
25084 +++ exited with 1 +++
25082 +++ exited with 1 +++
25063 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25082, si_uid=1000, si_status=1, si_utime=10, si_stime=4} ---
25072 waitid(P_ALL, 0, {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25082, si_uid=1000, si_status=1, si_utime=0, si_stime=140187203053448}, WNOHANG|WEXITED|WNOWAIT, NULL) = 0
25072 wait4(25082, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], WNOHANG, NULL) = 25082
25072 waitid(P_ALL, 0, 0x7f804d501bb0, WNOHANG|WEXITED|WNOWAIT, NULL) = -1 ECHILD (No child processes)
25063 exit_group(1)                     = ?
25083 +++ exited with 1 +++
25081 +++ exited with 1 +++
25079 +++ exited with 1 +++
25078 +++ exited with 1 +++
25077 +++ exited with 1 +++
25076 +++ exited with 1 +++
25075 +++ exited with 1 +++
25070 +++ exited with 1 +++
25069 +++ exited with 1 +++
25068 +++ exited with 1 +++
25067 +++ exited with 1 +++
25066 +++ exited with 1 +++
25065 +++ exited with 1 +++
25064 +++ exited with 1 +++
25080 +++ exited with 1 +++
25072 +++ exited with 1 +++
25063 +++ exited with 1 +++

@jhoward321
Copy link

@RheaAyase I've tried this with multiple projects but I'll upload the dummy project I've created for this issue. Here's the dummy repo. I've tried sqlite and postgres with the same results.

@msabansal
Copy link

@jhoward321 I also hit the same issue. For me it turned out to be a bad symlink i had created for dotnet (/usr/local/bin/dotnet). Doing an unlink on this fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants