You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: The "ProtoCompile" task failed unexpectedly.
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: System.Text.RegularExpressions.RegexMatchTimeoutException: The Regex engine has timed out while trying to match a pattern to an input string. This can occur for many reasons, including very large inputs or excessive backtracking caused by nested quantifiers, back-references and other factors.
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at System.Text.RegularExpressions.RegexRunner.g__ThrowRegexTimeout|25_0()
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Regex8_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan1) /root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Regex8_Scan(RegexRunner, ReadOnlySpan1)
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at System.Text.RegularExpressions.Regex.Match(String input)
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Grpc.Tools.ProtoCompile.LogEventsFromTextOutput(String singleLine, MessageImportance messageImportance) in /var/local/git/grpc/src/csharp/Grpc.Tools/ProtoCompile.cs:line 594
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Microsoft.Build.Utilities.ToolTask.LogMessagesFromStandardErrorOrOutput(Queue dataQueue, ManualResetEvent dataAvailableSignal, MessageImportance messageImportance, StandardOutputOrErrorQueueType queueType)
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Microsoft.Build.Utilities.ToolTask.HandleToolNotifications(Process proc)
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands)
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Microsoft.Build.Utilities.ToolTask.Execute()
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Grpc.Tools.ProtoCompile.Execute() in /var/local/git/grpc/src/csharp/Grpc.Tools/ProtoCompile.cs:line 611
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
/root/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
The text was updated successfully, but these errors were encountered:
Fix for #36162
Increase the regex timeout to 1 second. If a timeout occurs then log that the line could not be parsed.
Closes#36185
COPYBARA_INTEGRATE_REVIEW=#36185 from tonydnewell:grpc.tools-regex-timeout 324b301
PiperOrigin-RevId: 620767619
Dear team, do you have if there are any ways to set a timeout or avoid this error during the building process?
In source code i can't see anything
https://github.com/grpc/grpc/blob/master/src/csharp/Grpc.Tools/ProtoCompile.cs#L129
The text was updated successfully, but these errors were encountered: