[Mono-bugs] [Bug 324807] s390x don't handle specific function calls correctly
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Dec 5 10:04:04 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=324807
User rkvinge at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=324807#c1
Rolf Bjarne Kvinge <rkvinge at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|s390/s390x don't handle specific function calls |s390x don't handle specific function calls
|correctly |correctly
--- Comment #1 from Rolf Bjarne Kvinge <rkvinge at novell.com> 2007-12-05 08:04:04 MST ---
This has been fixed on the s390, but the s390x still have problems.
New repro:
using System;
class C {
static void Main () {
C c = new C ();
c.Test ();
}
public void Test () {
Token tok = new Token ();
tok.m_TokenObject = "something";
Console.WriteLine ("Sending: {0}", tok.m_TokenObject);
Test (null, null, null, null, tok, null);
Console.WriteLine ("Got back: {0}", tok.m_TokenObject);
}
public void Test (object a, object b, object c, object d, Token Name,
object e) {
Console.WriteLine ("Got: {0}", Name.m_TokenObject);
}
}
struct Token {
public long m_Location;
public object m_TokenObject;
}
Result:
builder at aussie-1:~/vb> gmcs test.cs && mono test.exe
Sending: something
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at C.Test (System.Object a, System.Object b, System.Object c, System.Object
d, Token Name, System.Object e) [0x00000]
at C.Test () [0x00000]
at C.Main () [0x00000]
Expected result:
rolf at linux:~/archs> gmcs test.cs && mono test.exe
Sending: something
Got: something
Got back: something
--
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