Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 07 2019 17:29
    @directhex banned @CharlieIsHere
  • Oct 11 2018 17:23
    @directhex banned @deleteaccount1234567890
dseshadri
@dseshadri

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?

zp
@zhuopeng-tan

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

@akoeplinger Could you share some insights?
zp
@zhuopeng-tan
Solved by adding -force_load $LIB/libmono-native-compat.a to Xcode "Build Settings"->"Other Linker Flags", 🤦
Romber
@Rombersoft
Hello everybody. I faced to such bad situations when thread which was started from Task.Run() after several seconds was aborted with unknown cause.
So I placed my issue here mono/mono#21145.
Please help me to understand what can I do in order to thread work without aborting
Shri Guru
@gshri67
hi..
when i try to run the embeddinator exe to convert the android dll..
i get below error of ikvm badimageformatexception
image.png
devizer
@devizer
MonoPosixHelper: Is there example how to obtain compressed attribute of existing file on HFS/BTRFS/etc?
https://github.com/mono/mono/blob/main/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs#L2763
ArsenShnurkov
@ArsenShnurkov
How to build roslyn? C# 9 specifically. Because mine csc shows 8.0 as highest available version (in mono-6.12.0.122)
ArsenShnurkov
@ArsenShnurkov
And I need C# 9 to compile NpgSql conenctor
ArsenShnurkov
@ArsenShnurkov
ArsenShnurkov
@ArsenShnurkov
Damian Korczowski
@Erdroy

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?

1 reply
0x1074
@0x1074
Zup
LiteWait
@LiteWait
I have inherited an old ASP.NET Webservices (non-WCF SOAP) application that is running on a very old mono-asp-net-server implementation on Linux. Wondering how difficult it will be migrate to the latest version of Mono or ASP.NET Core. There are only 20 or so endpoints.
Pierre-Louis Prevost
@plprevost

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

Ofir Green
@ogreenz
Any chance for a CppSharp room?
I'd love to be able to discuss his project with someone :)
this*
Alejandro Tortolero
@ajtortolero
Hello to all
Alejandro Tortolero
@ajtortolero

I have a Docker Image running into EC2 Instance. My Docker Image have installed mono project and when

My program is using Amazon.SDK and when I executing my program I get this error:

Exception: : Unable to get IAM security credentials from EC2 Instance Metadata Service.
Stack trace: at Amazon.Runtime.DefaultInstanceProfileAWSCredentials.FetchCredentials () [0x00013] in <b517d67c336446ca8d77abeb68bfc4a7>:0
at Amazon.Runtime.DefaultInstanceProfileAWSCredentials.GetCredentials () [0x00069] in <b517d67c336446ca8d77abeb68bfc4a7>:0
at Amazon.Runtime.DefaultInstanceProfileAWSCredentials.GetCredentialsAsync () [0x00000] in <b517d67c336446ca8d77abeb68bfc4a7>:0
at Amazon.Runtime.Internal.CredentialsRetriever.InvokeAsync[T] (Amazon.Runtime.IExecutionContext executionContext) [0x0005c] in <b517d67c336446ca8d77abeb68bfc4a7>:0
at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T] (Amazon.Runtime.IExecutionContext executionContext) [0x0013c] in <b517d67c336446ca8d77abeb68bfc4a7>:0
at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T] (Amazon.Runtime.IExecutionContext executionContext) [0x0021d] in <b517d67c336446ca8d77abeb68bfc4a7>:0
at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T] (Amazon.Runtime.IExecutionContext executionContext) [0x0007e] in <b517d67c336446ca8d77abeb68bfc4a7>:0
at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T] (Amazon.Runtime.IExecutionContext executionContext) [0x0007e] in <b517d67c336446ca8d77abeb68bfc4a7>:0
at Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeAsync[T] (Amazon.Runtime.IExecutionContext executionContext) [0x0008f] in <b517d67c336446ca8d77abeb68bfc4a7>:0
at Amazon.Runtime.Internal.MetricsHandler.InvokeAsync[T] (Amazon.Runtime.IExecutionContext executionContext) [0x000ab] in <b517d67c336446ca8d77abeb68bfc4a7>:0

I think this error is about to permissions from library mono to get MetaData EC2

Can anybaody help me?
ifeuille
@ifeuille

I use mono_set_dirs and mono_set_assemblies_path to set asm dir with "/data/user/0/com.test.test1/files/assets/bin/Data/Managed"

And i'm sure the mscorlib.dll is in the ‘Managed' folder.

But mono_assembly_load_corlib failed with error:
D/mono: Mono: Assembly Loader probing location: '/data/data/com.test.test1/files/assets/bin/Data/Managed/mscorlib.dll'.
D/mono: Mono: Assembly Loader probing location: '/data/data/com.test.test1/files/assets/bin/Data/Managed/mono/2.0/mscorlib.dll'.
D/mono: Mono: Assembly Loader probing location: '/data/data/com.test.test1/files/assets/bin/Data/Managed/mono/2.0/mscorlib.dll'.

Why "/data/user/0/com.test.test1/files/assets/bin/Data/Managed" become '/data/data/com.test.test1/files/assets/bin/Data/Managed"???

This is test on android platform
David Fernández
@dfernandezramos
Hi there! I am trying to debug a Mono issue and I was wondering if any of you could give me a hint with it. The issue is that my app is loading a library from a wrong path but I don't know which library is referencing this one in order to fix the dynamic linking. Is there a way to know which library depends on the actual wrong loaded library?
"Mono: DllImport attempting to load: '/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/../lib/libcairo.2.dylib'". All my libraries that depend on libcairo have the rpaths well configured at first sight. It would be very useful a message like "... referenced by foo.dylib"
copygirl
@copygirl
Running into a strange issue. I'm trying to help with an indie game targeting .NET 4.6.1 that runs on Linux with Mono. The released game runs fine. If I build it in debug configuration and run it using mono (version 6.12) it runs fine. But when I try to run it with the VS Code Mono Debug debugger, I get this exception: System.MissingMethodException: Method not found: int Mono.Unix.Native.Syscall.fcntl(int,Mono.Unix.Native.FcntlCommand,int)
1 reply
Andres G. Aragoneses
@knocte
I'd recommend posting this question in stackoverflow
@copygirl ^
russDevAcc
@russDevAcc
is it possible to sandbox mono?
Alexander Köplinger
@akoeplinger
nothing in mono is specifically made for sandboxing