Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] UWP Bitmap create threading exception #519

Closed
dpvreony opened this issue May 22, 2020 · 1 comment · Fixed by #600
Closed

[BUG] UWP Bitmap create threading exception #519

dpvreony opened this issue May 22, 2020 · 1 comment · Fixed by #600
Assignees
Labels

Comments

@dpvreony
Copy link
Member

dpvreony commented May 22, 2020

Describe the bug

In the new UWP test runner the BitmapLoader Create test currently fails

System.Exception
HResult=0x8001010E
Message=The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))
Source=Windows
StackTrace:
at Windows.UI.Xaml.Media.Imaging.WriteableBitmap..ctor(Int32 pixelWidth, Int32 pixelHeight)
at Splat.PlatformBitmapLoader.Create(Single width, Single height) in D:\github\reactiveui\splat\src\Splat.Drawing\Platforms\WinRT\Bitmaps\PlatformBitmapLoader.cs:line 80
at Splat.Tests.BitmapLoaderTests.Create_Succeeds() in D:\github\reactiveui\splat\src\Splat.Tests\BitmapLoaderTests.cs:line 45

A clear and concise description of what the bug is.

Steps To Reproduce

Run the Splat.TestRunner.Uwp project

Expected behavior

Should create a bitmap

@dpvreony dpvreony added the Bug label May 22, 2020
@dpvreony dpvreony self-assigned this May 22, 2020
glennawatson pushed a commit that referenced this issue Oct 8, 2020
* added uwp test runner

* #519 fix uwp create bitmap thread marshalling
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant