dosemu crashes on startup

Bug #66598 reported by Shaya Potter
10
Affects Status Importance Assigned to Milestone
dosemu (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

this is the boot.log that it generates

this is on edgy w/ a 2.6.17-10-generic kernel and just trying to boot a plain dosemu-freedos (i.e. just installed), it crashes the same if run as root or normal user (log below is normal user)

I chmod u+s /usr/bin/dosemu.bin

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
debug flags: -a+cw
CONF: Enabling 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: dosemu running on _xterm
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: 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: -Plp t: 20 port: 0
CONF: not allowing speaker port access
CONF: Packet Driver disabled.
device: /var/lib/dosemu/freedos type 4 h: -1 s: -1 t: -1 drive C:
CONF: config variable c_system unset
CONF: not enough privilege to define config variable c_user
CONF: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000)
DBG_FD already set
DOSEMU-1.2.2.0 is coming up on Linux version 2.6.17-10-generic
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 0xbfa5b000, top 0xbfa71000, esp=0xbfa6d850
major = 136 minor = 1
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.1.2.5 2004/02/10 00:36:26 bartoldeman 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: 0x00000004 cr2: 0x468a5b2d
eip: 0x468a5b2d esp: 0xbfa1ffb5 eflags: 0x00210282
cs: 0x0073 ds: 0x007b es: 0x007b ss: 0x007b
Page fault: read instruction to linear address: 0x468a5b2d
CPU was in user mode
Exception was caused by non-available page
  VFLAGS(b): 010000001010000010
EAX: e8c931f0 EBX: 00003440 ECX: f71b26cd EDX: 00000003 VFLAGS(h): 00210282
ESI: 00000024 EDI: 000069e8 EBP: 00000344
CS: 0073 DS: 007b ES: 007b FS: 0000 GS: 0033
FLAGS: SF IF RF IOPL: 0
OOPS : ERROR: Fault handler re-entered! signal=11 _trapno=0xE
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0e errorcode: 0x00000004 cr2: 0x468a5b23
eip: 0x0807d350 esp: 0x0840a2c0 eflags: 0x00210202
cs: 0x0073 ds: 0x007b es: 0x007b ss: 0x007b
Page fault: read instruction to linear address: 0x468a5b23
CPU was in user mode
Exception was caused by non-available page
  VFLAGS(b): 010000001000000010
EAX: 00000007 EBX: 00000000 ECX: 00000a1f EDX: 00000000 VFLAGS(h): 00210202
ESI: 468a5b2d EDI: 0840a344 EBP: 08128d61
CS: 0073 DS: 007b ES: 007b FS: 0000 GS: 0033
FLAGS: IF RF IOPL: 0
OOPS : 77 38 90 8d b4 26 00 00 00 00 -> 0f b6 44 33 f6 43 c7 04 24 0a
System info:
 linux-gate.so.1 => (0xffffe000)
 libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7fd0000)
 libXext.so.6 => /usr/lib/libXext.so.6 (0xb7fc3000)
 libX11.so.6 => /usr/lib/libX11.so.6 (0xb7efa000)
 libslang.so.2 => /lib/libslang.so.2 (0xb7e41000)
 libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e1b000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e17000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7ce3000)
 libXau.so.6 => /usr/lib/libXau.so.6 (0xb7ce0000)
 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7cdb000)
 /lib/ld-linux.so.2 (0x80000000)
glibc 2.4
NPTL 2.4
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Linux dent 2.6.17-10-generic #2 SMP Tue Oct 10 19:45:28 UTC 2006 i686 GNU/Linux
00000000-00010000 rwxs 00010000 00:08 106135589 /SYSV00000000 (deleted)
00010000-000a0000 rwxp 00010000 00:00 0
000a0000-000c1000 rwxs 00020000 00:08 106135589 /SYSV00000000 (deleted)
000c1000-00100000 rwxp 000c1000 00:00 0
00100000-00110000 rwxs 00000000 00:08 106135589 /SYSV00000000 (deleted)
08048000-08177000 r-xp 00000000 03:03 1625149 /usr/bin/dosemu.bin
08177000-081a3000 rwxp 0012f000 03:03 1625149 /usr/bin/dosemu.bin
081a3000-084e3000 rwxp 081a3000 00:00 0 [heap]
b5d54000-b7b5e000 rwxs 00000000 00:08 106135589 /SYSV00000000 (deleted)
b7b5e000-b7b67000 r-xp 00000000 03:03 3605524 /lib/tls/i686/cmov/libnss_files-2.4.so
b7b67000-b7b69000 rwxp 00008000 03:03 3605524 /lib/tls/i686/cmov/libnss_files-2.4.so
b7b69000-b7b71000 r-xp 00000000 03:03 3605526 /lib/tls/i686/cmov/libnss_nis-2.4.so
b7b71000-b7b73000 rwxp 00007000 03:03 3605526 /lib/tls/i686/cmov/libnss_nis-2.4.so
b7b73000-b7b85000 r-xp 00000000 03:03 3605521 /lib/tls/i686/cmov/libnsl-2.4.so
b7b85000-b7b87000 rwxp 00011000 03:03 3605521 /lib/tls/i686/cmov/libnsl-2.4.so
b7b87000-b7b89000 rwxp b7b87000 00:00 0
b7b89000-b7b90000 r-xp 00000000 03:03 3605522 /lib/tls/i686/cmov/libnss_compat-2.4.so
b7b90000-b7b92000 rwxp 00006000 03:03 3605522 /lib/tls/i686/cmov/libnss_compat-2.4.so
b7ba9000-b7bdc000 r-xp 00000000 03:03 819383 /usr/lib/locale/en_US/LC_CTYPE
b7bdc000-b7cb3000 r-xp 00000000 03:03 819232 /usr/lib/locale/en_US/LC_COLLATE
b7cb3000-b7cb5000 rwxp b7cb3000 00:00 0
b7cb5000-b7cb9000 r-xp 00000000 03:03 1622706 /usr/lib/libXdmcp.so.6.0.0
b7cb9000-b7cba000 rwxp 00003000 03:03 1622706 /usr/lib/libXdmcp.so.6.0.0
b7cba000-b7cbc000 r-xp 00000000 03:03 1622686 /usr/lib/libXau.so.6.0.0
b7cbc000-b7cbd000 rwxp 00001000 03:03 1622686 /usr/lib/libXau.so.6.0.0
b7cbd000-b7dea000 r-xp 00000000 03:03 3605039 /lib/tls/i686/cmov/libc-2.4.so
b7dea000-b7dec000 r-xp 0012c000 03:03 3605039 /lib/tls/i686/cmov/libc-2.4.so
b7dec000-b7dee000 rwxp 0012e000 03:03 3605039 /lib/tls/i686/cmov/libc-2.4.so
b7dee000-b7df1000 rwxp b7dee000 00:00 0
b7df1000-b7df3000 r-xp 00000000 03:03 3605518 /lib/tls/i686/cmov/libdl-2.4.so
b7df3000-b7df5000 rwxp 00001000 03:03 3605518 /lib/tls/i686/cmov/libdl-2.4.so
b7df5000-b7e19000 r-xp 00000000 03:03 3605519 /lib/tls/i686/cmov/libm-2.4.so
b7e19000-b7e1b000 rwxp 00023000 03:03 3605519 /lib/tls/i686/cmov/libm-2.4.so
b7e1b000-b7ea4000 r-xp 00000000 03:03 3604529 /lib/libslang.so.2.0.6
b7ea4000-b7eb3000 rwxp 00088000 03:03 3604529 /lib/libslang.so.2.0.6
b7eb3000-b7ed4000 rwxp b7eb3000 00:00 0
b7ed4000-b7f9a000 r-xp 00000000 03:03 1624246 /usr/lib/libX11.so.6.2.0
b7f9a000-b7f9d000 rwxp 000c5000 03:03 1624246 /usr/lib/libX11.so.6.2.0
b7f9d000-b7fa9000 r-xp 00000000 03:03 1624461 /usr/lib/libXext.so.6.4.0
b7fa9000-b7faa000 rwxp 0000c000 03:03 1624461 /usr/lib/libXext.so.6.4.0
b7faa000-b7fae000 r-xp 00000000 03:03 1624505 /usr/lib/libXxf86vm.so.1.0.0
b7fae000-b7faf000 rwxp 00003000 03:03 1624505 /usr/lib/libXxf86vm.so.1.0.0
b7fb5000-b7fb6000 r-xp 00000000 03:03 819230 /usr/lib/locale/en_US/LC_NUMERIC
b7fb6000-b7fb7000 r-xp 00000000 03:03 819231 /usr/lib/locale/en_US/LC_TIME
b7fb7000-b7fb8000 r-xp 00000000 03:03 819233 /usr/lib/locale/en_US/LC_MONETARY
b7fb8000-b7fb9000 r-xp 00000000 03:03 917584 /usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
b7fb9000-b7fba000 r-xp 00000000 03:03 819234 /usr/lib/locale/en_US/LC_PAPER
b7fba000-b7fbb000 r-xp 00000000 03:03 819236 /usr/lib/locale/en_US/LC_NAME
b7fbb000-b7fbc000 r-xp 00000000 03:03 819237 /usr/lib/locale/en_US/LC_ADDRESS
b7fbc000-b7fbd000 r-xp 00000000 03:03 819238 /usr/lib/locale/en_US/LC_TELEPHONE
b7fbd000-b7fbe000 r-xp 00000000 03:03 819248 /usr/lib/locale/en_US/LC_MEASUREMENT
b7fbe000-b7fc5000 r-xs 00000000 03:03 1623523 /usr/lib/gconv/gconv-modules.cache
b7fc5000-b7fc6000 r-xp 00000000 03:03 819333 /usr/lib/locale/en_US/LC_IDENTIFICATION
b7fc6000-b7fc8000 rwxp b7fc6000 00:00 0
b7fc8000-b7fe1000 r-xp 00000000 03:03 3604660 /lib/ld-2.4.so
b7fe1000-b7fe3000 rwxp 00018000 03:03 3604660 /lib/ld-2.4.so
bf9e0000-bfa71000 rwxp bf9e0000 00:00 0 [stack]
ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
Debug info:
gdb /usr/bin/dosemu.bin
attach 949
info registers
backtrace full
detach
quit
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) Attaching to program: /usr/bin/dosemu.bin, process 949
ptrace: Operation not permitted.
(gdb) The program has no registers now.
(gdb) No stack.
(gdb) (gdb)
leavedos(4|0x4) called - shutting down
leavedos() called from within a signal context!

Revision history for this message
bmarsh (bmarsh-bmarsh) wrote :

This is somewhat of a show stopper for me in switching from another distro to Kubuntu. Yet it doesn't seem to have much importance. Just casting my vote for a fix.

It is crashing on a missing page or invalid page.

Revision history for this message
James Stansell (jamesstansell) wrote :

I'm also seeing this same problem on edgy.

Changed in dosemu:
status: Unconfirmed → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.