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

failed to build 0.22.869 on sonoma x64 runner #15683

Closed
3 tasks done
chenrui333 opened this issue Nov 1, 2024 · 5 comments
Closed
3 tasks done

failed to build 0.22.869 on sonoma x64 runner #15683

chenrui333 opened this issue Nov 1, 2024 · 5 comments

Comments

@chenrui333
Copy link

Have you checked our Troubleshooting page for your issue?

  • I have checked the Troubleshooting page

Is there already an issue for your problem?

  • I have checked older issues, open and closed

Have you read our Contributing Guidelines?

  • I have read the Contributing Guidelines

Environment

macOS: 14.7-x86_64

Description

👋 trying to build the latest release, but run into some build issue. The error log is as below:

error build log
MSBuild version 17.8.5+b5265ef37 for .NET
    Determining projects to restore...
    Restored /private/tmp/jackett-20241101-[62](https://github.com/Homebrew/homebrew-core/actions/runs/11625462576/job/32404498933?pr=196325#step:3:63)55-gq0m4f/Jackett-0.22.869/src/DateTimeRoutines/DateTimeRoutines.csproj (in 4.7 sec).
  Stack overflow.
  Repeat 23 times:
  --------------------------------
     at System.Runtime.InteropServices.SEHException..ctor()
  --------------------------------
     at System.Buffers.SharedArrayPool`1[[System.Char, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Return(Char[], Boolean)
     at System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.ToStringAndClear()
     at System.SR.InternalGetResourceString(System.String)
     at System.SR.GetResourceString(System.String)
     at System.Runtime.InteropServices.SEHException..ctor()
     at System.SR.InternalGetResourceString(System.String)
     at System.SR.GetResourceString(System.String)
     at System.Runtime.InteropServices.SEHException..ctor()
     at System.Xml.XmlTextReaderImpl.ParseElement()
     at System.Xml.XmlTextReaderImpl.ParseElementContent()
     at System.Xml.Linq.XContainer.ReadContentFrom(System.Xml.XmlReader)
     at System.Xml.Linq.XDocument.Load(System.Xml.XmlReader, System.Xml.Linq.LoadOptions)
     at NuGet.Packaging.Core.NuspecCoreReaderBase.LoadXml(System.IO.Stream, Boolean)
     at NuGet.Packaging.Core.NuspecCoreReaderBase..ctor(System.IO.Stream, Boolean)
     at NuGet.Packaging.NuspecReader..ctor(System.IO.Stream, NuGet.Frameworks.IFrameworkNameProvider, Boolean)
     at NuGet.Packaging.NuspecReader..ctor(System.IO.Stream)
     at NuGet.Packaging.PackageReaderBase.get_NuspecReader()
     at NuGet.Packaging.PackageReaderBase.GetIdentity()
     at NuGet.Packaging.PackageArchiveReader.CopyFiles(System.String, System.Collections.Generic.IEnumerable`1<System.String>, NuGet.Packaging.Core.ExtractPackageFileDelegate, NuGet.Common.ILogger, System.Threading.CancellationToken)
     at NuGet.Packaging.PackageReaderBase.CopyFilesAsync(System.String, System.Collections.Generic.IEnumerable`1<System.String>, NuGet.Packaging.Core.ExtractPackageFileDelegate, NuGet.Common.ILogger, System.Threading.CancellationToken)
     at NuGet.Packaging.PackageExtractor+<>c__DisplayClass5_2+<<InstallFromSourceAsync>b__0>d.MoveNext()
     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea[77](https://github.com/Homebrew/homebrew-core/actions/runs/11625462576/job/32404498933?pr=196325#step:3:78)98e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7[79](https://github.com/Homebrew/homebrew-core/actions/runs/11625462576/job/32404498933?pr=196325#step:3:80)8e]].MoveNext(System.Threading.Thread)
     at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
     at System.Threading.Tasks.Task.RunContinuations(System.Object)
     at System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TrySetResult(Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec[85](https://github.com/Homebrew/homebrew-core/actions/runs/11625462576/job/32404498933?pr=196325#step:3:86)d7bea7798e]].SetExistingTaskResult(System.Threading.Tasks.Task`1<Boolean>, Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetResult(Boolean)
     at NuGet.Protocol.RemotePackageArchiveDownloader+<CopyNupkgFileToAsync>d__20.MoveNext()
     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
     at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
     at System.Threading.Tasks.Task.RunContinuations(System.Object)
     at System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TrySetResult(Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetExistingTaskResult(System.Threading.Tasks.Task`1<Boolean>, Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetResult(Boolean)
     at NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource+<CopyNupkgToStreamAsync>d__13.MoveNext()
     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea77[98](https://github.com/Homebrew/homebrew-core/actions/runs/11625462576/job/32404498933?pr=196325#step:3:99)e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
     at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
     at System.Threading.Tasks.Task.RunContinuations(System.Object)
     at System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TrySetResult(Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetExistingTaskResult(System.Threading.Tasks.Task`1<Boolean>, Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetResult(Boolean)
     at NuGet.Protocol.FindPackagesByIdNupkgDownloader+<CopyNupkgToStreamAsync>d__9.MoveNext()
     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
     at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
     at System.Threading.Tasks.Task.RunContinuations(System.Object)
     at System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TrySetResult(Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetExistingTaskResult(System.Threading.Tasks.Task`1<Boolean>, Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetResult(Boolean)
     at NuGet.Protocol.FindPackagesByIdNupkgDownloader+<ProcessNupkgStreamAsync>d__10.MoveNext()
     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
     at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
     at System.Threading.Tasks.Task.RunContinuations(System.Object)
     at System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TrySetResult(Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetExistingTaskResult(System.Threading.Tasks.Task`1<Boolean>, Boolean)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetResult(Boolean)
     at NuGet.Protocol.FindPackagesByIdNupkgDownloader+<ProcessCacheEntryAsync>d__13.MoveNext()
     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
     at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
     at System.Threading.Tasks.Task.RunContinuations(System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult()
     at NuGet.Protocol.FindPackagesByIdNupkgDownloader+<>c__DisplayClass9_0+<<CopyNupkgToStreamAsync>b__0>d.MoveNext()
     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
     at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
     at System.Threading.Tasks.Task.RunContinuations(System.Object)
     at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TrySetResult(System.Threading.Tasks.VoidTaskResult)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].SetExistingTaskResult(System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>, System.Threading.Tasks.VoidTaskResult)
     at System.IO.Strategies.BufferedFileStreamStrategy+<CopyToAsyncCore>d__57.MoveNext()
     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.IO.Strategies.BufferedFileStreamStrategy+<CopyToAsyncCore>d__57, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
     at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
     at System.Threading.Tasks.Task.RunContinuations(System.Object)
     at System.IO.Stream+<<CopyToAsync>g__Core|27_0>d.MoveNext()
     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.IO.Stream+<<CopyToAsync>g__Core|27_0>d, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
     at Microsoft.Win32.SafeHandles.SafeFileHandle+ThreadPoolValueTaskSource.ExecuteInternal()
     at Microsoft.Win32.SafeHandles.SafeFileHandle+ThreadPoolValueTaskSource.System.Threading.IThreadPoolWorkItem.Execute()
     at System.Threading.ThreadPoolWorkQueue.Dispatch()
     at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()
     at System.Threading.Thread.StartCallback()

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/11625462576/job/32404498933?pr=196325
relates to Homebrew/homebrew-core#196325

Logged Error Messages

see above

Screenshots

No response

@mynameisbogdan
Copy link
Contributor

Nothing significant changed between these 2 releases as seen here v0.22.867...v0.22.869 but I noticed a revision bump for Homebrew/homebrew-core@db53446 due to icu4c. Maybe it's related?

Sadly since I'm still on 13 I can't reproduce this, and SEHException to me doesn't say much since the whole stacktrace is somewhat rather related to dotnet restore.

Around the subject since I noticed the formula is using no-self-contained, switching to self-contained build would make dotnet a build dependency.

@mynameisbogdan mynameisbogdan changed the title failed to build 0.22.869 on sonoma x86 runner failed to build 0.22.869 on sonoma x64 runner Nov 1, 2024
@mynameisbogdan
Copy link
Contributor

Build log with new version at https://github.com/Homebrew/homebrew-core/actions/runs/11640751358/job/32418492495?pr=196432 shows Process terminated. Encountered infinite recursion while looking up resource 'Arg_ExternalException' in System.Private.CoreLib. Verify the installation of .NET is complete and does not need repairing, and that the state of the process has not become corrupted.

@chenrui333
Copy link
Author

chenrui333 commented Nov 2, 2024

Around the subject since I noticed the formula is using no-self-contained, switching to self-contained build would make dotnet a build dependency.

yeah,, we dont like to use the vendor dependencies

@stefanb
Copy link

stefanb commented Nov 9, 2024

FYI, we're experiencing similar problem (same SEHException on same sonoma x86_64 platform) with a different .net formula:

Full build log: https://github.com/Homebrew/homebrew-core/actions/runs/11733022424/job/32744771678?pr=197015#step:3:70

@chenrui333
Copy link
Author

I guess this is more on the homebrew side, we have managed to sort it out. Thanks!!

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

No branches or pull requests

3 participants