Forum Discussion

matsu's avatar
matsu
Icon for New Contributor rankNew Contributor
1 month ago

ModelSim-Intel FPGA Starter Edition 18.1 exits with code 211 when pressing Restart button

Hello,

 

I am using ModelSim-Intel FPGA Starter Edition included with Quartus Prime Lite Edition 18.1.

 

When I press the Restart button in the ModelSim GUI after running RTL simulation, ModelSim exits with the following message:

 

"ModelSim is exiting with code 211.

Check the transcript file for more information on the fatal error."

 

Environment:

- Quartus Prime Lite Edition 18.1

- ModelSim-Intel FPGA Starter Edition 18.1

- Windows PC

- ModelSim path:

C:\intelFPGA_lite\18.1\modelsim_ase\win32aloem

 

確認したこと:

- Quartus / ModelSim は再インストールされました。

- 環境変数とPATH設定を確認しました。

- 同じプロジェクトが別のPCで正しく再起動できる場合。

- このPCではGUIの再起動ボタンを押すと問題が発生します。

- PCにはTrend Micro Apex Oneがインストールされています。

- リアルタイムスキャンからIntel FPGA / ModelSimフォルダを除外した後、ModelSimは正しく動作しました。

 

質問:

GUIの再起動ボタンを使う場合、ModelSim-Intel FPGA Starter Edition 18.1で既知の問題として、終了コード211はありますか?

 

また、この問題はウイルス対策ソフトやエンドポイントセキュリティソフトに関係している可能性はありますか?

この問題に対するおすすめの設定や回避策はありますか?

 

ありがとうございます。

19 Replies

  • HI matsu,


    Could you please provide the ModelSim transcript file from the failing machine?

     

    Since the same project runs on another machine, could you share the Windows/OS version for:

    • the PC that shows the error
    • the PC that works normally

    Regards, 
    ZiYingE_Altera

    • matsu's avatar
      matsu
      Icon for New Contributor rankNew Contributor

      Hi ZiYing,2 3Thank you for your reply.4 5Regarding the Windows/OS version, both PCs are running Windows 11.6 7Failing PC:8- OS: Windows 119 10Working PC:11- OS: Windows 1112 13I have attached the ModelSim transcript file from the failing machine.14 15The original file name was "msim_transcript", but I could not upload it without a file extension, so I added ".txt" to the file name.16 17Regards,18Matsu

  • Hi matsu

    Thank you for the details. Based on the transcript, it looks good without any error and warnings. 

     

    To help us investigate this issue further, could you please provide the following information?

    1. Is this issue happening every time when pressing the Restart button, or only sometimes?

    2. Does the problem happen only with this project, or also with others project?

    3. Could you help us check whether there are any differences in the antivirus or endpoint security software between the affected PC and the working PC? Does another success PC also have Trend Micro Apex One being installed? 

    4. Can you also share the msim_transcript from the success PC for comparison?

    5. When the issue happens, does it fail only when clicking the GUI Restart button, or does it also fail if you type restart -f manually in the Transcript window?

    6. Could you please help capture a fresh ModelSim transcript from launch until after pressing the GUI Restart button? If possible, it would be helpful to include with the Fatal error messages associated with exit code 211.

    7. If ModelSim is run as Administrator on the affected PC, does the same restart failure still occur?

     

    Thank you for your time and support!

    Regards, 
    ZiYingE_Altera

    • matsu's avatar
      matsu
      Icon for New Contributor rankNew Contributor

      a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; }

      Hi ZiYing,

      Thank you for your reply.

      Please find my answers below.

      Question1: Is this issue happening every time when pressing the Restart button, or only sometimes?

      Answer1: It happens every time when I press the Restart button once the issue has occurred.

      After restarting the PC, the issue is temporarily resolved. However, the issue occurs again the next day.

      また、家に帰る前にPCをシャットダウンせずに電源を入れたままにしてみました。その場合、翌朝には問題は発生しませんでしたが、同じ日の正午以降に再び発生し始めました。PCを再起動すると、問題は再び解決しました。

      質問2:この問題はこのプロジェクトだけに起きているのでしょうか、それとも他のプロジェクトでも起こるのでしょうか?

      回答2:この問題は特定のプロジェクトだけでなく、どのプロジェクトでも起こります。

      質問3:影響を受けたPCと正常に動作するPC間で、ウイルス対策ソフトやエンドポイントセキュリティソフトに違いがあるかどうか確認するのを手伝ってもらえますか?他に成功しているPCにTrend Micro Apex Oneもインストールされているのでしょうか?

      回答3:Trend Micro Apex Oneは当社のすべてのPCにインストールされており、影響を受けたPCも動作中のPCも含まれます。

      質問4:成功したPCのmsim_transcriptも比較のために共有してもらえますか?

      回答4:はい。動作中のPCからのトランスクリプトファイルを「msim_transcript_OK PC.txt」として添付しました。

      質問5:この問題が起きたとき、GUIの再起動ボタンをクリックしたときだけ失敗しますか?それともトランスクリプトウィンドウで手動でrestart -fを入力しても失敗しますか?

      回答5:トランスクリプトウィンドウで手動でrestart -fと入力しても失敗します。

      質問6:GUI再起動ボタンを押すまでの新しいModelSimトランスクリプトを、起動からGUI再起動ボタンまで記録するのを手伝ってもらえますか?可能であれば、出口コード211に関連する致命的なエラーメッセージを含めると助かります。

      回答6:問題が発生した際に撮影したスクリーンショットを添付しました。

      質問7:影響を受けたPCでModelSimを管理者として実行した場合、同じ再起動失敗は発生しますか?

      回答7:これは会社管理のPCなので、「管理者として実行」でModelSimを明示的に起動することはできません。しかし、通常は管理者権限で使用されます。

      敬具

      • ZiYingE_Altera's avatar
        ZiYingE_Altera
        Icon for Contributor rankContributor

        Hi matsu,

         

        Thank you for your detailed answers.

         

        I noticed that you mentioned attaching the transcript file "msim_transcript_OK PC.txt" and a screenshot taken when the issue occurred. However, it appears that these attachments were not included. 
         

        Could you please resend them when you have a chance?

         

        Thank you! 

         

        Regards, 
        Zi Ying

  • Hi matsu,

    Thank you for the update.
     

    After comparing both msim_transcript.txt files, the transcript from the affected PC  appears normal, since the simulation completes normally up to the intended $stop point. 

     

    At this stage, the issue seems more likely to be related to interference from endpoint security software on the affected PC, because:

    • The issue is not limited to one project
    • The problem also occurs when restart -f is entered manually, so it is not specific to the GUI Restart button only
    • ModelSim works normally again after excluding the Intel FPGA / ModelSim directories from Trend Micro real-time scanning

    For further investigation, could you please help with the following:

    1. Verify whether the Trend Micro Apex One version are the same on both the affected PC and the working PC.

    2. If possible, review the Apex One logs around the time the restart failure occurs and check whether any ModelSim-related executable or file activity is being blocked, scanned, quarantined, or monitored.

    3. Update Trend Micro Apex One on the affected PC to the latest available version and check whether the issue persists.

     

    Could you please try the above and let me know the results when convenient?
     

    Thank you! 

     

    Regards, 
    ZiYingE_Altera

    • matsu's avatar
      matsu
      Icon for New Contributor rankNew Contributor

      Hi ZiYing,

       

      Thank you for your suggestions.

       

      I checked the requested items and found the following:

       

      1. トレンドマイクロのApex Oneバージョンは、影響を受けたPCと動作中のPCの両方で同じです。

       

      2. 故障時期のApex Oneログを確認しました。しかし、Trend Micro Apex Oneや他のセキュリティソフトウェアがModelSim関連のファイルやプロセスをブロック、隔離、干渉した証拠は見つかりませんでした。

       

      3. 影響を受けたPCにインストールされているApex Oneバージョンは、すでに最新の入手可能なバージョンです。

       

      もう一つ、関連するかもしれない観察があります。

       

      ModelSimを起動した後、再起動ボタンは最初は正常に動作します。しかし、再起動ボタンを2回押し直すと、ModelSimが予期せず終了します。この行動は新しいもので、これまで一度も観察したことがありません。

       

      他に確認すべきことがあれば教えてください。

       

      ありがとうございます。

       

      敬具

      • ZiYingE_Altera's avatar
        ZiYingE_Altera
        Icon for Contributor rankContributor

        Hi matsu.

        Thank you for the update. Sorry for the delayed response. I was out of office for a few days last week due to sick.
         

        To help us further narrow down the root cause, could you please assist with the following?

        1. Could you please let me know which version of Trend Micro Apex One is currently installed on your system? 

        2. Does the same exit code 211 issue occur if you use the latest version of ModelSim? Is it possible for you to try on the latest version?

        3. Regarding to this behaviour, does it still report exit code 211, or do you see any other error messages?

        After launching ModelSim, the Restart button initially works normally. However, after pressing the Restart button two more times, ModelSim unexpectedly terminates. This behavior is new and has never been observed before.

        4. Could you please perform a scan following the instructions in the link below and check whether any ModelSim-related executables (for example, vsim.exe, modelsim.exe, or other ModelSim processes) appear in the scan logs?
        https://docs.trendmicro.com/en-us/documentation/article/trend-micro-apex-one-service-pack-1-patch-1-online-help-scan-logs
        5.  If any ModelSim-related entries are found, would it be possible to export the scan logs and share them with us for further analysis?
        https://success.trendmicro.com/en-US/solution/KA-0001854

         

        Thank you for your continued assistance and patience.

        Regards, 
        ZiYingE_Altera