Skip to content

[Wasm][AOT] mono-aot-cross crash when building with a specific assembly #46746

@jeromelaban

Description

@jeromelaban

Description

Given this package, under Linux, run the following command:

cd the-uncompressed-package
MONO_PATH=./aot-in:./linker-out ./dotnet-runtime-wasm-acced89-23262-Release/runtimes/browser-wasm/native/cross/mono-aot-cross \
--debug  \
--aot=dedup-skip,llvmonly,asmonly,no-opt,static,direct-icalls,deterministic,llvm-path="CHANGEME/emsdk-2.0.11/emsdk/upstream/bin",profile="aot-filtered.profile",profile-only,interp,,depfile=./linker-out/Uno.UI.Lottie.dll.depfile,llvm-outfile=./Uno.UI.Lottie.dll.bc.tmp ./linker-out/Uno.UI.Lottie.dll

The execution fails with :

Mono Ahead of Time compiler - compiling assembly /mnt/c/Temp/aot-crash-repro/workAot/linker-out/Uno.UI.Lottie.dll
Using profile data file 'aot-filtered.profile'
Added 38 methods from profile.
Segmentation fault (core dumped)

Configuration

73bce55

Regression?

no

Other information

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions