Comment 10 for bug 700912

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

It seems like DOSBox has issues on 64-bit systems. I compiled it from svn and got several warnings related to data type size assumptions. When I run DOSBox in Windows or Wine, there is no problem.

$ file /home/bin-win32/DOSBox-0.74/DOSBox.exe
/home/bin-win32/DOSBox-0.74/DOSBox.exe: PE32 executable (GUI) Intel 80386 (stripped to external PDB), for MS Windows

The build I made on ubuntu for debugging purpose

Program received signal SIGSEGV, Segmentation fault.
0x00000000004c876b in XGA_GetPoint (x=x@entry=18446744071562068601, y=y@entry=203) at vga_xga.cpp:179
179 return ((Bit32u*)(vga.mem.linear))[memaddr];
(gdb)
(gdb) backtrace
#0 0x00000000004c876b in XGA_GetPoint (x=x@entry=18446744071562068601, y=y@entry=203) at vga_xga.cpp:179
#1 0x00000000004c8b2b in XGA_DrawLineBresenham (val=<error reading variable: Cannot access memory at address 0x7fffffffa0a8>) at vga_xga.cpp:419
(gdb) q

Suggestion is to REMOVE the 64-bit DOSBox and replace it by a 32-bit version.