[Mono-bugs] [Bug 78338][Maj] New - ppc handle_thunk assert
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon May 8 16:24:46 EDT 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 joe at otee.dk.
http://bugzilla.ximian.com/show_bug.cgi?id=78338
--- shadow/78338 2006-05-08 16:24:46.000000000 -0400
+++ shadow/78338.tmp.10531 2006-05-08 16:24:46.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 78338
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: JIT
+AssignedTo: lupus at ximian.com
+ReportedBy: joe at otee.dk
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: ppc handle_thunk assert
+
+I am getting a assert in handle_thunk on ppc.
+
+** ERROR **: file mini-ppc.c: line 2329 (handle_thunk): assertion failed: (pdata.found == 1)
+aborting...
+
+I tried different revisions and the checkin that caused the trouble was 59718 made by geoff
+norton.
+ * mini-ppc.c: Call mono_jit_thread_attach when transitioning a native
+ to managed wrapper.
+
+
+Removing the added code makes everything run ok again.
+
+
+This is the code that was changed:
+
+ if (method->wrapper_type == MONO_WRAPPER_NATIVE_TO_MANAGED) {
+ ppc_load (code, ppc_r3, cfg->domain);
+ mono_add_patch_info (cfg, code - cfg->native_code,
+MONO_PATCH_INFO_INTERNAL_METHOD, (gpointer)"mono_jit_thread_attach");
+ ppc_bl (code, 0);
+ }
More information about the mono-bugs
mailing list