Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What is the error in solving the sigtrap in Runtime Error?
What is the error in solving the sigtrap in Runtime Error?

Runtime Error code name introduces SIG (Signal, Linux system signal) part: (4) SIGILL executes an illegal instruction. Usually because there is an error in the executable file itself, or trying to execute the data segment. It also occurs when the stack overflows This signal may be generated. (6) SIGABRT is generated when the program finds an error by itself and calls abort. (6) SIGIOT is generated by the iot instruction on the PDP-11, and is the same as SIGABRT on other machines. (7) SIGBUS Illegal address, including memory Address alignment error. eg: Accessing a four-word integer, but its address is not a multiple of 4. (8) SIGFPE is issued when a fatal arithmetic operation error occurs. This includes not only floating point operation errors, but also overflows and all other arithmetic errors such as division by 0. (11) SIGSEGV attempts to access memory that is not allocated to itself, or attempts to write data to a memory address that does not have write permission. There are many reasons for this error, and there are three main reasons. : 1. The data subscript is out of bounds, including upper bound and lower bound. 2. Stack overflow, such as too many recursion levels. 3. Improper use of pointers. FPC (error code generated by Free Pascal): Since the OJ system has restricted the behavior of the program, the following part of the code will not actually appear. It is listed here only for the sake of relatively complete documentation.

1 Invalid function number 2 File not found 3 Path not found 4 Too many open files 5 File access denied 6 Invalid file handle 12 Invalid file access code Incorrect file access code 15 Invalid drive number Invalid drive number 16 Cannot remove current directory Cannot move the current directory 17 Cannot rename across drives Cannot change the file name across drives 100 Disk read error Disk read error 101 Disk write error Disk write error 102 File not assigned File not associated ) is incorrect. 150 Disk is write-protected 151 Bad drive request struct length 152 Drive not ready 154 CRC error in data 156 Disk seek error 157 Unknown media type 158 Sector Not Found 159 Printer out of paper 160 Device write fault 161 Device read fault 162 Hardware failure 200 Division by zero The dividend is 0. 201 Range check error If you set the orientation check when compiling your program, the reasons may be: The array access exceeds the declared range. Trying to assign a value to a variable Exceeds its scope (such as enumeration type). 202 Stack overflow error Stack overflow The stack has grown beyond the maximum value (in which case the size of local variables should be reduced to avoid this error), or the stack has become corrupt. Only when the stack This error occurs only after checking. 203 Heap overflow error Heap overflow The heap has grown beyond the upper limit. This is caused when trying to allocate memory exlicitly with New, GetMem or ReallocMem, or when a class or object instance is created and no memory is left . Please note that, by default, Free Pascal provides a growing heap, i.e. the heap will try to allocate more memory if needed. However, if the heap has reached the maximum size allowed by the operating system or hardware, then you will get this error. 204 Invalid pointer operation Incorrect pointer operation using the wrong pointer (specifically, Nil) when using Dispose or Freemem 205 Floating point overflow You are trying to use or generate a real number that is too large. 206 Floating point underflow You are trying to use Or produce a real number that is too small. 207 Invalid floating point operation The wrong floating point operation may be that you use negative numbers when taking square roots or logarithms. 210 Object not initialized The object is not initialized. When compiled with range checking on, a program will report this error if you call a virtual method without having called istr constructor. 211 Call to abstract method 212 Stream registration error 213 Collection index out of range 214 Collection overflow error 215 Arithmetic overflow error The number is out of range. For example, 3000000000 exceeds the range of long integer. 216 General Protection fault 217 Unhandled exception occurred 219 Invalid typecast 227 Assertion failed error Original address: http://www.tkz.org.ru/2009-02/runtime-error-%E4%BB%A3%E5%8F%B7%E4%BB%8B% E7%BB%8D/ Kong Niu, give it to me~