See https://aka.ms/dotnet-discord in the #monovm channel for our primary community location.
Could anyone tell what is wrong?
EntryPointNotFoundException: SystemNative_LChflagsCanSetHiddenFlag
at Interop+Sys..cctor () [0x00000] in <2340fc16524a4335b1ffb55cb251f8d6>:0
Rethrow as TypeInitializationException: The type initializer for 'Sys' threw an exception.
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <2340fc16524a4335b1ffb55cb251f8d6>:0
mscorlib.dll is AOTed, other managed code interpreted, iOS
I recently created a pull request but see some failures in the CI Pipeline. I am not able to really tell what the failures are. Can someone help me understand them.
My pull request: mono/mono#21120
Among the falures that are "required", these are what i see:
-- Linux AArch64 Coop Suspend — Build finished. 206257 tests run, 1200 skipped, 1 failed.
-- Linux i386 — Build finished. No test results found.
-- Windows x64 FullAOT — Build finished. 21065 tests run, 545 skipped, 1 failed.
-- mono-ci (Linux x64 FullAOT) Failing after 36m — Linux x64 FullAOT failed
I am trying to get to the root cause of why the failures happened, but i am not yet familiar with the logs. The errors don't seem to related to my changes, but while i am looking deeper, i just wanted to know if its an option to rerun these tests?
Could anyone tell what is wrong?
EntryPointNotFoundException: SystemNative_LChflagsCanSetHiddenFlag at Interop+Sys..cctor () [0x00000] in <2340fc16524a4335b1ffb55cb251f8d6>:0 Rethrow as TypeInitializationException: The type initializer for 'Sys' threw an exception. at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <2340fc16524a4335b1ffb55cb251f8d6>:0
mscorlib.dll is AOTed, other managed code interpreted, iOS
Linked with libmono-native-unified.a
, but issue exists still
Hello,
I am trying to compile mono-boehm (6.12) for full-aot cross-compilation.
I have ran into one issue which involves generating offsets using the offsets-tool.
The offsets tool only generates header for SGEN, and when I do not supply cross-offsets file within the CLI - compilation stops with errors like so: abi.c:36:2: error: ‘MONO_ALIGN_value_gint8’ undeclared here (not in a function); did you mean ‘MONO_ALIGN_gint8’
.
Is the offsets file required for boehm cross-compiler?
If it is, then how am I supposed to generate it?
Hello,
I'm running a C# application using Gtk#2 on a CentOS 7.9 environment which uses gnome as a window manager.
Sometimes, mono crashes with the following stacktrace:
lun. nov. 22 08:12:30 UTC 2021 [xcb] Unknown sequence number while processing queue
lun. nov. 22 08:12:30 UTC 2021 [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
lun. nov. 22 08:12:30 UTC 2021 [xcb] Aborting, sorry about that.
lun. nov. 22 08:12:30 UTC 2021 mono: xcb_io.c:263: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
lun. nov. 22 08:12:30 UTC 2021
lun. nov. 22 08:12:30 UTC 2021 =================================================================
lun. nov. 22 08:12:30 UTC 2021 Native Crash Reporting
lun. nov. 22 08:12:30 UTC 2021 =================================================================
lun. nov. 22 08:12:30 UTC 2021 Got a SIGABRT while executing native code. This usually indicates
lun. nov. 22 08:12:30 UTC 2021 a fatal error in the mono runtime or one of the native libraries
lun. nov. 22 08:12:30 UTC 2021 used by your application.
lun. nov. 22 08:12:30 UTC 2021 =================================================================
lun. nov. 22 08:12:30 UTC 2021
lun. nov. 22 08:12:30 UTC 2021 =================================================================
lun. nov. 22 08:12:30 UTC 2021 Native stacktrace:
lun. nov. 22 08:12:30 UTC 2021 =================================================================
lun. nov. 22 08:12:30 UTC 2021 0x6cbaab - mono :
lun. nov. 22 08:12:30 UTC 2021 0x6cbe19 - mono :
lun. nov. 22 08:12:30 UTC 2021 0x6555bf - mono :
lun. nov. 22 08:12:30 UTC 2021 0x6cb0cf - mono :
lun. nov. 22 08:12:30 UTC 2021 0x7fd332d42630 - /usr/lib64/libpthread.so.0 :
lun. nov. 22 08:12:30 UTC 2021 0x7fd33217b3d7 - /usr/lib64/libc.so.6 : gsignal
lun. nov. 22 08:12:30 UTC 2021 0x7fd33217cac8 - /usr/lib64/libc.so.6 : abort
lun. nov. 22 08:12:30 UTC 2021 0x7fd3321741a6 - /usr/lib64/libc.so.6 :
lun. nov. 22 08:12:30 UTC 2021 0x7fd332174252 - /usr/lib64/libc.so.6 :
lun. nov. 22 08:12:30 UTC 2021 0x7fd31bd0485a - /usr/lib64/libX11.so.6 :
lun. nov. 22 08:12:30 UTC 2021 0x7fd31bd0490c - /usr/lib64/libX11.so.6 :
lun. nov. 22 08:12:30 UTC 2021 0x7fd31bd04bfd - /usr/lib64/libX11.so.6 : _XEventsQueued
lun. nov. 22 08:12:30 UTC 2021 0x7fd31bcf66dd - /usr/lib64/libX11.so.6 : XPending
lun. nov. 22 08:12:30 UTC 2021 0x7fd32289be3c - /usr/lib64/libgdk-x11-2.0.so.0 :
lun. nov. 22 08:12:30 UTC 2021 0x7fd320686e09 - /usr/lib64/libglib-2.0.so.0 : g_main_context_check
lun. nov. 22 08:12:30 UTC 2021 0x7fd320687300 - /usr/lib64/libglib-2.0.so.0 :
lun. nov. 22 08:12:30 UTC 2021 0x7fd3206874ac - /usr/lib64/libglib-2.0.so.0 : g_main_context_iteration
lun. nov. 22 08:12:30 UTC 2021 0x7fd31845326d - /usr/lib64/libgtk-x11-2.0.so.0 : gtk_main_iteration_do
Does anybody have an idea on what causes this crash of mono. It is mono v6.12.0.107.
Thanks bunch