Menu

#558 CPU Exception plus others

fixed_in_git
open
nobody
5
2018-03-26
2018-03-26
No

2 part error. All that has been done was install using "sudo apt-get install dosemu"

OS: Don't laugh, I know it's backwards from what most people do. :)
Win10 Home 64bit using Ubuntu Linux subsystem

Hardware:
Intel i5-6500 3.2GHz
Intel 100 series/C230 Series Chipset
nVidia GeForce GTX960

Part 1:
ERROR: Unable to open console or check with X to evaluate the keyboard map. Please specify your keyboard map explicitly via the $layout option.
Press ENTER to continue with DOS programs thinking that they use a US layout or CTRL-C to Exit*

Part 2:
ERROR: DPMI initialization failed, disabling
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x00 errorcode: 0x00000000 cr2: 0x00000000
eip: 0x00468d8f esp: 0x7fffda55a150 eflags: 0x00010246
cs: 0x0033 ds: 0x002b es: 0x002b ss: 0x002b
ERROR: Please report the contents of ~/.dosemu/bootlog at
The source forge page
It would be even more helpful if would recompile DOSEMU and repoduce this
bug with "debug on" in compiletime-settings.
Division by zero

Boot.log:
major = 4 minor = 1
CONF: config variable parser_version_3 set
CONF: config variable c_system set
CONF: Parsing built-in dosemu.conf file.
CONF: config variable version_3_style_used set
CONF: Parsing built-in global.conf file.
CONF: config variable version_3_style_used unset
CONF: config variable version_3_style_used set
CONF: opened include file /etc/dosemu/dosemu.conf
CONF: closed include file /etc/dosemu/dosemu.conf
CONF: mapping driver = 'auto'
debug flags: -a+cw
CONF: Disabling use of pentium timer
CONF: dosbanner on
CONF: timer freq=18, update=54925
CONF: CPU set to 586
CONF: JIT CPUEMU set to 0 for 586
CONF: 8192k bytes EMS memory
CONF: EMS-frame = 0xe400
CONF: DPMI-Server on (0x5000)
CONF: DPMI base addr = 0xffffffff
CONF: PM DOS API Translator on
CONF: No DJGPP NULL deref checks: off
CONF: 8192k bytes XMS memory
CONF: dosemu running on console
CONF: VGA-BIOS-Segment 0
CONF: VGA-BIOS-Segment set to 0xc000
CONF: VGA-BIOS-Size 0
CONF: VGA-BIOS-Size set to 0x10000
CHIPSET: 12
CONF: time mode = 'bios'
SER: directory /var/lock namestub LCK.. binary No
MOUSE: no device specified, type 0 using internaldriver: yes, emulate3buttons: no baudrate: 0
CONF: Keyboard-layout keyb-user
CONF: **** Warning: floppy /dev/fd0 not accessible, disabled
CONF: fastfloppy = 1
CONF: IPX support off
CONF(LPT0) f: (null) c: lpr -l t: 20 port: 0
CONF(LPT1) f: (null) c: lpr -l -P lpt2 t: 20 port: 0
CONF: not allowing speaker port access
CONF: Packet Driver enabled.
device: /root/.dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C:
device: /root/.dosemu/drives/d type 4 h: -1 s: -1 t: -1 drive D:
CONF: cdrom MSCD0001 on /dev/cdrom
CONF: config variable c_system unset
Linux kernel 4.4.0; CPU speed is 3201000000 Hz
CPU-EMU speed is 3201 MHz
major = 4 minor = 1
no console on low feature (non-suid root) DOSEMU
CONF: running exclusively as ROOT: uid=0 (cached 0) gid=0 (cached 0)
DBG_FD already set
DOSEMU-1.4.0.8 is coming up on Linux version 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64
Compiled with GCC version 4.9.2 -m64
WARN: vm86plus service not available in your kernel
WARN: using CPU emulation for vm86()
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 48Kb at 0xF4000 for 'r' (Dosemu reserved area)
major = 4 minor = 1
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
PKT: Cannot open raw sockets: No such file or directory
CONF: reserving 8256Kb at 0x100000 for 'x' (Extended memory (HMA+XMS))
Registering HWRAM, type=e base=0x7fc00000 size=0x400000
CONF: reserving 4096Kb at 0x7FC00000 for 'e' (VGAEMU LFB)
CONF: reserving 4Kb at 0xC0000 for 'V' (VGAEMU Video BIOS)
major = 4 minor = 1
major = 4 minor = 1
SERIAL $Id$
ERROR: Unable to open console or check with X to evaluate the keyboard map.
Please specify your keyboard map explicitly via the $_layout option.
CONF: reserving 16Kb at 0xE4000 for 'E' (EMS page frame)
CONF: reserving 16Kb at 0xE8000 for 'E' (EMS page frame)
CONF: reserving 16Kb at 0xEC000 for 'E' (EMS page frame)
CONF: reserving 16Kb at 0xF0000 for 'E' (EMS page frame)
CONF: reserving 140Kb at 0xC1000 for 'U' (Upper Memory Block (UMB, XMS 3.0))
ERROR: DPMI initialization failed, disabling
TIME: using 9154 usec for updating ALRM timer
======================= ENTER CPU-EMU ===============

==============================================================
CPU exception 0x00 err=0x00000000 cr2=00000000 eip=00468d8f
==============================================================
==============================================================
CPU exception 0x00 err=0x00000000 cr2=00000000 eip=00468d8f
==============================================================
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x00 errorcode: 0x00000000 cr2: 0x00000000
eip: 0x00468d8f esp: 0x7fffda55a150 eflags: 0x00010246
cs: 0x0033 ds: 0x002b es: 0x002b ss: 0x002b
ERROR: Please report the contents of ~/.dosemu/boot.log at
http://sourceforge.net/tracker/?atid=457447&group_id=49784&func=browse
It would be even more helpful if would recompile DOSEMU and reproduce this
bug with "debug on" in compiletime-settings.
System info:
linux-vdso.so.1 => (0x00007fffd66db000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1a557d0000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1a555c0000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1a552b0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1a54ed0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1a54cb0000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1a55a00000)
glibc 2.23
NPTL 2.23
000a0000-000a1000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000a1000-000a2000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000a2000-000a3000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000a3000-000a4000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000a4000-000a5000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000a5000-000a6000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000a6000-000a7000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000a7000-000a8000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000a8000-000a9000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000a9000-000aa000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000aa000-000ab000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000ab000-000ac000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000ac000-000ad000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000ad000-000ae000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000ae000-000af000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000af000-000b0000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000b0000-000b1000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000b1000-000b2000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000b2000-000b3000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000b3000-000b4000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000b4000-000b5000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000b5000-000b6000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000b6000-000b7000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000b7000-000b8000 r-xs 00510000 00:00 21964 /run/shm/dosemu_28 (deleted)
000b8000-000c0000 rwxs 00110000 00:00 21964 /run/shm/dosemu_28 (deleted)
00100000-00110000 rwxs 00000000 00:00 21964 /run/shm/dosemu_28 (deleted)
00400000-005a6000 r-xp 00000000 00:00 298151 /usr/bin/dosemu.bin
007a5000-007a6000 r--p 001a5000 00:00 298151 /usr/bin/dosemu.bin
007a6000-007d6000 rw-p 001a6000 00:00 298151 /usr/bin/dosemu.bin
007d6000-00d31000 rw-p 00000000 00:00 0
0187a000-018bc000 rw-p 00000000 00:00 0 [heap]
7fbf0000-7fc00000 rw-p 00000000 00:00 0
7fc00000-80000000 rwxp 00000000 00:00 0
100000000-100001000 rw-p 00000000 00:00 0
7f6e48e90000-7f6e49690000 rw-p 00000000 00:00 0
7f6e49690000-7f6e4a7a0000 rw-s 00000000 00:00 21964 /run/shm/dosemu_28 (deleted)
7f6e4a7a0000-7f6e4a7a5000 r-xp 00000000 00:00 159211 /usr/lib/x86_64-linux-gnu/libgpm.so.2
7f6e4a7a5000-7f6e4a7a7000 ---p 00005000 00:00 159211 /usr/lib/x86_64-linux-gnu/libgpm.so.2
7f6e4a7a7000-7f6e4a9a5000 ---p 00007000 00:00 159211 /usr/lib/x86_64-linux-gnu/libgpm.so.2
7f6e4a9a5000-7f6e4a9a6000 r--p 00005000 00:00 159211 /usr/lib/x86_64-linux-gnu/libgpm.so.2
7f6e4a9a6000-7f6e4a9a7000 rw-p 00006000 00:00 159211 /usr/lib/x86_64-linux-gnu/libgpm.so.2
7f6e4a9b0000-7f6e4a9b2000 r-xp 00000000 00:00 298146 /usr/lib/dosemu/libplugin_gpm.so
7f6e4a9b2000-7f6e4a9b3000 ---p 00002000 00:00 298146 /usr/lib/dosemu/libplugin_gpm.so
7f6e4a9b3000-7f6e4abb1000 ---p 00003000 00:00 298146 /usr/lib/dosemu/libplugin_gpm.so
7f6e4abb1000-7f6e4abb2000 r--p 00001000 00:00 298146 /usr/lib/dosemu/libplugin_gpm.so
7f6e4abb2000-7f6e4abb3000 rw-p 00002000 00:00 298146 /usr/lib/dosemu/libplugin_gpm.so
7f6e4abc0000-7f6e4acda000 r-xp 00000000 00:00 45582 /lib/x86_64-linux-gnu/libslang.so.2.3.0
7f6e4acda000-7f6e4acf8000 ---p 0011a000 00:00 45582 /lib/x86_64-linux-gnu/libslang.so.2.3.0
7f6e4acf8000-7f6e4aeda000 ---p 00138000 00:00 45582 /lib/x86_64-linux-gnu/libslang.so.2.3.0
7f6e4aeda000-7f6e4aede000 r--p 0011a000 00:00 45582 /lib/x86_64-linux-gnu/libslang.so.2.3.0
7f6e4aede000-7f6e4aef7000 rw-p 0011e000 00:00 45582 /lib/x86_64-linux-gnu/libslang.so.2.3.0
7f6e4aef7000-7f6e4af4c000 rw-p 00000000 00:00 0
7f6e4af50000-7f6e4af59000 r-xp 00000000 00:00 297766 /usr/lib/dosemu/libplugin_term.so
7f6e4af59000-7f6e4af5c000 ---p 00009000 00:00 297766 /usr/lib/dosemu/libplugin_term.so
7f6e4af5c000-7f6e4b158000 ---p 0000c000 00:00 297766 /usr/lib/dosemu/libplugin_term.so
7f6e4b158000-7f6e4b159000 r--p 00008000 00:00 297766 /usr/lib/dosemu/libplugin_term.so
7f6e4b159000-7f6e4b15b000 rw-p 00009000 00:00 297766 /usr/lib/dosemu/libplugin_term.so
7f6e4b15b000-7f6e4b15c000 rw-p 00000000 00:00 0
7f6e4b160000-7f6e4b2d4000 rw-p 00000000 00:00 0
7f6e4b2e0000-7f6e4b2f8000 r-xp 00000000 00:00 257585 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f6e4b2f8000-7f6e4b302000 ---p 00018000 00:00 257585 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f6e4b302000-7f6e4b4f7000 ---p 00022000 00:00 257585 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f6e4b4f7000-7f6e4b4f8000 r--p 00017000 00:00 257585 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f6e4b4f8000-7f6e4b4f9000 rw-p 00018000 00:00 257585 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f6e4b4f9000-7f6e4b4fd000 rw-p 00000000 00:00 0
7f6e4b500000-7f6e4b6c0000 r-xp 00000000 00:00 257586 /lib/x86_64-linux-gnu/libc-2.23.so
7f6e4b6c0000-7f6e4b6c9000 ---p 001c0000 00:00 257586 /lib/x86_64-linux-gnu/libc-2.23.so
7f6e4b6c9000-7f6e4b8c0000 ---p 001c9000 00:00 257586 /lib/x86_64-linux-gnu/libc-2.23.so
7f6e4b8c0000-7f6e4b8c4000 r--p 001c0000 00:00 257586 /lib/x86_64-linux-gnu/libc-2.23.so
7f6e4b8c4000-7f6e4b8c6000 rw-p 001c4000 00:00 257586 /lib/x86_64-linux-gnu/libc-2.23.so
7f6e4b8c6000-7f6e4b8ca000 rw-p 00000000 00:00 0
7f6e4b8d0000-7f6e4b9d8000 r-xp 00000000 00:00 257581 /lib/x86_64-linux-gnu/libm-2.23.so
7f6e4b9d8000-7f6e4b9da000 ---p 00108000 00:00 257581 /lib/x86_64-linux-gnu/libm-2.23.so
7f6e4b9da000-7f6e4bbd7000 ---p 0010a000 00:00 257581 /lib/x86_64-linux-gnu/libm-2.23.so
7f6e4bbd7000-7f6e4bbd8000 r--p 00107000 00:00 257581 /lib/x86_64-linux-gnu/libm-2.23.so
7f6e4bbd8000-7f6e4bbd9000 rw-p 00108000 00:00 257581 /lib/x86_64-linux-gnu/libm-2.23.so
7f6e4bbe0000-7f6e4bbe3000 r-xp 00000000 00:00 257588 /lib/x86_64-linux-gnu/libdl-2.23.so
7f6e4bbe3000-7f6e4bbe4000 ---p 00003000 00:00 257588 /lib/x86_64-linux-gnu/libdl-2.23.so
7f6e4bbe4000-7f6e4bde2000 ---p 00004000 00:00 257588 /lib/x86_64-linux-gnu/libdl-2.23.so
7f6e4bde2000-7f6e4bde3000 r--p 00002000 00:00 257588 /lib/x86_64-linux-gnu/libdl-2.23.so
7f6e4bde3000-7f6e4bde4000 rw-p 00003000 00:00 257588 /lib/x86_64-linux-gnu/libdl-2.23.so
7f6e4bdf0000-7f6e4bdf7000 r-xp 00000000 00:00 257606 /lib/x86_64-linux-gnu/librt-2.23.so
7f6e4bdf7000-7f6e4bdf8000 ---p 00007000 00:00 257606 /lib/x86_64-linux-gnu/librt-2.23.so
7f6e4bdf8000-7f6e4bff6000 ---p 00008000 00:00 257606 /lib/x86_64-linux-gnu/librt-2.23.so
7f6e4bff6000-7f6e4bff7000 r--p 00006000 00:00 257606 /lib/x86_64-linux-gnu/librt-2.23.so
7f6e4bff7000-7f6e4bff8000 rw-p 00007000 00:00 257606 /lib/x86_64-linux-gnu/librt-2.23.so
7f6e4c000000-7f6e4c026000 r-xp 00000000 00:00 257583 /lib/x86_64-linux-gnu/ld-2.23.so
7f6e4c058000-7f6e4c1f0000 r--p 00000000 00:00 168892 /usr/lib/locale/locale-archive
7f6e4c1f0000-7f6e4c1f1000 rw-p 00000000 00:00 0
7f6e4c200000-7f6e4c201000 rw-p 00000000 00:00 0
7f6e4c210000-7f6e4c211000 rw-p 00000000 00:00 0
7f6e4c220000-7f6e4c221000 rw-p 00000000 00:00 0
7f6e4c225000-7f6e4c226000 r--p 00025000 00:00 257583 /lib/x86_64-linux-gnu/ld-2.23.so
7f6e4c226000-7f6e4c227000 rw-p 00026000 00:00 257583 /lib/x86_64-linux-gnu/ld-2.23.so
7f6e4c227000-7f6e4c228000 rw-p 00000000 00:00 0
7f6e4c230000-7f6e4c231000 rw-p 00000000 00:00 0
7f6e4c233000-7f6e4c23a000 r--s 00000000 00:00 257645 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fffd9d7c000-7fffda57c000 rw-p 00000000 00:00 0 [stack]
7fffda783000-7fffda784000 r-xp 00000000 00:00 0 [vdso]
Obtained 10 stack frames.
/usr/bin/dosemu(gdb_debug+0x12a) [0x44922a]
/usr/bin/dosemu(dosemu_fault1+0x12b) [0x4475db]
/usr/bin/dosemu(dosemu_fault+0x94) [0x447ec4]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f6e4b5354b0]
/usr/bin/dosemu(Interp86+0x1ff) [0x468d8f]
/usr/bin/dosemu(e_vm86+0xf9) [0x473919]
/usr/bin/dosemu(run_vm86+0xaf) [0x464b5f]
/usr/bin/dosemu(loopstep_run_vm86+0x9) [0x464ed9]
/usr/bin/dosemu(main+0x2fc) [0x41e3dc]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f6e4b520830]
Debug info:
gdb /usr/bin/dosemu.bin
attach 28
info registers
backtrace
backtrace full
detach
quit
sh: 1: gdb: not found

Division by zero
VFLAGS(b): 010000001001000110
EAX: 00000000 EBX: 00000003 ECX: 00000000 EDX: 00000001 VFLAGS(h): 00010246
ESI: 00000003 EDI: 000ffff0 EBP: 00000064
CS: 0033 DS: 002b ES: 002b FS: 0053 GS: 002b
FLAGS: PF ZF IF RF IOPL: 0
OOPS : 78 00 45 89 fc bd 64 00 00 00 -> 42 0f b6 04 20 0f b6 80 80 ba
leavedos(dosemu_fault1|378) called - shutting down
leavedos() called from within a signal context!
======================= LEAVE CPU-EMU ===============

2 Attachments

Discussion


Log in to post a comment.