Open FrayxRulez opened 3 years ago
@FrayxRulez I've filed a bug on the team who owns the file. They might reach out to inquire a bit more about the scenario. I'll check in on this thread with updates as they roll in.
Hi Avri, sounds great! Thank you 😄
Can you provide some more context/detailed repro steps for hitting this? What OS version? (full build version please) What process is this from? (We may be able to find telemetry from failures in these APIs that indicate what's going on but it would help to filter on the process name.) Do you know the path of the directory passed to CreateDirectoryFromApp() - especially important is any whitespace or trailing characters as I think this is a duplicate of a known bug that was fixed already but will need some help from you to verify.
Hi @smaillet-ms, I'm actually seeing this behavior in production only.
Path is arbitrarily picked by users so I don't have any details about it.
In addition to the crash in FindAll, I can see one in Insert as well.
I can see some thousands of this crashes from the Partner Center, and some of them even have a crash dump.
Process name is Unigram.exe.
Unfortunately I can't provide any more information, I fear.
What I do on app boot is to retrieve the folder that the user picked as download location for the app using StorageApplicationPermissions.MostRecentlyUsedList.GetFolderAsync
, the path is then passed to our standard C++ library that is going to invoke CreateDirectoryFromApp
few times to create subfolders in it ("photos", "videos", "documents", and so on)
FYI - we are investigating, I think this is related to a bug we fixed already, but hasn't made it out through the release pipeline yet. Can you contact me directly [smaillet - microsoft - com] so we can get details and business justifications for servicing down-level OS versions?
@smaillet-ms Sounds like this conversation was taken offline. Any updates to report here?
Hello, not sure if this is the right repository, but well. I have a UWP app with some core parts written in C++, this parts of the app make heavy use of file system APIs. Recently I decided to move to *FromApp variants of the APIs, as the app downloads quite a lot of files from the web and I wanted to give to the users the ability to change default download location (By using
FolderPicker
andStorageApplicationPermission.MostRecentlyUsedList
). Now everything seems to work pretty much ok, but I started to see in dev center Health page a rising amount ofnull_pointer_read
exceptions raised bywindows.storage.onecore.dll
.Here's the stack trace: