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
Alias: None
Product: Runtime
Classification: Mono
Component: Reflection ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-12-31 10:46 UTC by Konrad Kruczyński
Modified: 2015-01-02 18:36 UTC (History)
2 users (show)

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

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

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.