Skip to content

Instantly share code, notes, and snippets.

@dicej
Created June 27, 2024 22:59
Show Gist options
  • Save dicej/182cbe6a556c6d7dd8b672479b9cf807 to your computer and use it in GitHub Desktop.
Save dicej/182cbe6a556c6d7dd8b672479b9cf807 to your computer and use it in GitHub Desktop.
infinite wait in `System.Net.Http.Functional.Tests` on WASI
#0 0x0000fffe0b05764c in S_P_CoreLib_Interop_Sys__LowLevelMonitor_Wait (var0=<optimized out>, var1=<optimized out>) at .tmp8dNCCP.wasm:14100932
#1 0x0000fffe14464950 in S_P_CoreLib_System_Threading_LowLevelMonitor__WaitCore (this=<error reading variable: Cannot access memory at address 0x20e84>)
#2 0x0000fffe0c342a40 in S_P_CoreLib_System_Threading_LowLevelMonitor__Wait (this=<error reading variable: Cannot access memory at address 0x20e84>)
#3 0x0000fffe140e4b48 in S_P_CoreLib_System_Threading_WaitSubsystem_ThreadWaitInfo__Wait (this=<error reading variable: Cannot access memory at address 0x20e84>,
timeoutMilliseconds=<error reading variable: Cannot access memory at address 0x20e84>, interruptible=<error reading variable: Cannot access memory at address 0x20e84>,
isSleep=<error reading variable: Cannot access memory at address 0x20e84>, lockHolder=<error reading variable: Cannot access memory at address 0x20e84>)
#4 0x0000fffe0d7bf2ec in S_P_CoreLib_System_Threading_WaitSubsystem_WaitableObject__Wait_Locked (this=..., waitInfo=..., timeoutMilliseconds=<optimized out>, interruptible=<optimized out>,
prioritize=<optimized out>, lockHolder=...)
#5 0x0000fffe0d7c03f8 in S_P_CoreLib_System_Threading_WaitSubsystem_WaitableObject__Wait (this=<error reading variable: Cannot access memory at address 0x20e84>,
waitInfo=<error reading variable: Cannot access memory at address 0x20e84>, timeoutMilliseconds=<error reading variable: Cannot access memory at address 0x20e84>,
interruptible=<error reading variable: Cannot access memory at address 0x20e84>, prioritize=<error reading variable: Cannot access memory at address 0x20e84>)
#6 0x0000fffe11560ccc in S_P_CoreLib_System_Threading_WaitSubsystem__Wait_0 (waitableObject=..., timeoutMilliseconds=<optimized out>, interruptible=<optimized out>, prioritize=<optimized out>)
#7 0x0000fffe0ea40e04 in S_P_CoreLib_System_Threading_WaitSubsystem__Wait (handle=<optimized out>, timeoutMilliseconds=<optimized out>, interruptible=<optimized out>)
#8 0x0000fffe127e1de8 in S_P_CoreLib_System_Threading_WaitHandle__WaitOneCore (handle=<optimized out>, millisecondsTimeout=<optimized out>, useTrivialWaits=<optimized out>)
#9 0x0000fffe0bfc49a4 in S_P_CoreLib_System_Threading_WaitHandle__WaitOneNoCheck (this=<error reading variable: Cannot access memory at address 0x20e84>,
millisecondsTimeout=<error reading variable: Cannot access memory at address 0x20e84>, useTrivialWaits=<error reading variable: Cannot access memory at address 0x20e84>,
associatedObject=<error reading variable: Cannot access memory at address 0x20e84>, waitSource=<error reading variable: Cannot access memory at address 0x20e84>)
#10 0x0000fffe11679074 in S_P_CoreLib_System_Threading_Condition__Wait_1 (this=<error reading variable: Cannot access memory at address 0x20e84>,
millisecondsTimeout=<error reading variable: Cannot access memory at address 0x20e84>, associatedObjectForMonitorWait=<error reading variable: Cannot access memory at address 0x20e84>)
#11 0x0000fffe129dbc7c in S_P_CoreLib_System_Threading_Monitor__Wait (obj=..., millisecondsTimeout=<optimized out>)
#12 0x0000fffe0be456b4 in S_P_CoreLib_System_Threading_ManualResetEventSlim__Wait_4 (this=<error reading variable: Cannot access memory at address 0x20e84>,
millisecondsTimeout=<error reading variable: Cannot access memory at address 0x20e84>, cancellationToken=<error reading variable: Cannot access memory at address 0x20e84>)
#13 0x0000fffe0e833b68 in S_P_CoreLib_System_Threading_Tasks_Task__SpinThenBlockingWait (this=<error reading variable: Cannot access memory at address 0x20e84>,
millisecondsTimeout=<error reading variable: Cannot access memory at address 0x20e84>, cancellationToken=<error reading variable: Cannot access memory at address 0x20e84>)
#14 0x0000fffe0e832b84 in S_P_CoreLib_System_Threading_Tasks_Task__InternalWaitCore (this=..., millisecondsTimeout=<optimized out>, cancellationToken=...)
#15 0x0000fffe1262190c in S_P_CoreLib_System_Threading_Tasks_Task__InternalWait (this=..., millisecondsTimeout=<optimized out>, cancellationToken=...)
#16 0x0000fffe13de2524 in S_P_CoreLib_System_Runtime_CompilerServices_TaskAwaiter__HandleNonSuccessAndDebuggerNotification (task=..., options=<optimized out>)
#17 0x0000fffe0a4ed3b8 in S_P_CoreLib_System_Runtime_CompilerServices_TaskAwaiter__ValidateEnd (task=..., options=<optimized out>)
#18 0x0000fffe13b1f628 in __GetResult (this=...)
#19 0x0000fffe13979f70 in System_Net_Http_Functional_Tests_WasmTestRunner___Main_ (var0=<optimized out>, var1=<optimized out>) at .tmp8dNCCP.wasm:130502574
#20 0x0000fffe13979b08 in System_Net_Http_Functional_Tests__Module___MainMethodWrapper (var0=<optimized out>, var1=<optimized out>) at .tmp8dNCCP.wasm:130501818
#21 0x0000fffe139790f4 in System_Net_Http_Functional_Tests__Module___StartupCodeMain (var0=<optimized out>, var1=<optimized out>) at .tmp8dNCCP.wasm:130500038
#22 0x0000fffe0a010218 in __main_argc_argv (argc=<error reading variable: Cannot access memory at address 0x20e84>, argv=<error reading variable: Cannot access memory at address 0x20e84>)
at /home/dicej/p/runtimelab/src/coreclr/nativeaot/Bootstrap/main.cpp:259
#23 0x0000fffe15097e90 in __main_void () at .tmp8dNCCP.wasm:147931117
#24 0x0000fffe0a010118 in _start () at libc-bottom-half/crt/crt1-command.c:43
#25 0x0000fffe150b88c0 in wasi:cli/run@0.2.0#run () at .tmp8dNCCP.wasm:570864
#26 0x0000fffe159fff04 in ?? ()
#27 0x0000fffff7ffbb50 in __pointer_chk_guard () from /lib/ld-linux-aarch64.so.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment