Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
F# Interactive for F# 3.1 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License
For help type #help;;
>
>
[BuildingCard {color = Blue;
number = 1;}; BuildingCard {color = Red;
number = 1;};
BuildingCard {color = Yellow;
number = 1;}; BuildingCard {color = Blue;
number = 2;};
BuildingCard {color = Red;
number = 2;}; BuildingCard {color = Yellow;
number = 2;};
BuildingCard {color = Blue;
number = 3;}; BuildingCard {color = Red;
number = 3;};
BuildingCard {color = Yellow;
number = 3;}]
* Assertion at mini-exceptions.c:540, condition `class' not met
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Diagnostics.StackTrace.get_trace (System.Exception,int,bool) <0xffffffff>
at System.Diagnostics.StackTrace..ctor (System.Exception,int,bool,bool) <0x00045>
at System.Exception.get_StackTrace () <0x00181>
at System.Exception.ToString () <0x0010b>
at Microsoft.FSharp.Compiler.Interactive.Shell/clo@883-37.Invoke (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, Microsoft.FSharp.Core.FSharpOption`1<System.Exception>>) <0x000a9>
at Microsoft.FSharp.Primitives.Basics.List.iter<T> (Microsoft.FSharp.Core.FSharpFunc`2<T, Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Collections.FSharpList`1<T>) <0x00038>
at Microsoft.FSharp.Collections.ListModule.Iterate<T> (Microsoft.FSharp.Core.FSharpFunc`2<T, Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Collections.FSharpList`1<T>) <0x00027>
at Microsoft.FSharp.Compiler.Interactive.Shell.arg10@882 (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompiler,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, Microsoft.FSharp.Core.FSharpOption`1<System.Exception>>>,Microsoft.FSharp.Core.Unit) <0x00057>
at Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompiler.ProcessInputs (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.Ast/ParsedInput>,bool,bool,bool,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.Ast/Ident>) <0x006e7>
at Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompiler.EvalParsedDefinitions (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,bool,bool,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.Ast/SynModuleDecl>) <0x001d7>
at Microsoft.FSharp.Compiler.Interactive.Shell/clo@1590-45.Invoke (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) <0x0136f>
at Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.InteractiveCatch<a> (Microsoft.FSharp.Core.FSharpFunc`2<a, System.Tuple`2<a, Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionStepStatus>>,a) <0x00039>
at Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.ExecInteraction (bool,Microsoft.FSharp.Compiler.Build/TcConfig,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,Microsoft.FSharp.Compiler.Ast/ParsedFsiInteraction) <0x00067>
at Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.ExecInteractions (bool,Microsoft.FSharp.Compiler.Build/TcConfig,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Compiler.Ast/ParsedFsiInteraction>) <0x005f3>
at Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.MainThreadProcessParsedInteraction (bool,Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Compiler.Ast/ParsedFsiInteraction>,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) <0x00133>
at Microsoft.FSharp.Compiler.Interactive.Shell/res@1782.Invoke (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) <0x00033>
at Microsoft.FSharp.Compiler.Interactive.Shell/runCodeOnMainThread@2021-2.Invoke (Microsoft.FSharp.Core.Unit) <0x0003b>
at <StartupCode$FSharp-Compiler-Interactive-Settings>.$Fsiaux/Microsoft-FSharp-Compiler-Interactive-IEventLoop-Invoke@47.Invoke (Microsoft.FSharp.Core.Unit) <0x0001a>
at <StartupCode$FSharp-Compiler-Interactive-Settings>.$Fsiaux/run@38-4.Invoke (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, object>) <0x00039>
at Microsoft.FSharp.Primitives.Basics.List.iter<T> (Microsoft.FSharp.Core.FSharpFunc`2<T, Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Collections.FSharpList`1<T>) <0x00038>
at Microsoft.FSharp.Collections.ListModule.Iterate<T> (Microsoft.FSharp.Core.FSharpFunc`2<T, Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Collections.FSharpList`1<T>) <0x00027>
at <StartupCode$FSharp-Compiler-Interactive-Settings>.$Fsiaux.run@35 (Microsoft.FSharp.Compiler.Interactive.SimpleEventLoop,Microsoft.FSharp.Core.Unit) <0x000cb>
at Microsoft.FSharp.Compiler.Interactive.SimpleEventLoop.Microsoft-FSharp-Compiler-Interactive-IEventLoop-Run () <0x0001f>
at Microsoft.FSharp.Compiler.Interactive.Shell.runLoop@2066 (Microsoft.FSharp.Compiler.Interactive.Shell/FsiConsoleOutput,Microsoft.FSharp.Core.Unit) <0x00205>
at Microsoft.FSharp.Compiler.Interactive.Shell.DriveFsiEventLoop (Microsoft.FSharp.Compiler.Interactive.Shell/FsiConsoleOutput) <0x0001b>
at Microsoft.FSharp.Compiler.Interactive.Shell/FsiEvaluationSession.Run () <0x00bd7>
at Microsoft.FSharp.Compiler.Interactive.Shell.evaluateSession@2382 (string[],Microsoft.FSharp.Core.Unit) <0x0009b>
at Microsoft.FSharp.Compiler.Interactive.Shell.MainMain (string[]) <0x00127>
at Microsoft.FSharp.Compiler.Interactive.Main.FsiMain (string[]) <0x00013>
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
0 mono 0x00153956 mono_handle_native_sigsegv + 342
1 mono 0x001a3fa1 sigabrt_signal_handler + 129
2 libsystem_platform.dylib 0x97a0803b _sigtramp + 43
3 ??? 0xffffffff 0x0 + 4294967295
4 libsystem_c.dylib 0x91f3deee abort + 156
5 mono 0x002f38e1 monoeg_log_default_handler + 129
6 mono 0x002f39db monoeg_assertion_message + 107
7 mono 0x00154716 get_generic_context_from_stack_frame + 198
8 mono 0x00150488 get_method_from_stack_frame + 72
9 mono 0x001507b9 ves_icall_get_trace + 281
10 ??? 0x051f2658 0x0 + 85927512
11 mscorlib.dll.dylib 0x018e0026 System_Diagnostics_StackTrace__ctor_System_Exception_int_bool_bool + 70
12 mscorlib.dll.dylib 0x01a9a6b2 System_Exception_get_StackTrace + 386
13 mscorlib.dll.dylib 0x01a9ab2c System_Exception_ToString + 268
14 ??? 0x04b0b2da 0x0 + 78688986
15 ??? 0x032d2c59 0x0 + 53292121
16 ??? 0x032d2c10 0x0 + 53292048
17 ??? 0x04b0b220 0x0 + 78688800
18 ??? 0x04889ef0 0x0 + 76062448
19 ??? 0x048878e0 0x0 + 76052704
20 ??? 0x04c23b68 0x0 + 79838056
21 ??? 0x04887512 0x0 + 76051730
22 ??? 0x04c22750 0x0 + 79832912
23 ??? 0x04c2244c 0x0 + 79832140
24 ??? 0x04c21a8c 0x0 + 79829644
25 ??? 0x04c21944 0x0 + 79829316
26 ??? 0x04c2190c 0x0 + 79829260
27 ??? 0x04c218cb 0x0 + 79829195
28 ??? 0x04c217ca 0x0 + 79828938
29 ??? 0x032d2c59 0x0 + 53292121
30 ??? 0x032d2c10 0x0 + 53292048
31 ??? 0x04b97c64 0x0 + 79264868
32 ??? 0x04b97b80 0x0 + 79264640
33 ??? 0x04b97766 0x0 + 79263590
34 ??? 0x04b9754c 0x0 + 79263052
35 ??? 0x048870c8 0x0 + 76050632
36 ??? 0x00570764 0x0 + 5703524
37 ??? 0x00570078 0x0 + 5701752
38 ??? 0x0056fe24 0x0 + 5701156
39 ??? 0x0056feff 0x0 + 5701375
40 mono 0x000a2c5f mono_jit_runtime_invoke + 751
41 mono 0x0026525f mono_runtime_invoke + 127
42 mono 0x0026b2e1 mono_runtime_exec_main + 401
43 mono 0x0026b084 mono_runtime_run_main + 660
44 mono 0x0011d67d mono_jit_exec + 93
45 mono 0x0011f950 mono_main + 7904
46 mono 0x00094fd0 main + 768
47 mono 0x00094cc5 start + 53
Debug info from gdb:
(lldb) command source -s 1 '/tmp/mono-gdb-commands.cgXxfL'
warning: (i386) /Library/Frameworks/Mono.framework/Versions/4.0.2/lib/mono/4.5/mscorlib.dll.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Process 85032 detached
(lldb)
Session termination detected. Press Enter to restart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.