[Mono-bugs] [Bug 462438] SIGSEGV while running tests/pinvoke2.exe on PowerPC
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Dec 31 13:13:41 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=462438
User munroesj at us.ibm.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=462438#c8
--- Comment #8 from Steven Munroe <munroesj at us.ibm.com> 2008-12-31 11:13:40 MST ---
Tried this patch suggested by Mark Probst:
Index: mini/mini.c
===================================================================
--- mini/mini.c (revision 122130)
+++ mini/mini.c (working copy)
-1627,7 +1627,7 @@
/* inst->backend.is_pinvoke indicates native sized value types,
this is used by the
* pinvoke wrappers when they call functions returning
structures */
if (inst->backend.is_pinvoke && MONO_TYPE_ISSTRUCT
(inst->inst_vtype) && inst->inst_vtype->type != MONO_TYPE_TYPEDBYREF)
- size = mono_class_native_size
(inst->inst_vtype->data.klass, &align);
+ size = mono_class_native_size
(mono_class_from_mono_type (inst->inst_vtype), &align);
else {
int ialign;
It did not help (still sigsegv's) But like svn when I insert the debug prints
the test runs to completion.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list