Bug 25664 - FieldInfo.GetValue causes segmentation fault when field is of pointer type
Summary: FieldInfo.GetValue causes segmentation fault when field is of pointer type
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: Reflection (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-12-31 10:46 UTC by Konrad Kruczyński
Modified: 2015-01-02 18:36 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Program that shows the problematic behaviour (281 bytes, application/octet-stream)
2014-12-31 10:46 UTC, Konrad Kruczyński
Details

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.

Note You need to log in before you can comment on or make changes to this bug.