[Mono-bugs] [Bug 376709] mono on ARM corrupts method call stack

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 3 07:10:01 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=376709

User mbus25 at hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376709#c1


Nuno Felicio <mbus25 at hotmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |mbus25 at hotmail.com




--- Comment #1 from Nuno Felicio <mbus25 at hotmail.com>  2008-04-03 05:10:01 MST ---
I found a call stack corruption when calling a method of a class that is inside
of a external assembly.
I think that the runtime undercalculates the stack size required...
In mono on 8x86 the same assemblies work perfectly!!



the simptom is like this:

class a1
{

method1()
{
   method2()
}

method2()
{
  structtest a,b;
  externaclass.methodtest(a, b);
}
}

class externaclass
{
  methodtest(structtest parm1, structtest parm2)
  {
     // inside of this the parm1 value is swapped with the value of parm2
   }
}


if the call stack its a bit more deeper before calling the external assembly
method the first value is completly corrupted -> its 0


i think that this is an undercalculation for the stack required....

thanks in advance


-- 
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