Article View: comp.os.ms-windows.setup.win3x
Article #55Re: dos application error 11
From: Steven Herschel
Date: Mon, 01 Apr 1996 00:00
Date: Mon, 01 Apr 1996 00:00
224 lines
7879 bytes
7879 bytes
Ian Fisher <Ian@yeolands.demon.co.uk> wrote:
>Can anyone help with this little teaser.
>
>Apricot xen-ls386sx 3meg ram wfwg 3.11 dos 6.2
>
>Not sure if this is a windows or dos problem, or both?
>
>1. Does anyone know what Dos error 11 means?
>2. Does anyone know of a way to resolve the problem?
>
Follows is a listing of al the dos errors.
Exception Errors with EMM386.SYS / EMM386.EXE
If you install the EMM386.EXE device driver included with MS-DOS, you may get the following error
message: EMM386 Exception error #13 @ xxxx:xxxxxxxx CODE xxxx
PRESS ENTER TO REBOOT.
The error means that the 80386 microprocessor has encountered a general protection violation.
Because the EMM386 driver operates the 80386 chip in virtual real mode, the microprocessor checks
for valid memory accesses. If a program tries to access memory that it is not allowed to access,
the 80386 chip generates an exception fault error, which is detected by EMM386. In essence,
EMM386 is reporting an error detected by the CPU in virtual mode.
Workaround
You should remove EMM386 to determine if problems still occur without it. If problems still occur,
correct them and reinstall EMM386.
The 12 hexadecimal digits following the error (represented by x in the above error message) are
the address of the machine language instruction following the instruction that caused the
exception error. This number is given in CS:EIP format, where CS is the code segment, and the EIP
is the instruction pointer (relative to the code segment). This value indicates where in memory
the CPU was executing instructions when the exception occurred. It is sometimes possible to
determine from this value what software caused the exception to occur.
This error should not occur on systems that are 100 percent IBM compatible. Because of the
hardware-intensive nature of the EMM386 device driver, strict IBM hardware compatibility is
required. If this error does occur on your system, the EMM386.SYS or EMM386.EXE device driver
may need to be modified by your machine's manufacturer.
List of Intel 80386 protected mode exception errors and their names:
Code Meaning
0 Divide error
1 Debugger interrupt
2 Nonmaskable interrupt
3 Breakpoint
4 Overflow interrupt
5 Array boundary violation
6 Invalid opcode
7 Coprocessor not available
8 Double fault
9 Coprocessor segment overrun
10 Invalid task state segment
11 Segment not present
12 Stack exception
13 General protection violation
14 Page fault
16 Coprocessor error
Extended Error Code Information
The following MS-DOS function provides detailed extended error information concerning a failed
Interrupt 21H function
call:
Interrupt 21H Function 59H - Get Extended Error Information
This routine returns codes named as the DOS extended error code, error class, recommended action,
and error locus.
The extended error code identifies exactly what occurred. The error class provides more
information identifying the error based on the internal workings of the operating system.
The recommended action codes are suggestions meant to help but are not solutions.
The error locus codes attempt to provide information about the origin of the error or what device
caused the error.
The MS-DOS function returns the four codes in the following registers:
Register Code returned
AX Extended error code
BH Error class
BL Recommended action
CH Error locus
Extended Error Codes
Hex Decimal Meaning
01 01 Function number invalid
02 02 File not found
03 03 Path not found
04 04 Too many open files
05 05 Access denied
06 06 Handle invalid
07 07 Memory control blocks destroyed
08 08 Insufficient memory
09 09 Memory block address invalid
0A 10 Environment invalid
0B 11 Format invalid
0C 12 Access code invalid
0D 13 Data invalid
0E 14 Unknown unit
0F 15 Disk drive invalid
10 16 Attempted to remove current directory
11 17 Not same device
12 18 No more files
13 19 Write-protected disk
14 20 Unknown unit
15 21 Drive not ready
16 22 Unknown command
17 23 Data error (CRC)
18 24 Bad request-structure length
19 25 Seek error
1A 26 Unknown media type
1B 27 Sector not found
1C 28 Printer out of paper
1D 29 Write fault
1E 30 Read fault
1F 31 General failure
20 32 Sharing violation
21 33 File-lock violation
22 34 Disk change invalid
23 35 FCB unavailable
24 36 Sharing buffer exceeded
25-31 37-49 Reserved
32 50 Unsupported network request
33 51 Remote machine not listening
34 52 Duplicate name on network
35 53 Network name not found
36 54 Network busy
37 55 Device no longer exists on network
38 56 NetBIOS command limit exceeded
39 57 Error in network adapter hardware
3A 58 Incorrect response from network
3B 59 Unexpected network error
3C 60 Remote adapter incompatible
3D 61 Printer queue full
3E 62 Not enough room for print file
3F 63 Print file was deleted
40 64 Network name deleted
41 65 Network access denied
42 66 Incorrect network device type
43 67 Network name not found
44 68 Network name limit exceeded
45 69 NetBIOS session limit exceeded
46 70 Temporary pause
47 71 Network request not accepted
48 72 Print or disk redirection paused
49-4F 73-79 Reserved
50 80 File already exists
51 81 Reserved
52 82 Cannot make directory
53 83 Fail on Int 24H (critical error handler)
54 84 Too many redirections
55 85 Duplicate redirection
56 86 Invalid password
57 87 Invalid parameter
58 88 Net write fault
Error Class Codes
Class Meaning
1 Out of resource
2 Temporary situation
3 Authorization
4 Internal
5 Hardware failure
6 System failure
7 Application program error
8 Not found
9 Bad format
10 Locked
11 Media
12 Already exist
13 Unknown
Recommended Action Codes
1 Retry. If not cleared in reasonable number of attempts, prompt user to Abort or Ignore.
2 Delay then retry. If not cleared in reasonable number of attempts, prompt user to Abort or
Ignore.
3 Get corrected information from user (bad filename or disk drive).
4 Abort application with cleanup.
5 Abort application without cleanup (cleanup may increase problems).
6 Ignore error.
7 Prompt user to correct error and then retry.
Error Locus Codes
1 Unknown
2 Block device (disk or disk emulator)
3 Network
4 Serial device
5 Memory related
An application program may use the MS-DOS Interrupt 21H Function 59H call when a function call
fails during the execution of the application. The program may take a number of possible different
actions as a result, which could include retrying the function, aborting, or just displaying the
DOS extended error code. For example, an application might display the following after a failed
interrupt call:
DOS extended error 27 /11 /4 /2
This represents:
Extended error 27 Sector not found
Error class 11 Media
Recommended action 4 Abort application with cleanup
Error locus 2 Block device (disk or disk emulator)
--
\|/
@-@
--oOO-(_)-OOo--
Steven Herschel
Internet:
h.a.6.helpdesksiep@openmail.csh44.siephag.simis.com
martine.steven@pi.net
Technical Details
Message-ID:
<4jov8o$k6k@wwwserv1.shell.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<828186215snz@yeolands.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1036bc,cb1f9776bd46b801 X-Google-Attributes: gid1036bc,public X-Google-Thread: 107cbb,cb1f9776bd46b801 X-Google-Attributes: gid107cbb,public X-Google-Thread: fe8f2,cb1f9776bd46b801 X-Google-Attributes: gidfe8f2,public From: Steven Herschel <h.a.6. helpdesksiep@openmail.csh44.siephag.simis.com> Subject: Re: dos application error 11 Date: 1996/04/01 Message-ID: <4jov8o$k6k@wwwserv1.shell.nl> X-Deja-AN: 145240090 references: <828186215snz@yeolands.demon.co.uk> content-type: text/plain; charset=us-ascii organization: SCIS B.V. mime-version: 1.0 newsgroups: comp.os.ms-windows.setup.win3x,comp.os.msdos.apps,demon.tech.pc x-mailer: Mozilla 1.22 (Windows; I; 16bit)