Bug 25664

Summary: FieldInfo.GetValue causes segmentation fault when field is of pointer type
Product: [Mono] Runtime Reporter: Konrad Kruczyński <konrad.kruczynski>
Component: ReflectionAssignee: Bugzilla <bugzilla>
Status: RESOLVED FIXED    
Severity: normal CC: mono-bugs+runtime, vargaz
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Tags: Is this bug a regression?: ---
Last known good build:
Attachments: Program that shows the problematic behaviour

Description Konrad Kruczyński 2014-12-31 10:46:13 UTC
Created attachment 9216 [details]
Program that shows the problematic behaviour

Please compile and run attached program (unsafe code is necessary). It causes a segmentation fault which is not expected (same code on .NET runs fine).
Comment 1 Zoltan Varga 2015-01-02 18:36:23 UTC
Fixed in master 46b15a2a6b800506ab5d52693f3c68ff82aeb354.