창은 이제 나오는데 생성된 창에서 제반 설정 완료하고 'start' 버튼을 누르면 에러나고 프로그램이 자동 종료된다 ㄷㄷㄷ
Qt creater에서 play를 이것저것 해보는데, 'debug' 모드에서 1번 내가 원하는 동작(CAN msg 전송)이 수행되었는데, 그 1번이 다였다. 계속 종료됨...
"Application Output'에 실행 될 때마다 로그가 남는줄 이제 알았다. 거기에서 에러 메시지를 발견!
FTH: (5528): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
"Fault tolerant heap"을 검색해보니,
링크 : http://msdn.microsoft.com/en-us/library/dd744764(v=vs.85).aspx
The Fault Tolerant Heap (FTH) is a subsystem of Windows 7 responsible for monitoring application crashes and autonomously applying mitigations to prevent future crashes on a per application basis. For the vast majority of users, FTH will function with no need for intervention or change on their part. However, in some cases, application developers and software testers may need to override the default behavior of this system.
이 window7 subsystem이 내가 실행하는 걸 막아왔구만;;;;;
Disabling Fault Tolerant Heap
- Caution Serious problems may occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems may require you to reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
After changing this value, restart the system. FTH will no longer activate for new applications.
Resetting the list of applications tracked by FTH
Fault Tolerant heap is self-managing and will autonomously stop applying in the case that mitigations are not effective for a given application. However, if you need to reset the list of applications for which FTH is mitigating problems (for example, if you are testing an application and need to reproduce a crash that FTH is mitigating), you can run the following command from an elevated command prompt:
- Rundll32.exe fthsvc.dll,FthSysprepSpecialize
- Caution Running this command will clear all FTH applications, so applications that are currently functioning properly may begin to crash again after running this command.
나는 그냥 'set the REG_DWORD value HKLM\Software\Microsoft\FTH\Enabled to 0.' 이걸로 아예 수행 못하게 해야겠다.
근데, 이러면 나중에 막 여러 프로그램들이 충돌되서 문제 생기는거 아닐까...
몰라.. 나 그냥 FTH 안쓸래.
==> 또, 위에 쓴게 문제더라도, 이 program을 받아서 사용할 사람도 이렇게 복잡한 과정을 수행해 줘야지 되능건가??? 몬가 이상하긴 하구만.... 쩝...