Blue screen sometimes causes Intellij to overwrite the contents of an open file with debug xml

I had a blue screen caused by ftdisk.sys and a file that was open was overwritten with:

Sometimes this can be resolved with Intellij in that the previous version of the file is in the history but in this instance it was not.

1. Please correct this dangerous error. A similar problem  occurs with Eclipse (project corruption, with the mangled contents of  files being written to the directory causing garbled files on the disk  and loss of data) which was the reason I switched from it.
2. Please specify what the behavior of the local history is? Are there changes remembered in the local history after Intellij is closed?

I have ommited the open file nodes from the xml.

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ChangeListManager">
    <list default="true" id="f07184a0-9b72-4696-a8ec-9f956fbe48f2" name="Default" comment="" />
    <ignored path="default.iws" />
    <ignored path=".idea/workspace.xml" />
    <option name="TRACKING_ENABLED" value="true" />
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
    <option name="LAST_RESOLUTION" value="IGNORE" />
  </component>
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
  <component name="CreatePatchCommitExecutor">
    <option name="PATCH_PATH" value="" />
  </component>
  <component name="DaemonCodeAnalyzer">
    <disable_hints />
  </component>
  <component name="DebuggerManager">
    <breakpoint_any>
      <breakpoint>
        <option name="NOTIFY_CAUGHT" value="true" />
        <option name="NOTIFY_UNCAUGHT" value="true" />
        <option name="ENABLED" value="false" />
        <option name="LOG_ENABLED" value="false" />
        <option name="LOG_EXPRESSION_ENABLED" value="false" />
        <option name="SUSPEND_POLICY" value="SuspendAll" />
        <option name="COUNT_FILTER_ENABLED" value="false" />
        <option name="COUNT_FILTER" value="0" />
        <option name="CONDITION_ENABLED" value="false" />
        <option name="CLASS_FILTERS_ENABLED" value="false" />
        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
        <option name="CONDITION" value="" />
        <option name="LOG_MESSAGE" value="" />
      </breakpoint>
      <breakpoint>
        <option name="NOTIFY_CAUGHT" value="true" />
        <option name="NOTIFY_UNCAUGHT" value="true" />
        <option name="ENABLED" value="false" />
        <option name="LOG_ENABLED" value="false" />
        <option name="LOG_EXPRESSION_ENABLED" value="false" />
        <option name="SUSPEND_POLICY" value="SuspendAll" />
        <option name="COUNT_FILTER_ENABLED" value="false" />
        <option name="COUNT_FILTER" value="0" />
        <option name="CONDITION_ENABLED" value="false" />
        <option name="CLASS_FILTERS_ENABLED" value="false" />
        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
        <option name="CONDITION" value="" />
        <option name="LOG_MESSAGE" value="" />
      </breakpoint>
    </breakpoint_any>
    <breakpoint_rules />
    <ui_properties />
  </component>
  <component name="FavoritesManager">
    <favorites_list name="default" />
  </component>
  <component name="FileEditorManager">
    <leaf>
      <file leaf-file-name="open-files.hx" pinned="false" current="true" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/open-files.hx">
          <provider selected="true" editor-type-id="text-editor">
            <state line="129" column="25" selection-start="5164" selection-end="5164" vertical-scroll-proportion="0.6323877">
              <folding />
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="FindManager">
    <FindUsagesManager>
      <setting name="OPEN_NEW_TAB" value="false" />
    </FindUsagesManager>
  </component>
  <component name="Id

1 comment

I had the same problem in WebStorm - have several BSODs a day!

If you notice that the wrong file contents was loaded into the editor of a different file name early enough and before editing (otherwise WebStorm will auto save and therefore overwrite the file), you can close WebStorm, delete the .ide folder and restart WebStorm, and you're safe.

But I absolutely agree, this is a very dangerous bug - and no action so far (and no votes?).

1

Please sign in to leave a comment.