Michael Stefaniuc (@mstefani) commented about dlls/dmloader/tests/loader.c:
+ desc.guidObject = GUID_DefaultGMCollection; + desc.guidClass = CLSID_DirectMusicCollection; + hr = IDirectMusicLoader_GetObject(loader, &desc, &IID_IDirectMusicCollection, (void **)&collection); + ok(hr == S_OK, "GetObject failed with %#lx\n", hr); + IDirectMusicCollection_AddRef(collection); + refcount = IDirectMusicCollection_Release(collection); + ok(refcount == 2, "refcount == %lu, expected 2\n", refcount); + + memset(&desc, 0, sizeof(desc)); + desc.dwSize = sizeof(desc); + desc.dwValidData = DMUS_OBJ_CLASS | DMUS_OBJ_MEMORY; + desc.guidClass = CLSID_DirectMusicSegment; + desc.llMemLength = sizeof(rifffile); + desc.pbMemData = rifffile; + hr = IDirectMusicLoader_GetObject(loader, &desc, &IID_IDirectMusicSegment, (void **)&segment); + ok(hr == S_OK, "GetObject failed with %#lx\n", hr); This fails the Win10 64bit tests and then subsequently crashes:
https://gitlab.winehq.org/wine/wine/-/jobs/205418#L72 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9408#note_121283