[Mono-bugs] [Bug 80389][Wis] New - Tracing causes immediate abort on Intel Macs

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 28 20:13:53 EST 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rob at bing.com.


--- shadow/80389	2006-12-28 20:13:53.000000000 -0500
+++ shadow/80389.tmp.9410	2006-12-28 20:13:53.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 80389
+Product: Mono: Runtime
+Version: 1.2
+OS: other
+OS Details: Mac OS X 10.4.8 (Intel)
+Status: NEW   
+Priority: Wishlist
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: rob at bing.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Tracing causes immediate abort on Intel Macs
+Attempting to use the --trace option on mono results in the following error message:
+** ERROR **: unaligned stack detected (0xbffff778)
+It appears to be because mono_trace_enter_method() in mono/mini/trace.c is expecting the stack 
+frame to be 16 byte aligned (the value of MONO_ARCH_FRAME_ALIGNMENT for Intel builds with 
+Apple's version of GCC) but this appears never to be the case.
+I experimented with checking for 4 byte alignment here and tracing started working fine.
+I don't feel I understand the meaning of MONO_ARCH_FRAME_ALIGNMENT well enough to suggest a 
+fix or create a patch.

More information about the mono-bugs mailing list