Re: ERROR: BUG: dosemu touched the protected video memory!!!

Bart Oldeman
2004-01-09T22:55:22Z

On Fri, 9 Jan 2004, Julius Schwartzenberg wrote:

> When I run a program such as Duke Nukem, Dosemu quits with the following
> error:
> ERROR: BUG: dosemu touched the protected video memory!!!
> ERROR: cpu exception in dosemu code outside of VM86()!
> trapno: 0x0e errorcode: 0x00000006 cr2: 0x000a7000
> eip: 0x08092657 esp: 0xbffff290 eflags: 0x00200246
> cs: 0x0023 ds: 0x002b es: 0x002b ss: 0x002b
> Page fault: write instruction to linear address: 0x000a7000
> CPU was in user mode
> Exception was caused by non-available page
> ERROR: leavedos() called from within a signal context!
> It works fine when running with direct video access on a console.

This can be tricky depending on where dosemu is. One such instance was
solved fairly recently. Can you check where 0x8092657 (the value behind
eip:) is in bin/dosemu.map or by using gdb?

Were you talking about duke nukem 3d or some earlier duke?

> I tried it with Dosemu 1.2.0 RC1 and stable 2003.

The "DoSEMU stable 2003" you saw is a joke (witness DoS = denial of
service) -- it should have been called "cvs head 31 Dec 2003". Anyway I
got tired of him so it no longer exists.

Bart