Questions and Answers :
mm_sbcl.exe 0xc0000005 crashes probably due to DEP
Posted 3 Jul 2009 by w42
My Mindmodeling tasks were bailing on me after only few minutes of running. This seem to have started after I updated to BOINC 6.6 from 6.4 on my Vista x64 system.
For an example, see my last task result, before I disabled MM. Result exit status was -1073741819 (0xc0000005) with app error running lisp: 0xc0000005 in the stderr output. These were accompanied with the Vista mm_sbcl.exe has stopped working and will be closed dialog box. Event log recorded this event for the crash:
Faulting application mm_sbcl.exe, version 0.0.0.0, time stamp 0x47ab26fe, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x2239a59d, process id 0x13c4, application start time 0x01c9f62772b8c6e6.
I got this same error when I tried to run mm_sbcl.exe manually. I realized that these could be due to having DEP (Data Execution Prevention) feature enabled on my system (could be on by default for all applications in x64 but I'm not sure). It seems that after I disabled DEP for the mm_sbcl.exe only, mm_sbcl no longer crashes when run manually from the command line.
I haven't verified my findings yet since there hasn't been any new work to test my theory on. But I'm confident disabling DEP for mm_sbcl has fixed my issues and I can once again run MM.
I just thought to let you know that DEP might prevent mm_sbcl.exe working since I didn't find any mention of it in MM forums. Depending on what mm_sbcl.exe does you could probably fix it so that it works even under DEP or simply optout it from DEP by linking it differently.