How to solve this memory problem ah? Expert help me!!
Users questions: Heading for the content of the application error 0x00000000 referenced 0x084A113C instruction memory, the memory can not be read, to terminate the program, click OK! !
Experts answer:Windows system memory error occurs using the Windows operating system without panic System may sometimes encounter this error message: "0X ???????? 0x00000000 instruction referenced memory, the memory can not be written", and then applications are closed. If they go to some "master" and got an answer often is "Windows is that Kind of instability "of the type of outrage and disdain. In fact, this error is not necessarily a Windows instability. In this paper, to a simple analysis of the common causes of this error. 1, the application did not check the memory process requires a memory allocation failure to save data, you need to call the operating system provide For the "function function" to apply, if the memory allocation successful, the function will be opened by the new address of the memory area returned to the application, the application can use this memory through this address. This is the "dynamic memory allocation", the memory address that is programmed in the "pointers." Memory is not always move At any instant, inexhaustible, and sometimes memory allocation will fail. When the allocation fails, the system function will return a 0 value, then returns the value "0" has not indicated that the newly opened pointer, but the system to the application to issue a notice in an error. As an application, in the memory after each application Should check the return value is 0, and if so, it means a fault, should take some measures to save, which enhances the process of "robustness." If the application does not check the error, it would be in accordance with the "thinking inertia" that this value is a pointer to it can be assigned to continue in operation after Line to use this memory. The real address of memory area 0 is the computer system saved the most important "interrupt descriptor table" is absolutely not allowed applications. In the absence of operating system protection mechanisms (such as DOS), to write data to this address will result in immediate crash, and in the robust operating system, Such as Windows, this action will protect the mechanism of the system was immediately captured, the result is forcibly closed by the operating system, application errors, to prevent its Cuowukuotai. At this time, there will be above the "write memory" error, and that the referenced memory address "0x0000000 0. "Memory allocation failure causes of the many, not enough memory, the system does not match the version of the function and so may be affected. Therefore, this allocation failure more common in the operating system to use for a long time, the installation of a variety of applications (including accidentally "install" the virus program), change the number of system parameters And system document. Second, the application itself BUG quoted as abnormal use of dynamically allocated memory pointer in an application, sometimes there is such a situation: trying to write a program "should be available" in memory, but I do not know why, this anticipated Available pointer has expired. Have May be "forgotten" to the operating system requirements allocation process itself may also be written off at some point have this memory and "no attention" and so on. Written off by the system memory recall, their access is no longer the application process, so read and write operations, will also Chufa system's protection mechanisms, Qi Tu " Illegal "process only end is to be terminated operations running, recycling all of the resources. The computer world, legal or effective, and much more stringent than the human ah! Situations like this are part of the program itself BUG, you can often be a particular operation to reproduce the error under the order. invalid pointer is not always 0, therefore Error in the memory address is not necessarily as "0x00000000", but other random number. If the system has been mentioned frequently error, the following suggestions may help: 1. View the system if there are trojans or viruses. Such procedures are often irresponsible to modify the control system System, leading to the operating system exception. Normally should strengthen information security awareness, executable programs from unknown sources, no curiosity. 2. Update the OS re-installation program copies the correct version of system files, modified system parameters. Sometimes the operating system itself will also have BUG, to note Intended to install the official release of the upgrade process. 3. Try the new version of the application. CRC Technology Forum Reference