[Bug 38060] San Andreas Multiplayer fails to load Kill-list font 'gtaweap3.ttf'

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 11 23:54:48 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=38060

--- Comment #15 from Sam <masterofquebec at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list