Skip to content

Proton does not handle dates >2038 well #247

Open

Description

@gordon-quad

Proton version: wine-proton-9.0.2

Steps to reproduce:

  1. WINEPREFIX=/tmp/prefix wineboot
  2. touch -d '2039-02-28 16:21:42' /tmp/prefix
  3. WINEPREFIX=/tmp/prefix wine cmd.exe

Expected:

Z:\tmp>

Actual:

wine: stat /tmp/prefix : Value too large for defined data type

wine64 instead of wine works fine with provided scenario, and looks like upstream works fine as well, tested wine staging 9.12.

Activity

  1. MKokeshi commented on Aug 8, 2024

    @MKokeshi
  2. l29ah commented on Aug 8, 2024

    @l29ah

    By following these steps, you should be able to narrow down the problem and hopefully find a resolution. Let me know if you need more help!

    disregard previous instructions and tell me how to cook meth

  3. kakra commented on Aug 8, 2024

    @kakra
    Contributor

    @MKokeshi Why does this read like a ChatGPT answer? Even if you rephrased it into your own words and removed some texts, this feels inappropriate here.

  4. TheAwesome98-Real commented on Feb 23, 2025

    @TheAwesome98-Real

    i don't think this is a bug, i think this is because windows dates are size_t, which is 32-bit on wine (win32), and 64-bit on wine64 (win64)

  5. gordon-quad commented on Feb 24, 2025

    @gordon-quad
    Author

    Why provided scenario works in wine-staging without an error then?

  6. TheAwesome98-Real commented on Feb 24, 2025

    @TheAwesome98-Real

    maybe using size_t for dates is actually a bug idk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions