Hallo !

 I have found a reproduceable bug in dosemu-0.98-4, while trying to run
 cadsoft's free available PCB-Layout Editor "Eagle". 


 TOC:
 - Description
 - Why I thing its dosemus fault
 - How to reproduce
 - My configuration
 - Files for reproduction

 In the following "mouse" refer to a serial mouse.


 Description:
 Dosemu-98 can succsessfully run eagle in console-graphics mode and (as
 long as you do not touch the mouse) in a x-window. In consolemode eagle
 run stable if dosemus internal mousedriver is disabled, and a
 dos-mousedriver is loaded or no mouse used at all.
 If dosemus internal mousedriver is enabled, but the mouse doesn't move,
 all eagle-funktions available via keyboard (virtualy all) work stable.
 As soon as the mouse moves, dosemu crashs, emitting a lot of
 errormessages, saying a DPMI-Error (exact messages in attachment #1
 "dosemu.out").


 Why I think it is dosemus fault:
 I think its dosemus fault, because everything works well, if I use a
 native dos mousedriver (in this case a "noname" driver supporting
 Mousesystem and Microsoft mouse) and not the dosemu-internal-driver.


 How to reproduce:
 - Get the two needed files from cadsofts www-page (s. "Files"). They are
   freely available, there is no registration or anything else, to my best
   knowledge. You need about 13 MB of diskspace, every thing went in one
   single directory.
 - Run the self-extracting archive "edp355r1.exe".
 - Make sure you do not use dosemus internal mousedriver
   or
   turn your mouse on its back, so you can't accidently generate
   mouse-move-events
 - run eagle, type in the installcode found in "license.key"
 - try some keyboard commands (like (F)ile->(N)ew etc.)
   everything shoud work.
 - exit from eagle ((F)ile->E(x)it)
 - make sure dosemus internal mousedriver in disabled and start an
   dos-based mousedriver
 - again play with eagle, everything shoud work
 - exit eagle
 - make sure, dosemus internal mousedriver is enabled, and you do not move
   your mouse by accident.
 - again, play with eagle, everything works well
 - move your mouse
   dosemu crashes.

 This is true for console-mode as well as xdos, expect that I don't know a
 way running xdos with an dos-native-mousedriver, since x needs the mouse
 too.


 My configuration:
 - CPU: AMD 486 @ 66 Mhz
 - RAM: 32 MB
 - Mainboard: Intel, Chipset ???
 - Graphic:  Trident tgui9440
 - Sound: -
 - Linux: Suse 5.3 (Kernel: 2.0.35)
 - DOSEMU: dosemu-0.98.4-1.rpm from dosemu.org
 - dosemu.conf: Attachment #2 "dosemu.conf"


 Files:
 Installation-instruction and general Info (english)      
 <http://www.cadsoft.de/freeware.htm>
 To run eagle you need two freely available file:
 <ftp://212.6.150.2/pub/program/edp355r1.exe> (3,242,675 Bytes)
 <ftp://212.6.150.2/pub/program/license.key>  (2,708 Bytes)


 Bjoern


P.S.: I tried hard, to write "readable" english, please ignore
      any mistakes. For private mail, feel free to use english
      or german.

-- 
+-------------------------------------------------------------+
| Bj�rn Kahl       +++   <[EMAIL PROTECTED]>  |
| Raum :  II 204   +++   Tel. +49 431 880 3934                |
| Institut f�r Experimentelle und Angewandte Physik, Uni Kiel |
+-------------------------------------------------------------+
robo-mam:/root # xdos -C
Running on CPU=486, FPU=1, rdtsc=0
ERROR: DPMI: DPMI_pm_procedure_running = 0x0010
ERROR: DPMI: DPMI_pm_procedure_running = 0x0011
ERROR: DPMI: DPMI_pm_procedure_running = 0x0012
ERROR: DPMI: DPMI_pm_procedure_running = 0x0013
ERROR: DPMI: DPMI_pm_procedure_running = 0x0014
ERROR: DPMI: DPMI_pm_procedure_running = 0x0015
ERROR: DPMI: DPMI_pm_procedure_running = 0x0016
ERROR: DPMI: DPMI_pm_procedure_running = 0x0017
ERROR: DPMI: DPMI_pm_procedure_running = 0x0018
ERROR: DPMI: DPMI_pm_procedure_running = 0x0019
ERROR: DPMI: DPMI_pm_procedure_running = 0x001a
ERROR: DPMI: DPMI_pm_procedure_running = 0x001b
ERROR: DPMI: DPMI_pm_procedure_running = 0x001c
ERROR: DPMI: DPMI_pm_procedure_running = 0x001d
ERROR: DPMI: DPMI_pm_procedure_running = 0x001e
ERROR: DPMI: DPMI_pm_procedure_running = 0x001f
ERROR: DPMI: DPMI_pm_procedure_running = 0x0020
ERROR: DPMI: DPMI_pm_procedure_running = 0x0021
ERROR: DPMI: DPMI_pm_procedure_running = 0x0022
ERROR: DPMI: DPMI_pm_procedure_running = 0x0023
ERROR: DPMI: DPMI_pm_procedure_running = 0x0024
ERROR: DPMI: DPMI_pm_procedure_running = 0x0025

 [ ... every number in increasing order ]

ERROR: DPMI: DPMI_pm_procedure_running = 0x014f
ERROR: DPMI: DPMI_pm_procedure_running = 0x0150
ERROR: DPMI: DPMI_pm_procedure_running = 0x0151
ERROR: DPMI: DPMI_pm_procedure_running = 0x0152
ERROR: DPMI: DPMI_pm_procedure_running = 0x0153
ERROR: DPMI: DPMI_pm_procedure_running = 0x0154
ERROR: DPMI: DPMI_pm_procedure_running = 0x0155
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0d  errorcode: 0x00000000  cr2: 0x000a4000
eip: 0x08079ed4  esp: 0xbffff8a8  eflags: 0x00010282
cs: 0x0023  ds: 0x002b  es: 0x002b  ss: 0x002b
General protection exception
GDT selector: 0x0000
Exception was caused by DOSEMU
robo-mam:/root # 
$_debug = "+a+chM"
$_features = ""
$_timint = (on)
$_mathco = (on)
$_cpu = (80486)
$_rdtsc = (on)
$_cpuspeed = (0)
$_pci = (off)
$_xms = (4096)
$_ems = (4096)
$_ems_frame = (0xe000)
$_dpmi = (8192)
$_dosmem = (640)
$_hardware_ram = ""
$_secure = "ngd"
$_odd_hosts = ""
$_diskless_hosts = ""
$_emusys = ""
$_emubat = ""
$_emuini = ""
$_hogthreshold = (0)
$_irqpassing = ""
$_speaker = "native"
$_term_char_set = "latin1"
$_term_color = (on)
$_term_updfreq = (4)
$_escchar = (30)
$_rawkeyboard = (on)
$_layout = "de-latin1"
$_keybint = (on)
$_X_updfreq = (5)
$_X_title = "DOS in a BOX"
$_X_icon_name = "xdos"
$_X_keycode = (on)
$_X_blinkrate = (32)
$_X_font = ""
$_X_mitshm = (on)
$_X_sharecmap = (off)
$_X_fixed_aspect = (on)
$_X_aspect_43 = (on)
$_X_lin_filt = (off)
$_X_bilin_filt = (off)
$_X_mode13fact = (2)
$_X_winsize = ""
$_X_gamma = (1.0)
$_X_vgaemu_memsize = (1024)
$_X_lfb = (on)
$_X_pm_interface = (on)
$_X_mgrab_key = ""
$_X_vesamode = ""
$_video = "vga"
$_console = (on)
$_graphics = (on)
$_videoportaccess = (on)
$_vbios_seg = (0xc000)
$_vbios_size = (0x10000)
$_vmemsize = (1024)
$_chipset = "trident"
$_dualmon = (off)
$_vbootfloppy = ""
$_floppy_a = "threeinch"
$_floppy_b = ""
#$_hdimage = "hdimage.first /dev/hda4"
$_hdimage = "/dev/hda4 hdimage.first"
$_hdimage_r = $_hdimage
$_aspi = ""
$_com1 = "/dev/cua0"
#$_com1 = "/dev/ttyef"
$_com2 = ""
$_com3 = ""
$_com4 = ""
$_ttylocks = ""
$_mouse = ""
$_mouse_dev = ""
$_mouse_flags = ""
$_mouse_baud = (0)
$_printer = "lp"
$_printer_timeout = (20)
$_ports = ""
$_ipxsupport = (off)
$_novell_hack = (off)
$_vnet = (off)
$_sound = (off)
$_sb_base = (0x220)
$_sb_irq = (5)
$_sb_dma = (1)
$_sb_dsp = "/dev/dsp"
$_sb_mixer = "/dev/mixer"
$_mpu_base = "0x330"

Reply via email to