[Bug 28857] Final Fantasy XI crashes at login

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 23 16:52:00 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28857

--- Comment #19 from Charles Davis <cdavis at mymail.mines.edu> 2011-10-23 16:52:00 CDT ---
That's useful to know. When I compiled my test program as 32-bit, it stepped
beyond the end in the same way Wine does now. And I think I know why.

On 64-bit FreeBSD, a struct xinpgen is 32 bytes long. But in 32-bit FreeBSD, a
struct xinpgen is only 16 bytes long. Because the kernel is LP64, it is
returning 32-byte xinpgen structures, which is bigger than the 16 bytes the
loop was expecting. Because of this, the loop does not terminate like it
should.

Unfortunately, I don't know how to fix this yet. Juan, any ideas?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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