IDE hangs on save sketch or exit when run in VirtualBox virtual machine

hi
when saving sketch or terminating, either by using exit or ctrl+W, the laptop hangs completely.
no response using alt+ctrl+del. the only way is using hard lock down and start the laptop up again.
any suggestions??

kind regards
Kurt

Hi @kurtkr. Thanks so much for your report.

I think the best way to proceed with the investigation is for you to provide the log file that is generated by the Arduino IDE whenever it runs. That might contain some clues about what is going wrong.

Please tell me which operating system (e.g., Windows) you are using on your laptop. This will allow me to provide you with the instructions for finding the log files which are correct for your operating system.

Hi

thanks for the respond so fast.
I am using
windows 10 pro version. 21H2

thanks in advance.
Kurt

Please do this:

  1. Open a forum reply here by clicking the Reply button.
  2. Click the "Upload" icon (image) on the post composer toolbar:
    image
  3. Select the latest .log file from this folder (the files are named according to the date):
    C:\Users\<user name>\AppData\Roaming\Arduino IDE\
    
    (where <user name> is your Windows user name)
    Note that the C:\Users\<user name>\AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
  4. Click the Open button.
  5. Click the Reply button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .log file onto the post composer field to attach it.


Please let me know if you have any questions or problems while following those instructions.

hi
thanks for the guidance.
I will forward a logfile when I got one after the laptop hangs.

kind regards
kurt

hi
I have a log file where the laptop hangs!!
but because I am a new user I cannot attach the log file to the message !

do you have another way to upload the file to you??

kind regards
kurt K

Hi @kurtkr. Sorry for the inconvenience.

I just gave you a promotion to the "Basic User" trust level with the Arduino forum software. You should now be able to attach the file according to the instructions in my previous reply. Please let me know if there are any problems.

Regards, Per

2022-07-29_log.log (123.9 KB)

Hi Per
Thank you in advance.
look forward to your response.

kind regards
kurt K
2022-07-29_log.log (123.9 KB)

Thanks @kurtkr. Unfortunately I did not spot any "smoking gun" error message in the logs. The logs look perfectly normal.

Even though I don't have any one specific reason to recommend it, you might try the nightly build of the Arduino IDE. The developers have made some significant advancements since the time of the 2.0.0-rc9 release, so it is possible the issue has been resolved by that. All completed development work is published as a nightly build each night in order to facilitate beta testing work.

The nightly build download links are listed here:

https://www.arduino.cc/en/software#nightly-builds

Hi Peter

This time I closed the Arduino by klicking the “X” on the upper right corner!

Next time I will send you a log closed by ctrl W. if the hanging persists.

But thanks anyway!

Kind regards

Kurt K

1 Like

Hi

After the laptop hangs I looked into the windows system log and found these errors.

It looks like it has something to do with the VBoxNetLwf driver!!

Hope this will help solve the issue!!

Attached screen shots

Kind regards.

Kurt K

I found quite a lot of discussion of this error on the VirtualBox forum:

https://forums.virtualbox.org/search.php?keywords=The+Driver+detected+an+internal+driver+error+on+\Device\VBoxNetLwf

Are you running the Arduino IDE 2.x inside a VirtualBox virtual machine?

Hi Peter

It looks like!

I am also using Kicad for drawing schematics and PCB layout.

Could that be a problem????

Kind regards

kurt

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.