https://bugs.winehq.org/show_bug.cgi?id=49425
Bug ID: 49425 Summary: gdiplus:image tests fail when accessing files Product: Wine Version: 5.11 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: madewokherd@gmail.com Distribution: ---
Running gdiplus:image using make test, I get the following failures: image.c:503: Test failed: Expected 0, got 1 image.c:510: Test failed: Expected 0, got 1 image.c:523: Test failed: Delete failed. image.c:579: Test failed: Expected 0, got 1 image.c:700: Test failed: Delete 1.tif failed.
Digging in a bit, seems to be some kind of permissions or sharing issue: 00c0:trace:gdiplus:GdipSaveImageToFile 0000000000BD3060 (L"a.bmp") 0000000000000000 0000000000000000 00c0:trace:gdiplus:GdipGetImageEncodersSize 000000000031F7C0 000000000031F7C8 00c0:trace:gdiplus:GdipGetImageEncoders 5 520 0000000000A8BDD0 00c0:trace:gdiplus:GdipSaveImageToFile 0000000000BD3060 (L"a.bmp") 0000000000A8BDD0 0000000000000000 00c0:trace:gdiplus:GdipCreateStreamOnFile (L"a.bmp", 1073741824, 000000000031F6D8) 00c0: create_file( access=c0100080, sharing=00000001, create=5, options=00000060, attrs=00000000, objattr={rootdir=0000,attributes=00000040,sd={},name=L""}, filename="/home/wine/.wine/dosdevices/z:/a.bmp" ) 00c0: create_file() = ACCESS_DENIED { handle=0000 } image.c:503: Test failed: Expected 0, got 1