Comment 14 for bug 700912

Revision history for this message
Torbjörn Rathsman (milasudril) wrote :

@shankao: At least we are both stuck in XGA_DrawLineBresenham. Have you tried to run 3D Studio R3 on 32-bit system? I get the crash from within Windows 3.1, when it is issuing a LineTo GDI call (I draw this conclusion from the fact that it affect clock.exe (draws the handles) and a game called Stars (Draw line between two planets)). It does only happen on a 64-bit build of DOSBox. Since your trouble occurs on 64-bit, it might be a pointer size issue. I have seen really bad things in libxml2, that brakes down on x86-64 Windows. For example, there might be assumptions that

sizeof(unsigned int)==sizeof(void*)

I conclude that this is not a Ubuntu bug, but a DOSBox bug. The thing Ubuntu can do in the meantime is to provide a 32-bit binary package for DOSBox.I should tryout Windows 3.1 without the S3 driver. It would also be good to setup the same thing in Qemu+FreeDOS, if that supports emulation of the same graphics device. This will help to localize the bug.