https://bugs.winehq.org/show_bug.cgi?id=38060
--- Comment #15 from Sam masterofquebec@rocksplash.com --- Created attachment 50727 --> https://bugs.winehq.org/attachment.cgi?id=50727 Logs, test app and font file stat
Think I discovered the cause of the problem.
The "inode64" mount option seems to be enabled by default on XFS file systems under Debian Jessie.
The inode of the pricedown.ttf file is 4298131781 which is out of the 32-bit integer range.
Modifying the inode to one in the 32-bit range seems to fix the problem (eg: 76360477).
If I'm not mistaken, a fix for the 32-bit Wine builds would be to replace calls to stat by their 64-bit version (stat->stat64, readdir->readdir64...). Mainly in dlls/gdi32/freetype.c.
I attached logs, stat info for the font file and the app I used for testing.