SUMMARY After extracting files from a particular ZIP archive using the libzip backend, the extracted folder has incorrect access time. STEPS TO REPRODUCE 1. Download Attachment 109492 [details] (from Bug 387996). 2. Since the ZIP uses LZMA, the latest git master of libzip has to be used. 3. Use Ark + libzip (git master) to extract the ZIP. 4. Use other programs, such as p7zip, to extract the ZIP to another location and compare the results. OBSERVED RESULT The access time date can be something like 4436086-12-21 or 4426948-12-29 (Year-Month-Date). The timestamp is different each time the file is extracted, and the Year value is always wrong and impossible. ADDITIONAL INFORMATION The following comment by libzip's author may be useful: https://github.com/nih-at/libzip/issues/198#issuecomment-664794864
Thanks Ark for finding year 2038 problem in Wine. https://bugs.winehq.org/show_bug.cgi?id=51565 This is how I spotted the bug: 1. Downloaded a small freeware game in .zip archive 2. Unpacked it with Ark, the access time was year 2446 3. Tried to run the game, it hangs silently 4. Tried to copy the game directory with `cp -r`, the game works, since cp changes access time Took almost an hour to debug this magic.
*** This bug has been marked as a duplicate of bug 450125 ***