Closed vilinski closed 7 years ago
Hey, we are aware of this issue. It's due to bugs in the mono reflection runtime. On Tue, 17 Jan 2017 at 22:51, Andreas Vilinski notifications@github.com wrote:
MacOS Sierra Version: 10.12.2
mono --version Mono JIT compiler version 4.6.1 (mono-4.6.0-branch-c8sr0/abb06f1 Fri Sep 23 19:24:23 EDT 2016) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: normal SIGSEGV: altstack Notification: kqueue Architecture: x86 Disabled: none Misc: softdebug LLVM: yes(3.6.0svn-mono-master/8b1520c) GC: sgen
Steps to reproduce:
- clone the repo
- start VSCode with ionide
- send F# Tutorial with ThespianCluster.fsx line by line
- At hello world task it fails with following output in FSI:
`
let task =
-
cloud { return "Hello world!" }
-
|> cluster.CreateProcess
- ;; Binding session to '/Library/Frameworks/Mono.framework/Versions/4.6.1/lib/mono/4.5-api/Mono.Cecil.dll'... System.TypeInitializationException: The type initializer for 'Nessos.Vagabond.AssemblyParser.AssemblyParser' threw an exception. ---> Sys tem.TypeInitializationException: The type initializer for 'Mono.Cecil.Cil.OpCodes' threw an exception. at (wrapper managed-to-native) System.Reflection.MonoField:GetValueInternal (System.Reflection.MonoField,object) at System.Reflection.MonoField.GetValue (System.Object obj) [0x0006a] in :0 at Nessos.Vagabond.AssemblyParser.AssemblyParser+<>c.<.cctor>b__54_0 (System.Reflection.FieldInfo f) [0x00000] in <94c42bb284e34487ba86 e8899923f7af>:0 at System.Linq.Enumerable+WhereSelectArrayIterator2[TSource,TResult].MoveNext () [0x0004d] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Linq.Enumerable+
c__Iterator171[TResult].MoveNext () [0x00080] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Linq.Buffer1[TElement]..ctor (System.Collections.Generic.IEnumerable1[T] source) [0x00087] in <63992662b765477a898ef49cdcc9 9ee2>:0 at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00011] in <63992662b765477a898ef49cd cc99ee2>:0 at Nessos.Vagabond.AssemblyParser.AssemblyParser..cctor () [0x0002b] in <94c42bb284e34487ba86e8899923f7af>:0 --- End of inner exception stack trace --- at Nessos.Vagabond.AssemblyParser.parseDynamicAssemblySlice (Nessos.Vagabond.SliceCompilerTypes+AssemblyCompilerState state, System.Ref lection.Assembly assembly) [0x000e2] in <578e98fc6249b3e6a7450383fc988e57>:0 at Nessos.Vagabond.SliceCompiler.compileDynamicAssemblySlice (Nessos.Vagabond.SliceCompilerTypes+AssemblyCompilerState state, System.Re flection.Assembly dynamicAssembly) [0x00001] in <578e98fc6249b3e6a7450383fc988e57>:0 at Nessos.Vagabond.SliceCompiler.compileAssembly (Nessos.Vagabond.SliceCompilerTypes+AssemblyCompilerState state, System.Reflection.Ass embly assembly) [0x00040] in <578e98fc6249b3e6a7450383fc988e57>:0 at Nessos.Vagabond.SliceCompiler+compileAssemblies@134-1.Invoke (System.Reflection.Assembly assembly) [0x00036] in <578e98fc6249b3e6a74 50383fc988e57>:0 at Nessos.Vagabond.Utils.MailboxProcessor1.PostAndReply[Msg,R] (Microsoft.FSharp.Control.FSharpMailboxProcessor1[TMsg] m, Microsoft.F Sharp.Core.FSharpFunc2[T,TResult] msgB) [0x00058] in <578e98fc6249b3e6a7450383fc988e57>:0 ` — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mbraceproject/MBrace.StarterKit/issues/92, or mute the thread https://github.com/notifications/unsubscribe-auth/ACrts-e1mJofZ19zpI_I_T61JaI1tIXgks5rTUXjgaJpZM4LmQ6_ .
thx any chance to run mbrace on no-windows in near future?
It really depends on mono fixing their bugs. They've been reported for quite some time now, with many not being fixed yet. Please refer to the Vagabond repo for more information. On Wed, 18 Jan 2017 at 17:35, Andreas Vilinski notifications@github.com wrote:
thx any chance to run mbrace on no-windows in near future?
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mbraceproject/MBrace.StarterKit/issues/92#issuecomment-273508397, or mute the thread https://github.com/notifications/unsubscribe-auth/ACrtsxs3L9oy32Oe0J3RDfuGBeFG6mjjks5rTjElgaJpZM4LmQ6_ .
Closing as the lack of Mono support is a known issue
Steps to reproduce:
1-hello-world.fsx
it fails with following output in FSI: