[Mono-bugs] [Bug 682757] New: Exception: Attempting to JIT compile method System.Linq.Enumerable/PredicateOf
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Mar 25 15:13:26 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=682757
https://bugzilla.novell.com/show_bug.cgi?id=682757#c0
Summary: Exception: Attempting to JIT compile method
System.Linq.Enumerable/PredicateOf
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Runtime
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: fak at kruegersystems.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
This code breaks AOT:
var boxes = new List<RectangleF> ();
var inter = boxes.GetIntersections (box).FirstOrDefault ();
public static IEnumerable<RectangleF> GetIntersections (this
IEnumerable<RectangleF> boxes, RectangleF box) {
foreach (var b in boxes) {
if (b.IntersectsWith (box)) {
yield return b;
}
}
}
System.TypeInitializationException: An exception was thrown by the type
initializer for PredicateOf`1 ---> System.ExecutionEngineException: Attempting
to JIT compile method
'System.Linq.Enumerable/PredicateOf`1<System.Drawing.RectangleF>:.cctor ()'
while running with --aot-only.
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: --- End
of inner exception stack trace ---
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: Error
connecting stdout and stderr (192.168.1.209:10001)
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: *
Assertion: should not be reached at ../../../../mono/mini/mini.c:2629
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: Stacktrace:
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: Native
stacktrace:
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 0
CircuitTouch 0x00720a40 mono_handle_native_sigsegv + 412
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 1
CircuitTouch 0x0074b928 sigabrt_signal_handler + 148
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 2
libSystem.B.dylib 0x311dcddf _sigtramp + 42
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 3
libSystem.B.dylib 0x311de2cb kill + 10
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 4
libSystem.B.dylib 0x311de2bd raise + 16
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 5
libSystem.B.dylib 0x311f2d79 abort + 56
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 6
CircuitTouch 0x0088466c monoeg_g_logv + 248
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 7
CircuitTouch 0x00884700 monoeg_assertion_message + 44
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 8
CircuitTouch 0x006f6e10 mono_thread_abort + 108
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 9
CircuitTouch 0x0071f464 mono_handle_exception_internal +
2436
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 10
CircuitTouch 0x007200dc mono_handle_exception + 108
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 11
CircuitTouch 0x0074939c mono_arm_throw_exception + 324
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 12
CircuitTouch 0x0054e3d4 throw_exception + 48
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 13
CircuitTouch 0x007fc370 mono_runtime_class_init_full +
3392
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 14
CircuitTouch 0x007fb628 mono_runtime_class_init + 28
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 15
CircuitTouch 0x006f8194 mono_resolve_patch_target + 1804
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 16
CircuitTouch 0x00715214 load_method + 1764
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 17
CircuitTouch 0x00716a94 mono_aot_get_method + 2624
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 18
CircuitTouch 0x006f92d8 mono_jit_compile_method_inner +
108
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 19
CircuitTouch 0x006fa584 mono_jit_compile_method_with_opt
+ 612
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 20
CircuitTouch 0x006fa798 mono_jit_compile_method + 52
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 21
CircuitTouch 0x00717028 mono_aot_plt_resolve + 316
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 22
CircuitTouch 0x00723108 mono_aot_plt_trampoline + 92
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 23
CircuitTouch 0x0054dde8 generic_trampoline_aot_plt + 136
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 24
CircuitTouch 0x0028e840
Circuit_Scope_Draw_CrossGraphics_IGraphics_System_Drawing_RectangleF + 11532
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 25
CircuitTouch 0x0063aac4
Circuit_Touch_ScopeView_Draw_System_Drawing_RectangleF + 396
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 26
CircuitTouch 0x0051a670
wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
+ 200
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 27
CircuitTouch 0x006fb8bc mono_jit_runtime_invoke + 2800
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 28
CircuitTouch 0x00803014 mono_runtime_invoke + 140
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 29
CircuitTouch 0x008ab7f0 monotouch_trampoline + 2840
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 30
UIKit 0x338b12d9 -[UIView(CALayerDelegate)
drawLayer:inContext:] + 264
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 31
QuartzCore 0x30a72305 -[CALayer drawInContext:] + 92
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 32
QuartzCore 0x30a72083
_ZL16backing_callbackP9CGContextPv + 38
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 33
QuartzCore 0x30a71af9 CABackingStoreUpdate + 1232
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 34
QuartzCore 0x30a71363 -[CALayer _display] + 730
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 35
QuartzCore 0x30a71071 -[CALayer display] + 140
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 36
QuartzCore 0x30a70fb7 CALayerDisplayIfNeeded + 182
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 37
QuartzCore 0x30a66575
_ZN2CA7Context18commit_transactionEPNS_11TransactionE + 220
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 38
QuartzCore 0x30a66383 _ZN2CA11Transaction6commitEv +
190
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 39
QuartzCore 0x30a89f9d
_ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 52
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 40
CoreFoundation 0x31460c59
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 41
CoreFoundation 0x31460acd __CFRunLoopDoObservers + 412
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 42
CoreFoundation 0x314580cb __CFRunLoopRun + 854
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 43
CoreFoundation 0x31457c87 CFRunLoopRunSpecific + 230
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 44
CoreFoundation 0x31457b8f CFRunLoopRunInMode + 58
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 45
GraphicsServices 0x35d664ab GSEventRunModal + 114
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 46
GraphicsServices 0x35d66557 GSEventRun + 62
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 47
UIKit 0x338d5329 -[UIApplication _run] + 412
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 48
UIKit 0x338d2e93 UIApplicationMain + 670
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 49
CircuitTouch 0x000ad56c
wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr
+ 240
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 50
CircuitTouch 0x0006ce28
MonoTouch_UIKit_UIApplication_Main_string__ + 36
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 51
CircuitTouch 0x005acd00
Circuit_Touch_Application_Main_string__ + 128
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 52
CircuitTouch 0x0051a670
wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
+ 200
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 53
CircuitTouch 0x006fb8bc mono_jit_runtime_invoke + 2800
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 54
CircuitTouch 0x00803014 mono_runtime_invoke + 140
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 55
CircuitTouch 0x008060ac mono_runtime_exec_main + 784
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 56
CircuitTouch 0x008050dc mono_runtime_run_main + 1048
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 57
CircuitTouch 0x00706838 mono_jit_exec + 216
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 58
CircuitTouch 0x006f1d20 main + 3480
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: 59
CircuitTouch 0x000030ac start + 40
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: Debug info
from gdb:
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>:
=================================================================
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: Got a
SIGABRT while executing native code. This usually indicates
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: a fatal
error in the mono runtime or one of the native libraries
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>: used by
your application.
Fri Mar 25 12:06:35 unknown
UIKitApplication:com.kruegersystems.circuit[0xda1a][1722] <Notice>:
=================================================================
Fri Mar 25 12:06:36 unknown sandboxd[1729] <Notice>: CircuitTouch(1722) deny
process-fork
Fri Mar 25 12:06:37 unknown ReportCrash[1730] <Notice>: Formulating crash
report for process CircuitTouch[1722]
Fri Mar 25 12:06:37 unknown com.apple.launchd[1] <Warning>:
(UIKitApplication:com.kruegersystems.circuit[0xda1a]) Job appears to have
crashed: Abort trap
Fri Mar 25 12:06:37 unknown SpringBoard[28] <Warning>: Application 'iCircuit'
exited abnormally with signal 6: Abort trap
Fri Mar 25 12:06:37 unknown ReportCrash[1730] <Error>: Saved crashreport to
/var/mobile/Library/Logs/CrashReporter/CircuitTouch_2011-03-25-120636_Precious-IV.plist
using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list