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

[wasm][aot][windows] Crash in Microsoft.Extensions.Logging.Tests #64725

Closed
radical opened this issue Feb 3, 2022 · 3 comments
Closed

[wasm][aot][windows] Crash in Microsoft.Extensions.Logging.Tests #64725

radical opened this issue Feb 3, 2022 · 3 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono
Milestone

Comments

@radical
Copy link
Member

radical commented Feb 3, 2022

Hit on #62499
Build, and log.

EXEC : warning : undefined symbol: htons (referenced by $inetPton6__deps: ['htons','$jstoi_q'], referenced by $writeSockaddr__deps: ['$Sockets','$inetPton4','$inetPton6','$zeroMemory'], referenced by __syscall_accept4__deps: ['$getSocketFromFD','$writeSockaddr','$DNS','$SYSCALLS'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
EXEC : warning : undefined symbol: ntohs (referenced by $inetNtop6__deps: ['$inetNtop4','ntohs'], referenced by $readSockaddr__deps: ['$Sockets','$inetNtop4','$inetNtop6','ntohs'], referenced by $getSocketAddress__deps: ['$readSockaddr','$FS','$DNS'], referenced by __syscall_bind__deps: ['$getSocketFromFD','$getSocketAddress','$SYSCALLS'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
EXEC : warning : undefined symbol: _get_daylight (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
EXEC : warning : undefined symbol: _get_timezone (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
EXEC : warning : undefined symbol: _get_tzname (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]

Crash:

Application arguments: --run WasmTestRunner.dll Microsoft.Extensions.Logging.Tests.dll -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
ABORT: undefined
Stacktrace:

Error
    at Object.onAbort (test-main.js:157:25)
    at abort (./dotnet.js:1317:24)
    at mmapAlloc (./dotnet.js:2193:7)
    at syscallMmap2 (./dotnet.js:5443:15)
    at ___syscall_mmap2 (./dotnet.js:5458:14)
    at __mmap (wasm://wasm/0a086f76:wasm-function[92064]:0x11f645d)
    at mono_valloc (wasm://wasm/0a086f76:wasm-function[80735]:0x10aa6f9)
    at mono_thread_small_id_alloc (wasm://wasm/0a086f76:wasm-function[80946]:0x10b1b17)
    at mono_thread_smr_init (wasm://wasm/0a086f76:wasm-function[80957]:0x10b1f27)
    at mono_thread_info_init (wasm://wasm/0a086f76:wasm-function[81030]:0x10b345a)
    at sgen_client_init (wasm://wasm/0a086f76:wasm-function[80684]:0x10a96bd)
    at sgen_gc_init (wasm://wasm/0a086f76:wasm-function[81410]:0x10ba8b0)
    at mono_gc_base_init (wasm://wasm/0a086f76:wasm-function[80691]:0x10a9990)
    at mono_init_internal (wasm://wasm/0a086f76:wasm-function[74792]:0x1012391)
    at mono_init_version (wasm://wasm/0a086f76:wasm-function[74798]:0x1012cb4)
    at mini_init (wasm://wasm/0a086f76:wasm-function[90537]:0x11c5d30)
    at mono_jit_init_version (wasm://wasm/0a086f76:wasm-function[90748]:0x11cc564)
    at mono_wasm_load_runtime (wasm://wasm/0a086f76:wasm-function[92526]:0x1206bc5)
    at Module._mono_wasm_load_runtime (./dotnet.js:7306:114)
    at ccall (./dotnet.js:696:18)
    at ./dotnet.js:719:12
    at Object.o.<computed> (./dotnet.js:3:4019)
    at finalize_startup (./dotnet.js:3:61490)
    at mono_wasm_after_runtime_initialized (./dotnet.js:3:59112)
    at callRuntimeCallbacks (./dotnet.js:1535:11)
    at postRun (./dotnet.js:1236:3)
    at doRun (./dotnet.js:8203:5)
    at run (./dotnet.js:8216:5)
    at runCaller (./dotnet.js:8170:19)
    at removeRunDependency (./dotnet.js:1305:7)
    at receiveInstance (./dotnet.js:1446:5)
    at receiveInstantiationResult (./dotnet.js:1457:5)
Aborted(undefined)
ABORT: RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.
Stacktrace:

Error
    at Object.onAbort (test-main.js:157:25)
    at abort (./dotnet.js:1317:24)
    at ___syscall_mmap2 (./dotnet.js:5460:69)
    at __mmap (wasm://wasm/0a086f76:wasm-function[92064]:0x11f645d)
    at mono_valloc (wasm://wasm/0a086f76:wasm-function[80735]:0x10aa6f9)
    at mono_thread_small_id_alloc (wasm://wasm/0a086f76:wasm-function[80946]:0x10b1b17)
    at mono_thread_smr_init (wasm://wasm/0a086f76:wasm-function[80957]:0x10b1f27)
    at mono_thread_info_init (wasm://wasm/0a086f76:wasm-function[81030]:0x10b345a)
    at sgen_client_init (wasm://wasm/0a086f76:wasm-function[80684]:0x10a96bd)
    at sgen_gc_init (wasm://wasm/0a086f76:wasm-function[81410]:0x10ba8b0)
    at mono_gc_base_init (wasm://wasm/0a086f76:wasm-function[80691]:0x10a9990)
    at mono_init_internal (wasm://wasm/0a086f76:wasm-function[74792]:0x1012391)
    at mono_init_version (wasm://wasm/0a086f76:wasm-function[74798]:0x1012cb4)
    at mini_init (wasm://wasm/0a086f76:wasm-function[90537]:0x11c5d30)
    at mono_jit_init_version (wasm://wasm/0a086f76:wasm-function[90748]:0x11cc564)
    at mono_wasm_load_runtime (wasm://wasm/0a086f76:wasm-function[92526]:0x1206bc5)
    at Module._mono_wasm_load_runtime (./dotnet.js:7306:114)
    at ccall (./dotnet.js:696:18)
    at ./dotnet.js:719:12
    at Object.o.<computed> (./dotnet.js:3:4019)
    at finalize_startup (./dotnet.js:3:61490)
    at mono_wasm_after_runtime_initialized (./dotnet.js:3:59112)
    at callRuntimeCallbacks (./dotnet.js:1535:11)
    at postRun (./dotnet.js:1236:3)
    at doRun (./dotnet.js:8203:5)
    at run (./dotnet.js:8216:5)
    at runCaller (./dotnet.js:8170:19)
    at removeRunDependency (./dotnet.js:1305:7)
    at receiveInstance (./dotnet.js:1446:5)
    at receiveInstantiationResult (./dotnet.js:1457:5)
{}
RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.
    at abort (./dotnet.js:1334:11)
    at mmapAlloc (./dotnet.js:2193:7)
    at syscallMmap2 (./dotnet.js:5443:15)
    at ___syscall_mmap2 (./dotnet.js:5458:14)
    at __mmap (wasm://wasm/0a086f76:wasm-function[92064]:0x11f645d)
    at mono_valloc (wasm://wasm/0a086f76:wasm-function[80735]:0x10aa6f9)
    at mono_thread_small_id_alloc (wasm://wasm/0a086f76:wasm-function[80946]:0x10b1b17)
    at mono_thread_smr_init (wasm://wasm/0a086f76:wasm-function[80957]:0x10b1f27)
    at mono_thread_info_init (wasm://wasm/0a086f76:wasm-function[81030]:0x10b345a)
    at sgen_client_init (wasm://wasm/0a086f76:wasm-function[80684]:0x10a96bd)
    at sgen_gc_init (wasm://wasm/0a086f76:wasm-function[81410]:0x10ba8b0)
    at mono_gc_base_init (wasm://wasm/0a086f76:wasm-function[80691]:0x10a9990)
    at mono_init_internal (wasm://wasm/0a086f76:wasm-function[74792]:0x1012391)
    at mono_init_version (wasm://wasm/0a086f76:wasm-function[74798]:0x1012cb4)
    at mini_init (wasm://wasm/0a086f76:wasm-function[90537]:0x11c5d30)
    at mono_jit_init_version (wasm://wasm/0a086f76:wasm-function[90748]:0x11cc564)
    at mono_wasm_load_runtime (wasm://wasm/0a086f76:wasm-function[92526]:0x1206bc5)
    at Module._mono_wasm_load_runtime (./dotnet.js:7306:114)
    at ccall (./dotnet.js:696:18)
    at ./dotnet.js:719:12
    at Object.o.<computed> (./dotnet.js:3:4019)
    at finalize_startup (./dotnet.js:3:61490)
    at mono_wasm_after_runtime_initialized (./dotnet.js:3:59112)
    at callRuntimeCallbacks (./dotnet.js:1535:11)
    at postRun (./dotnet.js:1236:3)
    at doRun (./dotnet.js:8203:5)
    at run (./dotnet.js:8216:5)
    at runCaller (./dotnet.js:8170:19)
    at removeRunDependency (./dotnet.js:1305:7)
    at receiveInstance (./dotnet.js:1446:5)
    at receiveInstantiationResult (./dotnet.js:1457:5)
Aborted(RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.)
MONO_WASM: mono_wasm_load_runtime () failed: RuntimeError: Aborted(RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.
MONO_WASM: Stacktrace: 

RuntimeError: Aborted(RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.
    at abort (./dotnet.js:1334:11)
    at ___syscall_mmap2 (./dotnet.js:5460:69)
    at __mmap (wasm://wasm/0a086f76:wasm-function[92064]:0x11f645d)
    at mono_valloc (wasm://wasm/0a086f76:wasm-function[80735]:0x10aa6f9)
    at mono_thread_small_id_alloc (wasm://wasm/0a086f76:wasm-function[80946]:0x10b1b17)
    at mono_thread_smr_init (wasm://wasm/0a086f76:wasm-function[80957]:0x10b1f27)
    at mono_thread_info_init (wasm://wasm/0a086f76:wasm-function[81030]:0x10b345a)
    at sgen_client_init (wasm://wasm/0a086f76:wasm-function[80684]:0x10a96bd)
    at sgen_gc_init (wasm://wasm/0a086f76:wasm-function[81410]:0x10ba8b0)
    at mono_gc_base_init (wasm://wasm/0a086f76:wasm-function[80691]:0x10a9990)
    at mono_init_internal (wasm://wasm/0a086f76:wasm-function[74792]:0x1012391)
    at mono_init_version (wasm://wasm/0a086f76:wasm-function[74798]:0x1012cb4)
    at mini_init (wasm://wasm/0a086f76:wasm-function[90537]:0x11c5d30)
    at mono_jit_init_version (wasm://wasm/0a086f76:wasm-function[90748]:0x11cc564)
    at mono_wasm_load_runtime (wasm://wasm/0a086f76:wasm-function[92526]:0x1206bc5)
    at Module._mono_wasm_load_runtime (./dotnet.js:7306:114)
    at ccall (./dotnet.js:696:18)
    at ./dotnet.js:719:12
    at Object.o.<computed> (./dotnet.js:3:4019)
    at finalize_startup (./dotnet.js:3:61490)
    at mono_wasm_after_runtime_initialized (./dotnet.js:3:59112)
    at callRuntimeCallbacks (./dotnet.js:1535:11)
    at postRun (./dotnet.js:1236:3)
    at doRun (./dotnet.js:8203:5)
    at run (./dotnet.js:8216:5)
    at runCaller (./dotnet.js:8170:19)
    at removeRunDependency (./dotnet.js:1305:7)
    at receiveInstance (./dotnet.js:1446:5)
    at receiveInstantiationResult (./dotnet.js:1457:5)
Process v8.cmd exited with 1

cc @radekdoulik @vargaz

Build Kind Start Time
1589203 Rolling 2022-03-02
@dotnet-issue-labeler dotnet-issue-labeler bot added area-VM-meta-mono untriaged New issue has not been triaged by the area owner labels Feb 3, 2022
@radical radical added arch-wasm WebAssembly architecture area-Codegen-AOT-mono and removed untriaged New issue has not been triaged by the area owner area-VM-meta-mono labels Feb 3, 2022
@ghost
Copy link

ghost commented Feb 3, 2022

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Hit on #62499
Build, and log.

EXEC : warning : undefined symbol: htons (referenced by $inetPton6__deps: ['htons','$jstoi_q'], referenced by $writeSockaddr__deps: ['$Sockets','$inetPton4','$inetPton6','$zeroMemory'], referenced by __syscall_accept4__deps: ['$getSocketFromFD','$writeSockaddr','$DNS','$SYSCALLS'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
EXEC : warning : undefined symbol: ntohs (referenced by $inetNtop6__deps: ['$inetNtop4','ntohs'], referenced by $readSockaddr__deps: ['$Sockets','$inetNtop4','$inetNtop6','ntohs'], referenced by $getSocketAddress__deps: ['$readSockaddr','$FS','$DNS'], referenced by __syscall_bind__deps: ['$getSocketFromFD','$getSocketAddress','$SYSCALLS'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
EXEC : warning : undefined symbol: _get_daylight (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
EXEC : warning : undefined symbol: _get_timezone (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
EXEC : warning : undefined symbol: _get_tzname (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]

Crash:

Application arguments: --run WasmTestRunner.dll Microsoft.Extensions.Logging.Tests.dll -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
ABORT: undefined
Stacktrace:

Error
    at Object.onAbort (test-main.js:157:25)
    at abort (./dotnet.js:1317:24)
    at mmapAlloc (./dotnet.js:2193:7)
    at syscallMmap2 (./dotnet.js:5443:15)
    at ___syscall_mmap2 (./dotnet.js:5458:14)
    at __mmap (wasm://wasm/0a086f76:wasm-function[92064]:0x11f645d)
    at mono_valloc (wasm://wasm/0a086f76:wasm-function[80735]:0x10aa6f9)
    at mono_thread_small_id_alloc (wasm://wasm/0a086f76:wasm-function[80946]:0x10b1b17)
    at mono_thread_smr_init (wasm://wasm/0a086f76:wasm-function[80957]:0x10b1f27)
    at mono_thread_info_init (wasm://wasm/0a086f76:wasm-function[81030]:0x10b345a)
    at sgen_client_init (wasm://wasm/0a086f76:wasm-function[80684]:0x10a96bd)
    at sgen_gc_init (wasm://wasm/0a086f76:wasm-function[81410]:0x10ba8b0)
    at mono_gc_base_init (wasm://wasm/0a086f76:wasm-function[80691]:0x10a9990)
    at mono_init_internal (wasm://wasm/0a086f76:wasm-function[74792]:0x1012391)
    at mono_init_version (wasm://wasm/0a086f76:wasm-function[74798]:0x1012cb4)
    at mini_init (wasm://wasm/0a086f76:wasm-function[90537]:0x11c5d30)
    at mono_jit_init_version (wasm://wasm/0a086f76:wasm-function[90748]:0x11cc564)
    at mono_wasm_load_runtime (wasm://wasm/0a086f76:wasm-function[92526]:0x1206bc5)
    at Module._mono_wasm_load_runtime (./dotnet.js:7306:114)
    at ccall (./dotnet.js:696:18)
    at ./dotnet.js:719:12
    at Object.o.<computed> (./dotnet.js:3:4019)
    at finalize_startup (./dotnet.js:3:61490)
    at mono_wasm_after_runtime_initialized (./dotnet.js:3:59112)
    at callRuntimeCallbacks (./dotnet.js:1535:11)
    at postRun (./dotnet.js:1236:3)
    at doRun (./dotnet.js:8203:5)
    at run (./dotnet.js:8216:5)
    at runCaller (./dotnet.js:8170:19)
    at removeRunDependency (./dotnet.js:1305:7)
    at receiveInstance (./dotnet.js:1446:5)
    at receiveInstantiationResult (./dotnet.js:1457:5)
Aborted(undefined)
ABORT: RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.
Stacktrace:

Error
    at Object.onAbort (test-main.js:157:25)
    at abort (./dotnet.js:1317:24)
    at ___syscall_mmap2 (./dotnet.js:5460:69)
    at __mmap (wasm://wasm/0a086f76:wasm-function[92064]:0x11f645d)
    at mono_valloc (wasm://wasm/0a086f76:wasm-function[80735]:0x10aa6f9)
    at mono_thread_small_id_alloc (wasm://wasm/0a086f76:wasm-function[80946]:0x10b1b17)
    at mono_thread_smr_init (wasm://wasm/0a086f76:wasm-function[80957]:0x10b1f27)
    at mono_thread_info_init (wasm://wasm/0a086f76:wasm-function[81030]:0x10b345a)
    at sgen_client_init (wasm://wasm/0a086f76:wasm-function[80684]:0x10a96bd)
    at sgen_gc_init (wasm://wasm/0a086f76:wasm-function[81410]:0x10ba8b0)
    at mono_gc_base_init (wasm://wasm/0a086f76:wasm-function[80691]:0x10a9990)
    at mono_init_internal (wasm://wasm/0a086f76:wasm-function[74792]:0x1012391)
    at mono_init_version (wasm://wasm/0a086f76:wasm-function[74798]:0x1012cb4)
    at mini_init (wasm://wasm/0a086f76:wasm-function[90537]:0x11c5d30)
    at mono_jit_init_version (wasm://wasm/0a086f76:wasm-function[90748]:0x11cc564)
    at mono_wasm_load_runtime (wasm://wasm/0a086f76:wasm-function[92526]:0x1206bc5)
    at Module._mono_wasm_load_runtime (./dotnet.js:7306:114)
    at ccall (./dotnet.js:696:18)
    at ./dotnet.js:719:12
    at Object.o.<computed> (./dotnet.js:3:4019)
    at finalize_startup (./dotnet.js:3:61490)
    at mono_wasm_after_runtime_initialized (./dotnet.js:3:59112)
    at callRuntimeCallbacks (./dotnet.js:1535:11)
    at postRun (./dotnet.js:1236:3)
    at doRun (./dotnet.js:8203:5)
    at run (./dotnet.js:8216:5)
    at runCaller (./dotnet.js:8170:19)
    at removeRunDependency (./dotnet.js:1305:7)
    at receiveInstance (./dotnet.js:1446:5)
    at receiveInstantiationResult (./dotnet.js:1457:5)
{}
RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.
    at abort (./dotnet.js:1334:11)
    at mmapAlloc (./dotnet.js:2193:7)
    at syscallMmap2 (./dotnet.js:5443:15)
    at ___syscall_mmap2 (./dotnet.js:5458:14)
    at __mmap (wasm://wasm/0a086f76:wasm-function[92064]:0x11f645d)
    at mono_valloc (wasm://wasm/0a086f76:wasm-function[80735]:0x10aa6f9)
    at mono_thread_small_id_alloc (wasm://wasm/0a086f76:wasm-function[80946]:0x10b1b17)
    at mono_thread_smr_init (wasm://wasm/0a086f76:wasm-function[80957]:0x10b1f27)
    at mono_thread_info_init (wasm://wasm/0a086f76:wasm-function[81030]:0x10b345a)
    at sgen_client_init (wasm://wasm/0a086f76:wasm-function[80684]:0x10a96bd)
    at sgen_gc_init (wasm://wasm/0a086f76:wasm-function[81410]:0x10ba8b0)
    at mono_gc_base_init (wasm://wasm/0a086f76:wasm-function[80691]:0x10a9990)
    at mono_init_internal (wasm://wasm/0a086f76:wasm-function[74792]:0x1012391)
    at mono_init_version (wasm://wasm/0a086f76:wasm-function[74798]:0x1012cb4)
    at mini_init (wasm://wasm/0a086f76:wasm-function[90537]:0x11c5d30)
    at mono_jit_init_version (wasm://wasm/0a086f76:wasm-function[90748]:0x11cc564)
    at mono_wasm_load_runtime (wasm://wasm/0a086f76:wasm-function[92526]:0x1206bc5)
    at Module._mono_wasm_load_runtime (./dotnet.js:7306:114)
    at ccall (./dotnet.js:696:18)
    at ./dotnet.js:719:12
    at Object.o.<computed> (./dotnet.js:3:4019)
    at finalize_startup (./dotnet.js:3:61490)
    at mono_wasm_after_runtime_initialized (./dotnet.js:3:59112)
    at callRuntimeCallbacks (./dotnet.js:1535:11)
    at postRun (./dotnet.js:1236:3)
    at doRun (./dotnet.js:8203:5)
    at run (./dotnet.js:8216:5)
    at runCaller (./dotnet.js:8170:19)
    at removeRunDependency (./dotnet.js:1305:7)
    at receiveInstance (./dotnet.js:1446:5)
    at receiveInstantiationResult (./dotnet.js:1457:5)
Aborted(RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.)
MONO_WASM: mono_wasm_load_runtime () failed: RuntimeError: Aborted(RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.
MONO_WASM: Stacktrace: 

RuntimeError: Aborted(RuntimeError: Aborted(undefined). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.
    at abort (./dotnet.js:1334:11)
    at ___syscall_mmap2 (./dotnet.js:5460:69)
    at __mmap (wasm://wasm/0a086f76:wasm-function[92064]:0x11f645d)
    at mono_valloc (wasm://wasm/0a086f76:wasm-function[80735]:0x10aa6f9)
    at mono_thread_small_id_alloc (wasm://wasm/0a086f76:wasm-function[80946]:0x10b1b17)
    at mono_thread_smr_init (wasm://wasm/0a086f76:wasm-function[80957]:0x10b1f27)
    at mono_thread_info_init (wasm://wasm/0a086f76:wasm-function[81030]:0x10b345a)
    at sgen_client_init (wasm://wasm/0a086f76:wasm-function[80684]:0x10a96bd)
    at sgen_gc_init (wasm://wasm/0a086f76:wasm-function[81410]:0x10ba8b0)
    at mono_gc_base_init (wasm://wasm/0a086f76:wasm-function[80691]:0x10a9990)
    at mono_init_internal (wasm://wasm/0a086f76:wasm-function[74792]:0x1012391)
    at mono_init_version (wasm://wasm/0a086f76:wasm-function[74798]:0x1012cb4)
    at mini_init (wasm://wasm/0a086f76:wasm-function[90537]:0x11c5d30)
    at mono_jit_init_version (wasm://wasm/0a086f76:wasm-function[90748]:0x11cc564)
    at mono_wasm_load_runtime (wasm://wasm/0a086f76:wasm-function[92526]:0x1206bc5)
    at Module._mono_wasm_load_runtime (./dotnet.js:7306:114)
    at ccall (./dotnet.js:696:18)
    at ./dotnet.js:719:12
    at Object.o.<computed> (./dotnet.js:3:4019)
    at finalize_startup (./dotnet.js:3:61490)
    at mono_wasm_after_runtime_initialized (./dotnet.js:3:59112)
    at callRuntimeCallbacks (./dotnet.js:1535:11)
    at postRun (./dotnet.js:1236:3)
    at doRun (./dotnet.js:8203:5)
    at run (./dotnet.js:8216:5)
    at runCaller (./dotnet.js:8170:19)
    at removeRunDependency (./dotnet.js:1305:7)
    at receiveInstance (./dotnet.js:1446:5)
    at receiveInstantiationResult (./dotnet.js:1457:5)
Process v8.cmd exited with 1

cc @radekdoulik @vargaz

Author: radical
Assignees: -
Labels:

arch-wasm, area-Codegen-AOT-mono

Milestone: -

radical added a commit to radical/runtime that referenced this issue Feb 3, 2022
`Microsoft.Extensions.HostFactoryResolver.Tests`: dotnet#64724
`Microsoft.Extensions.Logging.Tests`: dotnet#64725
@radekdoulik
Copy link
Member

Looks like same issue in emscripten as mentioned in #64724 (comment)

radical added a commit that referenced this issue Feb 4, 2022
* [wasm][aot] Disable failing tests

`Microsoft.Extensions.HostFactoryResolver.Tests`: #64724
`Microsoft.Extensions.Logging.Tests`: #64725

* [wasm][aot] Disable `System.Text.Json.SourceGeneration.Roslyn3.11.Unit.Tests`

.. on linux.

Fixes #64762 .
Real issue being tracked in #61339

* disable failing nodejs samples

* [wasm] Disable more failing tests

System.Linq.Tests: #64774
System.Text.Json.Tests: #64775

* Disable System.Text.RegularExpressions.Tests due to issue#64769
radekdoulik added a commit to radekdoulik/runtime that referenced this issue Feb 4, 2022
lewing pushed a commit that referenced this issue Feb 10, 2022
* [wasm] Workaround emscripten bug

Fix #64724 and
#64725

* Re-enable failing tests

* Revert "Re-enable failing tests"

This reverts commit 52b270d.
radekdoulik added a commit to radekdoulik/runtime that referenced this issue Feb 14, 2022
Fix dotnet#64724 and dotnet#64725

The tests were crashing because calling the memalign function, which was
not exported.
@lewing lewing added this to the 7.0.0 milestone Feb 14, 2022
lewing pushed a commit that referenced this issue Feb 14, 2022
* [wasm] Add memalign to exported functions

Fix #64724 and #64725

The tests were crashing because calling the memalign function, which was
not exported.

* Re-enable failing tests
@radical
Copy link
Member Author

radical commented Feb 18, 2022

This started with the 2.0.34 bump, which has been rolled back now.

@radical radical closed this as completed Feb 18, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono
Projects
None yet
Development

No branches or pull requests

3 participants