Skip to content

Instantly share code, notes, and snippets.

View radical's full-sized avatar

Ankit Jain radical

  • Microsoft
  • Boston, MA
  • 08:30 (UTC -05:00)
View GitHub Profile
Stack overflow. [/Users/runner/work/1/s/src/tests/JIT/jit64/opt/rngchk/RngchkStress2_o.csproj] [/Users/runner/work/1/s/src/tests/build.proj]
at Microsoft.CodeAnalysis.Operations.CSharpOperationFactory.Create(Microsoft.CodeAnalysis.CSharp.BoundNode) [/Users/runner/work/1/s/src/tests/JIT/jit64/opt/rngchk/RngchkStress2_o.csproj] [/Users/runner/work/1/s/src/tests/build.proj]
at Microsoft.CodeAnalysis.Operations.CSharpOperationFactory.CreateVariableDeclaratorInitializer(Microsoft.CodeAnalysis.CSharp.BoundLocalDeclaration, Microsoft.CodeAnalysis.SyntaxNode) [/Users/runner/work/1/s/src/tests/JIT/jit64/opt/rngchk/RngchkStress2_o.csproj] [/Users/runner/work/1/s/src/tests/build.proj]
at Microsoft.CodeAnalysis.Operations.CSharpOperationFactory.CreateVariableDeclaratorInternal(Microsoft.CodeAnalysis.CSharp.BoundLocalDeclaration, Microsoft.CodeAnalysis.SyntaxNode) [/Users/runner/work/1/s/src/tests/JIT/jit64/opt/rngchk/RngchkStress2_o.csproj] [/Users/runner/work/1/s/src/tests/build.proj]
at Microsoft.CodeAnalysis.Operation
@radical
radical / test.cs
Last active October 5, 2021 19:30
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
public class Test
{
VS P5, rc1
160860172 SixLabors.ImageSharp.dll.bc Debug
159287964 SixLabors.ImageSharp.dll.bc Release
Release command line:
[SixLabors.ImageSharp.dll] Exec (with response file contents expanded) in C:\Users\ankj\source\repos\PictureFixer\PictureFixer\Client\obj\Release\net6.0\linked:
MONO_PATH=C:\Users\ankj\source\repos\PictureFixer\PictureFixer\Client\obj\Release\net6.0\linked;
C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\6.0.0-rc.1.21451.13\runtimes\browser-wasm\native\;
error : Failed to compile /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/src/pinvoke.c -> /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke.o [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj]
error : "/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/bin/clang" -target wasm32-unknown-emscripten -DEMSCRIPTEN -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=23 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O1 -g -v -DLINK_ICALLS=1 -DCORE_BINDINGS -DGEN_PIN
# Public config knobs
$(EmccCompileOptimizationFlag)
$(EmccLinkOptimizationFlag)
$(EmccTotalMemory)
$(EmccVerbose)
$(DisableParallelAot)
$(EnableDefaultWasmAssembliesToBundle)
$(WasmNativeDebugSymbols)
$(WasmDebugLevel)
Unhandled Exception:
System.ExecutionEngineException: System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.CodeAnalysis.CSharp.Binder.CheckViability (Microsoft.CodeAnalysis.CSharp.Symbol symbol, System.Int32 arity, Microsoft.CodeAnalysis.CSharp.LookupOptions options, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol accessThroughType, System.Boolean diagnose, System.Collections.Generic.HashSet`1[Microsoft.CodeAnalysis.DiagnosticInfo]& useSiteDiagnostics, Roslyn.Utilities.ConsList`1[T] basesBeingResolved) [0x00010] in <1394c4f8f72a444f8b69cebf1b218202>:0
at Microsoft.CodeAnalysis.CSharp.Binder.LookupMembersWithoutInheritance (Microsoft.CodeAnalysis.CSharp.LookupResult result, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol type, System.String name, System.Int32 arity, Microsoft.CodeAnalysis.CSharp.LookupOptions options, Microsoft.CodeAnalysis.CSharp.Binder originalBinder, Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol accessThroughType, System.Boolean diagnose
Target "_BuildAndroidRuntimes: (TargetId:1831)" in file "/mnt/jenkins/workspace/xamarin-anroid-linux-pr-builder/xamarin-android/src/monodroid/monodroid.targets" from project "/mnt/jenkins/workspace/xamarin-anroid-linux-pr-builder/xamarin-android/src/monodroid/monodroid.csproj" (target "_BuildRuntimes" depends on it):
Building target "_BuildAndroidRuntimes" completely.
Output file "/mnt/jenkins/workspace/xamarin-anroid-linux-pr-builder/xamarin-android/bin/Debug/lib/xamarin.android/xbuild/Xamarin/Android/lib//armeabi-v7a/libmono-android.debug.so" does not exist.
Set Property: _AppAbi=armeabi-v7a x86
Set Property: _NdkBuildArgs=CONFIGURATION=Debug SGEN_BRIDGE_VERSION=5 MONO_PATH="/mnt/jenkins/workspace/xamarin-anroid-linux-pr-builder/xamarin-android/external/mono"
Task "WriteLinesToFile" (TaskId:1244)
Task Parameter:File=jni/Application.mk (TaskId:1244)
Task Parameter:Lines=APP_ABI := armeabi-v7a x86 (TaskId:1244)
Task Parameter:Overwrite=True (TaskId:1244)
Done executing task "WriteLinesToFile". (TaskId:1
diff --git a/mono/mini/mini-posix.c b/mono/mini/mini-posix.c
index 33b1edb9a41..3989dd0b8ec 100644
--- a/mono/mini/mini-posix.c
+++ b/mono/mini/mini-posix.c
@@ -50,6 +50,7 @@
#include <mono/metadata/verify-internals.h>
#include <mono/metadata/mempool-internals.h>
#include <mono/metadata/attach.h>
+#include <mono/metadata/runtime.h>
#include <mono/utils/mono-math.h>
17:00:15 ***** MonoTests.System.Net.WebSockets.ClientWebSocketTest.SendAsyncWrongState_Closed
17:00:50 Stacktrace:
17:00:50
17:01:21 at <unknown> <0xffffffff>
17:01:21 at (wrapper managed-to-native) System.Threading.Monitor.Monitor_wait (object,int) <0x00007>
17:01:21 at System.Threading.Monitor.ObjWait (bool,int,object) [0x0002f] in /home/builder/jenkins/workspace/test-mono-pull-request-arm64/mcs/class/corlib/System.Threading/Monitor.cs:83
17:01:21 at System.Threading.Monitor.Wait (object,int,bool) [0x0000e] in /home/builder/jenkins/workspace/test-mono-pull-request-arm64/mcs/class/referencesource/mscorlib/system/threading/monitor.cs:210
17:01:21 at System.Threading.Monitor.Wait (object,int) [0x00000] in /home/builder/jenkins/workspace/test-mono-pull-request-arm64/mcs/class/referencesource/mscorlib/system/threading/monitor.cs:220
17:01:21 at System.Threading.ManualResetEventSlim.Wait (int,System.Threading.CancellationToken) [0x00141] in /home/builder/jenkins/workspace/test-mono-pull-request-arm64
 /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/fsharp/fsc.exe -o:obj/Debug/Foom.Renderer.Droid.dll
-g
--debug:full
--noframework
--define:DEBUG
--define:__ANDROID__
--define:__XAMARIN_ANDROID_v1_0__;__MOBILE__;__ANDROID__;__ANDROID_1__;__ANDROID_2__;__ANDROID_3__;__ANDROID_4__;__ANDROID_5__;__ANDROID_6__;__ANDROID_7__;__ANDROID_8__;__ANDROID_9__;__ANDROID_10__;__ANDROID_11__;__ANDROID_12__;__ANDROID_13__;__ANDROID_14__;__ANDROID_15__;__ANDROID_16__;__ANDROID_17__;__ANDROID_18__;__ANDROID_19__;__ANDROID_20__;__ANDROID_21__;__ANDROID_22__;__ANDROID_23__;__ANDROID_24__;__ANDROID_25__
--optimize-
--tailcalls-
--resource:obj/Debug/__AndroidLibraryProjects__.zip