Trying to migrate from Ubuntu Budgie to Solus Budgie, but can't seem to get vscode to work with the c# extension. Omnisharp.exe with mono keeps crashing on launch seemingly without any clue as to why.
Starting OmniSharp server at 5/13/2020, 9:33:49 AM
Target: /home/foxium/Repos/test
OmniSharp server started with Mono 6.8.0.
Path: /home/foxium/.vscode/extensions/ms-dotnettools.csharp-1.21.18/.omnisharp/1.35.1/omnisharp/OmniSharp.exe
PID: 5138
=================================================================
Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Native stacktrace:
=================================================================
0x4a90c5 - mono : (null)
0x4a945c - mono : (null)
0x457d75 - mono : (null)
0x4a2dc1 - mono : (null)
0x7f006ca33c80 - /usr/lib/libc.so.6 : (null)
0x7f0040000080 - Unknown
=================================================================
Telemetry Dumper:
=================================================================
Pkilling 0x7f006d3fe700 from 0x7f007da8b780
Pkilling 0x7f006dd7a700 from 0x7f007da8b780
Pkilling 0x7f006df7f700 from 0x7f007da8b780
Pkilling 0x7f006d5ff700 from 0x7f007da8b780
Pkilling 0x7f006e790700 from 0x7f007da8b780
Pkilling 0x7f006d970700 from 0x7f007da8b780
Pkilling 0x7f006e184700 from 0x7f007da8b780
Pkilling 0x7f006db75700 from 0x7f007da8b780
Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)
Entering thread summarizer pause from 0x7f007da8b780
Finished thread summarizer pause from 0x7f007da8b780.
Waiting for dumping threads to resume
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on solus 4.1 (x64)
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
=================================================================
External Debugger Dump:
=================================================================
[New LWP 5139]
[New LWP 5140]
[New LWP 5141]
[New LWP 5142]
[New LWP 5143]
[New LWP 5144]
[New LWP 5145]
[New LWP 5146]
[New LWP 5147]
warning: File "/usr/bin/mono-sgen-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /usr/bin/mono-sgen-gdb.py
line to your configuration file "/home/foxium/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/foxium/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: File "/usr/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: File "/usr/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
0x00007f007db74abf in wait4 () from /usr/lib/haswell/libc.so.6
Id Target Id Frame
* 1 LWP 5138 "mono" 0x00007f007db74abf in wait4 () from /usr/lib/haswell/libc.so.6
2 LWP 5139 "SGen worker" 0x00007f007dcaa286 in pthread_cond_wait () from /usr/lib/libpthread.so.0
3 LWP 5140 "Finalizer" 0x00007f007dcad1d4 in ?? () from /usr/lib/libpthread.so.0
4 LWP 5141 "mono" 0x00007f007dcaa6c1 in pthread_cond_timedwait () from /usr/lib/libpthread.so.0
5 LWP 5142 "Thread Pool Wor" 0x00007f007dcad3f8 in ?? () from /usr/lib/libpthread.so.0
6 LWP 5143 "Thread Pool Wor" 0x00007f007dcad3f8 in ?? () from /usr/lib/libpthread.so.0
7 LWP 5144 "Thread Pool Wor" 0x00007f007dcad3f8 in ?? () from /usr/lib/libpthread.so.0
8 LWP 5145 "Thread Pool Wor" 0x00007f007dcad3f8 in ?? () from /usr/lib/libpthread.so.0
9 LWP 5146 "Timer-Scheduler" 0x00007f007dcaa6c1 in pthread_cond_timedwait () from /usr/lib/libpthread.so.0
10 LWP 5147 "ProcessWriteQue" 0x00007f007dcaa286 in pthread_cond_wait () from /usr/lib/libpthread.so.0
Thread 10 (LWP 5147):
#0 0x00007f007dcaa286 in pthread_cond_wait () from /usr/lib/libpthread.so.0
#1 0x0000000000701d20 in ?? ()
#2 0x0000000000664843 in ?? ()
#3 0x0000000000665e52 in ?? ()
#4 0x000000000069ed5e in ?? ()
#5 0x00000000005d5e4d in ?? ()
#6 0x0000000041d720e3 in ?? ()
#7 0x00007f0070449d18 in ?? ()
#8 0xffffffffffffffff in ?? ()
#9 0x00007f0070449c48 in ?? ()
#10 0xffffffffffffffff in ?? ()
#11 0x00007f0070449c48 in ?? ()
#12 0x00007f0048002820 in ?? ()
#13 0x00007f006d3fd5f0 in ?? ()
#14 0x00007f006d3fd4d0 in ?? ()
#15 0x0000000000000000 in ?? ()
Thread 9 (LWP 5146):
#0 0x00007f007dcaa6c1 in pthread_cond_timedwait () from /usr/lib/libpthread.so.0
#1 0x0000000000701cca in ?? ()
#2 0x0000000000664843 in ?? ()
#3 0x0000000000665ec3 in ?? ()
#4 0x0000000000666710 in ?? ()
#5 0x0000000000645452 in ?? ()
#6 0x00000000005d8318 in ?? ()
#7 0x0000000041d6d1e4 in ?? ()
#8 0x00007f007043c5b0 in ?? ()
#9 0x00007f007043c510 in ?? ()
#10 0x0000000000000000 in ?? ()
Thread 8 (LWP 5145):
#0 0x00007f007dcad3f8 in ?? () from /usr/lib/libpthread.so.0
#1 0x00007f007dcad523 in ?? () from /usr/lib/libpthread.so.0
#2 0x00000000006aac03 in ?? ()
#3 0x0000000000647f96 in ?? ()
#4 0x00007f007dca3606 in ?? () from /usr/lib/libpthread.so.0
#5 0x00007f007dbb0753 in clone () from /usr/lib/haswell/libc.so.6
Thread 7 (LWP 5144):
#0 0x00007f007dcad3f8 in ?? () from /usr/lib/libpthread.so.0
#1 0x00007f007dcad523 in ?? () from /usr/lib/libpthread.so.0
#2 0x00000000006aac03 in ?? ()
#3 0x0000000000647f96 in ?? ()
#4 0x00007f007dca3606 in ?? () from /usr/lib/libpthread.so.0
#5 0x00007f007dbb0753 in clone () from /usr/lib/haswell/libc.so.6
Thread 6 (LWP 5143):
#0 0x00007f007dcad3f8 in ?? () from /usr/lib/libpthread.so.0
#1 0x00007f007dcad523 in ?? () from /usr/lib/libpthread.so.0
#2 0x00000000006aac03 in ?? ()
#3 0x0000000000647f96 in ?? ()
#4 0x00007f007dca3606 in ?? () from /usr/lib/libpthread.so.0
#5 0x00007f007dbb0753 in clone () from /usr/lib/haswell/libc.so.6
Thread 5 (LWP 5142):
#0 0x00007f007dcad3f8 in ?? () from /usr/lib/libpthread.so.0
#1 0x00007f007dcad523 in ?? () from /usr/lib/libpthread.so.0
#2 0x00000000006aac03 in ?? ()
#3 0x0000000000647f96 in ?? ()
#4 0x00007f007dca3606 in ?? () from /usr/lib/libpthread.so.0
#5 0x00007f007dbb0753 in clone () from /usr/lib/haswell/libc.so.6
Thread 4 (LWP 5141):
#0 0x00007f007dcaa6c1 in pthread_cond_timedwait () from /usr/lib/libpthread.so.0
#1 0x0000000000701cca in ?? ()
#2 0x000000000070ce25 in ?? ()
#3 0x00000000006ab823 in ?? ()
#4 0x0000000000647f96 in ?? ()
#5 0x00007f007dca3606 in ?? () from /usr/lib/libpthread.so.0
#6 0x00007f007dbb0753 in clone () from /usr/lib/haswell/libc.so.6
Thread 3 (LWP 5140):
#0 0x00007f007dcad1d4 in ?? () from /usr/lib/libpthread.so.0
#1 0x00007f007dcad2c8 in ?? () from /usr/lib/libpthread.so.0
#2 0x000000000069aa3a in ?? ()
#3 0x0000000000647f96 in ?? ()
#4 0x00007f007dca3606 in ?? () from /usr/lib/libpthread.so.0
#5 0x00007f007dbb0753 in clone () from /usr/lib/haswell/libc.so.6
Thread 2 (LWP 5139):
#0 0x00007f007dcaa286 in pthread_cond_wait () from /usr/lib/libpthread.so.0
#1 0x00000000006f4636 in ?? ()
#2 0x00007f007dca3606 in ?? () from /usr/lib/libpthread.so.0
#3 0x00007f007dbb0753 in clone () from /usr/lib/haswell/libc.so.6
Thread 1 (LWP 5138):
#0 0x00007f007db74abf in wait4 () from /usr/lib/haswell/libc.so.6
#1 0x00000000004a92cf in ?? ()
#2 0x00000000004a945c in ?? ()
#3 0x0000000000457d75 in ?? ()
#4 0x00000000004a2dc1 in ?? ()
#5 0x00007f006ca33c80 in ?? () from /usr/lib/libc.so.6
#6 0x00007f0040000080 in ?? ()
#7 0x0000000002faf960 in ?? ()
#8 0x0000000002fb0970 in ?? ()
#9 0x00000000026e74f0 in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x00007f006ca33c80 in ?? () from /usr/lib/libc.so.6
#12 0x000000000070fdf4 in mono_threads_enter_gc_safe_region_unbalanced ()
#13 0x0000000000002000 in ?? ()
#14 0x0000000000000000 in ?? ()
[Inferior 1 (process 5138) detached]
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7f006ca33c80):0x7f006ca33c70 48 8d 3d 69 09 12 00 e8 64 e3 ff ff 0f 1f 40 00 H.=i....d.....@.
0x7f006ca33c80 48 8b 50 08 48 83 e2 f8 48 01 d0 49 39 c5 0f 82 H.P.H...H..I9...
0x7f006ca33c90 4d fa ff ff 48 8d 3d 65 09 12 00 e8 40 e3 ff ff M...H.=e....@...
0x7f006ca33ca0 48 8d 3d 79 09 12 00 e8 34 e3 ff ff 0f 1f 40 00 H.=y....4.....@.
=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at OmniSharp.Utilities.PlatformHelper:Unix_free <0x0008f>
at OmniSharp.Utilities.PlatformHelper:RealPath <0x00047>
at OmniSharp.Utilities.PlatformHelper:GetMonoRuntimePath <0x0016f>
at OmniSharp.MSBuild.Discovery.Providers.MonoInstanceProvider:GetInstances <0x0006b>
at OmniSharp.MSBuild.Discovery.MSBuildLocator:GetInstances <0x000ca>
at OmniSharp.MSBuild.Discovery.Extensions:GetBestInstance <0x00066>
at OmniSharp.MSBuild.Discovery.Extensions:RegisterDefaultInstance <0x0003f>
at OmniSharp.CompositionHostBuilder:Build <0x001cf>
at OmniSharp.Stdio.Host:.ctor <0x0018f>
at <>c__DisplayClass0_1:<Main>b__1 <0x0053b>
at <>c__DisplayClass11_0:<OnExecute>b__0 <0x0003a>
at McMaster.Extensions.CommandLineUtils.CommandLineApplication:Execute <0x000b1>
at OmniSharp.CommandLineApplication:Execute <0x002d7>
at <>c__DisplayClass0_0:<Main>b__0 <0x0013f>
at OmniSharp.HostHelpers:Start <0x00082>
at OmniSharp.Stdio.Driver.Program:Main <0x000eb>
at <Module>:runtime_invoke_int_object <0x00085>
=================================================================
dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.1.104
Commit: 0cf4df563a
Runtime Environment:
OS Name: solus
OS Version: 4.1
OS Platform: Linux
RID: linux-x64
Base Path: /opt/dotnet/sdk/3.1.104/
Host (useful for support):
Version: 3.1.4
Commit: 0c2e69caa6
.NET Core SDKs installed:
3.1.104 [/opt/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.4 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.4 [/opt/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
code-oss --version
1.44.2
ff915844119ce9485abfe8aa9076ec76b5300ddd
x64
Running mono Omnisharp.exe gives the same crash as above. The same setup works fine on Ubuntu Budgie.
Any help is much appreciated.