Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75407

QFile::copy corrupts file when forcing system shutdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6
    • Fix Version/s: 5.12.4, 5.14.0 Alpha
    • Component/s: Core: I/O
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      a3acf568d1785d15ebf4d9973df6f9c277d5158a (qt/qtbase/5.12)

      Description

      After a file has been copied using QFile::copy it will have a size of 0 bytes after a forced shutdown and subsequent restart. Prior to force shutdown, the file has size. Only after shutdown and boot will the file have a zero size.

        Attachments

        1. main.cpp
          0.7 kB
          Henrik Hartz
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              thiago Thiago Macieira
              Reporter:
              henrikhartz Henrik Hartz
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes