Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Intermittent QSaveFile::commit() access denied on Windows 11
Qt 6.12 LTS is out! See what's new in the release blog

Intermittent QSaveFile::commit() access denied on Windows 11

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 26 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Online
    B Online
    BuilderBob76
    wrote last edited by
    #1

    With Qt 6.11.2, a synthetic test occasionally fails when replacing an existing JSON companion file in a local temporary folder. QSaveFile::commit() returned false with Qt error 10 and Win32 error 5 observed immediately afterward. A later Restart Manager check found no file users. One path-filtered Process Monitor run did not reproduce the failure.

    What is the smallest useful experiment to distinguish a handle opened by our own process, a sharing or permissions problem, and a filesystem filter? Is there a better way to capture the failing Windows operation and its original error?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved