[Mono-bugs] [Bug 641590] New: Calling FieldInfo.GetValue of a void* field aborts mono
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Sep 24 05:34:37 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=641590
https://bugzilla.novell.com/show_bug.cgi?id=641590#c0
Summary: Calling FieldInfo.GetValue of a void* field aborts
mono
Classification: Mono
Product: Mono: Runtime
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: rkvinge at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30
Version/10.60
Repro:
class C {
public static unsafe void* ip;
static void Main () {
typeof (C).GetField ("ip").GetValue (null);
}
}
results in:
type 0xf not handled in mono_field_get_value_object
#6 0x00000000005cdade in monoeg_g_log (log_domain=0x0,
log_level=G_LOG_LEVEL_ERROR, format=0x617940 "type 0x%x not handled in
mono_field_get_value_object") at goutput.c:144
#7 0x000000000054186d in mono_field_get_value_object (domain=0x7fd2c1a8cd48,
field=0x7fd2b8008060, obj=0x0) at object.c:3032
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list