[Mono-bugs] [Bug 69289][Maj] Changed - [PPC] Thunk problem with delegates

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 18 Nov 2004 18:03:38 -0500 (EST)

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 grompf@sublimeintervention.com.


--- shadow/69289	2004-11-11 12:14:05.000000000 -0500
+++ shadow/69289.tmp.17579	2004-11-18 18:03:38.000000000 -0500
@@ -40,6 +40,29 @@
 Ubuntu (Warty Warthog all latest updates applied)
 ------- Additional Comments From miguel@ximian.com  2004-11-11 12:14 -------
 Assigning to Paolo.
+------- Additional Comments From grompf@sublimeintervention.com  2004-11-18 18:03 -------
+I retested this on SVN today and got some more information;
+Some delegate marshalling will work (ie; mono gnome-hello-world.exe
+will launch; but crash with the same thunking error on exit);
+The place the failure is happening is:
+if (!((is_call_imm (thunks) && is_call_imm (endthunks)) ||
+(is_call_imm (difflow) && is_call_imm (diffhigh)))) {
+for the crashing delegates its always falling into here; the reason is
+difflow and diffhigh are obscenely large values (pdata->code is the
+I checked the ip getting set in the mono_add_patch_info and the
+culprit isn't there; so it must be the guint8* code in
+mono_arch_patch_code getting set incorrectly??