RFID tunnel monitoring software, custom plug-in framework, QT interface, embedded python for secondary development interface (isolated from Beijing frog video and other peripheral communication ), when the system is started, "Microsoft runtime error r6034 may be caused by stack corruption... "Information, so while cursing Microsoft, while tracking various plug-ins, finally found:
1. When the custom XUL plug-in loads QT, QT loads "winsxs \... \ msvcr90.dll ";
2. Import the uuid module when loading the python interpreter (python3.2. in py 425th, when libname = 'C', ctypes. cdll (ctypes. util. find_library (libname) causes r6034 exceptions;
3. Locate the find_library function in ctypes/util. py and find that msvcrt *. dll is loaded directly when libname = 'C' or 'M', that is, msvcr90.dll is loaded.ProgramA copy of "msvcr90.dll" is copied under the directory, so the system loads a new "msvcr90.dll", and two copies of msvcr90.dll are loaded in the same process ", therefore, the error "r6034" occurs;
Solution: Remove "msvcr90.dll" under the current application directory.