CHARON-VAX - Segmentation violation when starting a service

Table of contents

Problem

A CHARON virtual machine can be started using the launcher but fails with segmentation violation when started as a service

Related versions: CHARON-VAX V4.71 running on Windows 7 and Windows 2008 R22

1: other versions could be affected

2: case not reproduced on other Windows versions

(warning) After an upgrade or a patch installation, the workaround must be applied again

Example - Successful start from the launcher


Example - failure to start the service

Solution

  • Open the System Properties, Advanced system settings or run "systempropertiesadvanced" from the Windows Run command (Windows Key + R ), click on Performance Settings.

  • Select the "Data Execution Prevention" tab then:

    • either verify "Turn on DEP for all programs and services except those I select" is checked, find the emulator in the list, remove it and add it again (no reboot necessary).

    • or check the "Turn on DEP for essential Windows programs and services only" box (reboot mandatory).
      (lightbulb) This is the recommended solution to avoid applying the workaround after an upgrade or a patch installation.

  • Start the CHARON service

  • If the service still fails to start, please contact support

 

Example - open Advanced System Properties

Example - remove DEP entry

Example - add DEP entry manually

(info) Emulator exe file is in this case located in "C:\Program Files (x86)\CHARON\Build_17101\x86" folder

Example - restart the service



© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.