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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/700912

Title:
  dosbox crashed with SIGSEGV

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dosbox/+bug/700912/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to