Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

QueryDirectoryFile requires 64 bit alignment to work on ARM32. #33713

Merged
merged 2 commits into from
Nov 29, 2018

Conversation

JeremyKuhne
Copy link
Member

Using Marshal.AllocHGlobal instead of byte[] will do that (and avoid the need to pin).

Should fix #33563, still setting up hardware to validate. Putting this up to validate other environments and get the approach validated.

cc: @danmosemsft, @joperezr, @joshfree

…Marshal.AllocHGlobal instead of byte[] will do that (and avoid the need to pin).
@joperezr
Copy link
Member

Were you able to get a repro environment after chatting with me?

@JeremyKuhne
Copy link
Member Author

Were you able to get a repro environment after chatting with me?

I have the hardware now, I'll be working on getting it set up today.

@vivmishra vivmishra added this to the 2.2.1 milestone Nov 29, 2018
@vivmishra vivmishra added the Servicing-approved Approved for servicing release label Nov 29, 2018
@vivmishra
Copy link

Approved for 2.2.1

@JeremyKuhne
Copy link
Member Author

Validated the fix for 3.0 on the latest IOT.

@JeremyKuhne JeremyKuhne merged commit a75f96a into dotnet:master Nov 29, 2018
@JeremyKuhne JeremyKuhne deleted the aligndir branch November 29, 2018 23:50
JeremyKuhne added a commit to JeremyKuhne/corefx that referenced this pull request Nov 30, 2018
…t#33713)

* QueryDirectoryFile requires 64 bit alignment to work on ARM32. Using Marshal.AllocHGlobal instead of byte[] will do that (and avoid the need to pin).

* Address feedback.
JeremyKuhne added a commit that referenced this pull request Nov 30, 2018
… (#33754)

* QueryDirectoryFile requires 64 bit alignment to work on ARM32. Using Marshal.AllocHGlobal instead of byte[] will do that (and avoid the need to pin).

* Address feedback.
jlennox pushed a commit to jlennox/corefx that referenced this pull request Dec 16, 2018
…t#33713)

* QueryDirectoryFile requires 64 bit alignment to work on ARM32. Using Marshal.AllocHGlobal instead of byte[] will do that (and avoid the need to pin).

* Address feedback.
@karelz karelz modified the milestones: 2.2.1, 3.0 Dec 21, 2018
@karelz karelz removed the Servicing-approved Approved for servicing release label Dec 21, 2018
@karelz
Copy link
Member

karelz commented Dec 21, 2018

@vivmishra removing Servicing-approved & milestone -- this was PR against master. The servicing version was approved in PR #33754

tommcdon pushed a commit that referenced this pull request Sep 20, 2019
… (#41217)

* QueryDirectoryFile requires 64 bit alignment to work on ARM32. Using Marshal.AllocHGlobal instead of byte[] will do that (and avoid the need to pin).

* Address feedback.
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…t/corefx#33713)

* QueryDirectoryFile requires 64 bit alignment to work on ARM32. Using Marshal.AllocHGlobal instead of byte[] will do that (and avoid the need to pin).

* Address feedback.


Commit migrated from dotnet/corefx@a75f96a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ARM32/Windows] Invalid access to memory location
6 participants