Bart Oldeman wrote:
> On Tue, 20 Jul 2004, Ralph Alvy wrote:
>
>> [EMAIL PROTECTED]:~/dosemu-1.3.1/bin$ ./xdosemu
>> ERROR: cpu exception in dosemu code outside of VM86()!
>> trapno: 0x0e errorcode: 0x00000006 cr2: 0x053f3805
>> eip: 0x40165512 esp: 0xbffff79c eflags: 0x00210207
>> cs: 0x0023 ds: 0x002b es: 0x002b ss: 0x002b
>> Page fault: write instruction to linear address: 0x053f3805
>> CPU was in user mode
>> Exception was caused by non-available page
>>
>> Attached is my boot.log.
>
> We'd like to see boot.log when DOSEMU has crashed, not when it has
> terminated normally.
Yes. I just realized that after attaching that boot.log. So I attached
another one here, with the crash data in it.
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: opened include file /home/ralvy/.dosemurc
CONF: closed include file /home/ralvy/.dosemurc
CONF: config variable skip_dosrc set
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 386
CONF: 8192k bytes XMS memory
CONF: 2048k bytes EMS memory
CONF: EMS-frame = 0xe000
CONF: DPMI-Server on
CONF: PM DOS API Translator on
CONF: dosemu running on
CONF: x keycode keycode 2 aspect_43 mode13fact 2 gamma 100 font 'vga' mgrab_key "Home"
SER: directory /var/lock namestub LCK.. binary No
MOUSE: no device specified, type 7 using internaldriver: yes, emulate3buttons: no
baudrate: 0
CONF: Keyboard-layout keyb-user
CONF: Keyboard-layout us
device: /dev/fd0 type 2 h: 0 s: 0 t: 0 floppy A:
CONF: fastfloppy = 1
CONF: IPX support off
CONF(LPT0) f: (null) c: lpr o: -PLexMark t: 10 port: 0
CONF: not allowing speaker port access
CONF: Packet Driver disabled.
device: /home/ralvy/.dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C:
CONF: config variable c_system unset
CONF: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000)
DBG_FD already set
DOSEMU-1.3.1.0 is coming up on Linux version 2.4.26-1-686
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
CPU: Stack bottom 0xbfffe000, top 0xc0000000, esp=0xbffff820
major = 136 minor = 0
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.9 2004/05/07
13:49:45 stsp Exp $
CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
TIME: using 9154 usec for updating ALRM timer
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0e errorcode: 0x00000006 cr2: 0x053f3805
eip: 0x40166512 esp: 0xbffff79c eflags: 0x00210207
cs: 0x0023 ds: 0x002b es: 0x002b ss: 0x002b
Page fault: write instruction to linear address: 0x053f3805
CPU was in user mode
Exception was caused by non-available page
VFLAGS(b): 010000001000000111
EAX: 0000001b EBX: 4022f550 ECX: 00000000 EDX: 053f3805 VFLAGS(h): 00210207
ESI: 00000000 EDI: 0000001b EBP: bffff7c8
CS: 0023 DS: 002b ES: 002b FS: 0000 GS: 0000
FLAGS: CF PF IF RF IOPL: 0
OOPS : 18 73 47 0f b6 45 08 0f b6 f8 -> 88 02 ff 46 14 0f b7 06 25 00
System info:
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4002c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40039000)
libc.so.6 => /lib/libc.so.6 (0x40100000)
libdl.so.2 => /lib/libdl.so.2 (0x40234000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
glibc 2.3.2
linuxthreads-0.10
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu
--enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
i486-linux
Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-3)
Linux libranet 2.4.26-1-686 #1 Sat May 1 18:04:05 EST 2004 i686 unknown unknown
GNU/Linux
00000000-000a0000 rwxs 00000000 00:04 17435 /dev/zero (deleted)
000a0000-000a1000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000a1000-000a2000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000a2000-000a3000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000a3000-000a4000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000a4000-000a5000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000a5000-000a6000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000a6000-000a7000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000a7000-000a8000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000a8000-000a9000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000a9000-000aa000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000aa000-000ab000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000ab000-000ac000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000ac000-000ad000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000ad000-000ae000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000ae000-000af000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000af000-000b0000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000b0000-000b1000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000b1000-000b2000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000b2000-000b3000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000b3000-000b4000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000b4000-000b5000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000b5000-000b6000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000b6000-000b7000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000b7000-000b8000 rwxs 00100000 00:04 17438 /dev/zero (deleted)
000b8000-000c0000 rwxs 00000000 00:04 17438 /dev/zero (deleted)
000c0000-000c1000 r-xs 000c0000 00:04 17435 /dev/zero (deleted)
000c1000-000c2000 r-xs 000c1000 00:04 17435 /dev/zero (deleted)
000c2000-000c3000 r-xs 000c2000 00:04 17435 /dev/zero (deleted)
000c3000-000e0000 rwxs 000c3000 00:04 17435 /dev/zero (deleted)
000e0000-000e4000 rwxs 00000000 00:04 17446 /dev/zero (deleted)
000e4000-000e8000 rwxs 00004000 00:04 17446 /dev/zero (deleted)
000e8000-000ec000 rwxs 00008000 00:04 17446 /dev/zero (deleted)
000ec000-000f0000 rwxs 0001c000 00:04 17446 /dev/zero (deleted)
000f0000-00100000 rwxs 000f0000 00:04 17435 /dev/zero (deleted)
00100000-00110000 rwxs 00100000 00:04 17435 /dev/zero (deleted)
08048000-0817c000 r-xp 00000000 03:07 327687
/home/ralvy/dosemu-1.3.1/bin/dosemu.bin
0817c000-081aa000 rw-p 00134000 03:07 327687
/home/ralvy/dosemu-1.3.1/bin/dosemu.bin
081aa000-08526000 rwxp 00000000 00:00 0
40000000-40016000 r-xp 00000000 03:08 655431 /lib/ld-2.3.2.so
40016000-40017000 rw-p 00015000 03:08 655431 /lib/ld-2.3.2.so
40017000-40018000 rw-p 00000000 00:00 0
40018000-4001a000 r-xp 00000000 03:08 740186
/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
4001a000-4001b000 rw-p 00001000 03:08 740186
/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
4002c000-40038000 r-xp 00000000 03:08 163893 /usr/X11R6/lib/libXext.so.6.4
40038000-40039000 rw-p 0000c000 03:08 163893 /usr/X11R6/lib/libXext.so.6.4
40039000-400fd000 r-xp 00000000 03:08 165785 /usr/X11R6/lib/libX11.so.6.2
400fd000-40100000 rw-p 000c4000 03:08 165785 /usr/X11R6/lib/libX11.so.6.2
40100000-40228000 r-xp 00000000 03:08 657644 /lib/libc-2.3.2.so
40228000-40230000 rw-p 00127000 03:08 657644 /lib/libc-2.3.2.so
40230000-40234000 rw-p 00000000 00:00 0
40234000-40236000 r-xp 00000000 03:08 657646 /lib/libdl-2.3.2.so
40236000-40237000 rw-p 00002000 03:08 657646 /lib/libdl-2.3.2.so
40237000-4023e000 r-xp 00000000 03:08 657651 /lib/libnss_compat-2.3.2.so
4023e000-4023f000 rw-p 00006000 03:08 657651 /lib/libnss_compat-2.3.2.so
4023f000-40251000 r-xp 00000000 03:08 657650 /lib/libnsl-2.3.2.so
40251000-40252000 rw-p 00011000 03:08 657650 /lib/libnsl-2.3.2.so
40252000-40254000 rw-p 00000000 00:00 0
40254000-4025c000 r-xp 00000000 03:08 657655 /lib/libnss_nis-2.3.2.so
4025c000-4025d000 rw-p 00007000 03:08 657655 /lib/libnss_nis-2.3.2.so
4025d000-40265000 r-xp 00000000 03:08 657653 /lib/libnss_files-2.3.2.so
40265000-40266000 rw-p 00008000 03:08 657653 /lib/libnss_files-2.3.2.so
40266000-40376000 rw-s 00000000 00:04 17435 /dev/zero (deleted)
40376000-4037d000 r-xp 00000000 03:08 163919 /usr/X11R6/lib/libXcursor.so.1.0
4037d000-4037e000 rw-p 00007000 03:08 163919 /usr/X11R6/lib/libXcursor.so.1.0
4037e000-40384000 r-xp 00000000 03:08 163923 /usr/X11R6/lib/libXrender.so.1.2
40384000-40385000 rw-p 00006000 03:08 163923 /usr/X11R6/lib/libXrender.so.1.2
40385000-40486000 rw-s 00000000 00:04 17438 /dev/zero (deleted)
40486000-40586000 rw-s 00000000 00:04 17439 /dev/zero (deleted)
40586000-405b8000 rw-p 00000000 00:00 0
405b8000-405d8000 rw-s 00000000 00:04 17446 /dev/zero (deleted)
bfff7000-c0000000 rwxp ffff8000 00:00 0
Debug info:
gdb /home/ralvy/dosemu-1.3.1/bin/dosemu.bin
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...attach 2917
info registers
backtrace full
detach
quit
(gdb) Attaching to program: /home/ralvy/dosemu-1.3.1/bin/dosemu.bin, process 2917
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
0x401a76f8 in waitpid () from /lib/libc.so.6
(gdb) eax 0xfffffe00 -512
ecx 0x8429fb4 138583988
edx 0x0 0
ebx 0xb85 2949
esp 0x8429f9c 0x8429f9c
ebp 0xbffff7c8 0xbffff7c8
esi 0xb65 2917
edi 0x811ca3e 135383614
eip 0x401a76f8 0x401a76f8
eflags 0x200246 2097734
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x0 0
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
mxcsr 0x1f80 8064
orig_eax 0x7 7
(gdb) #0 0x401a76f8 in waitpid () from /lib/libc.so.6
No symbol table info available.
#1 0x000003e8 in ?? ()
No symbol table info available.
#2 0x0808ad30 in printer_write ()
No symbol table info available.
#3 0x40115dc6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) Detaching from program: /home/ralvy/dosemu-1.3.1/bin/dosemu.bin, process 2917
(gdb)
leavedos(4|0x4) called - shutting down
leavedos() called from within a signal context!