VirtualBox

Opened 9 months ago

Closed 6 months ago

#21773 closed defect (fixed)

Virtualbox 7.0.10 Snapshot run creates error " Referenced memory" "The memory could not be written" => fixed in SVN/next 7.0.x maintenance

Reported by: Pankaj Grover Owned by:
Component: other Version: VirtualBox-7.0.10
Keywords: Virtualbox 7.0.10, Referenced memory, The memory could not be written Cc:
Guest type: Windows Host type: Windows

Description

I just updated virtualbox 7.0.8 to 7.0.10. Everything is fine but when i start my latest updated saved snapshot error comes below:

" The instruction at 0x00007FFAOBEAA78A referenced memory at 0x0000017C742A02B6. The memory could not be written Click on OK to terminate the program" . In discard state no issue but snapshot not running. I revert back to 7.0.8 and and then no issue at all. may be this is bug in latest version 7.0.10. here screenshot attached.. Kindly provide fix and or any advise. Thanks...

Attachments (2)

Win11_UEFI-2023-07-25-20-14-00.log (241.1 KB ) - added by Pankaj Grover 9 months ago.
Screenshot (2).png (190.9 KB ) - added by Pankaj Grover 9 months ago.
Screenshot

Download all attachments as: .zip

Change History (14)

by Pankaj Grover, 9 months ago

by Pankaj Grover, 9 months ago

Attachment: Screenshot (2).png added

Screenshot

comment:1 by fth0, 9 months ago

VirtualBox 7.0.10 tried to restore the saved state from a previous VM run with the same VirtualBox version, and failed when loading the saved TPM state. While trying to gracefully abort the VM run, a crash happened in the USB code in xhciR3RhDetach().

in reply to:  1 comment:2 by Pankaj Grover, 9 months ago

Replying to fth0:

VirtualBox 7.0.10 tried to restore the saved state from a previous VM run with the same VirtualBox version, and failed when loading the saved TPM state. While trying to gracefully abort the VM run, a crash happened in the USB code in xhciR3RhDetach().

Hi, today how i fix this, i discard snapshot and shutdown. And after i switch off TPM to None. and after i restart and take snapshot and now this version 7.0.10 is able to start my snapshot. So problem is if TPM enabled and you taking snapshot. But this problem was not in 7.0.8 version. I hope in coming version they will fix it and we did not need to off the TPM while taking snapshot.

comment:4 by aeichner, 8 months ago

Summary: Virtualbox 7.0.10 Snapshot run creates error " Referenced memory" "The memory could not be written"Virtualbox 7.0.10 Snapshot run creates error " Referenced memory" "The memory could not be written" => fixed in SVN/next 7.0.x maintenance

Thanks for the report, this is a 7.0.10 regression and will be fixed in the next 7.0.x maintenance release.

comment:5 by fth0, 8 months ago

@aeichner: Can you share a few words about the nature of the bug, especially if you fixed the TPM related part of the issue or the USB related part?

comment:6 by aeichner, 8 months ago

The root cause is in the TPM device emulation and a regression from 7.0.10. This would cause any saved state loading to fail with the config mismatch error and powering off the VM would cause a crash afterwards. I only fixed the TPM part so far because I couldn't reproduce the crash part so far.

in reply to:  5 comment:7 by Pankaj Grover, 8 months ago

@aeichner yes there is nothing with USB related part. Only issue with TPM. As you said you already fixed this..that's good. How can i test this also.. you already fixed this in beta version or not ? So that i can test also... Thanks

Replying to fth0:

@aeichner: Can you share a few words about the nature of the bug, especially if you fixed the TPM related part of the issue or the USB related part?

comment:8 by aeichner, 8 months ago

The fix didn't hit a public testbuild yet and won't happen this week anymore. You could monitor here and look for 7.0 testbuild with revision >= 158827. As I'm on vacation for the next two weeks don't expect any answers from my end here but maybe someone else in the team will upload a testbuild next week. :)

comment:9 by fth0, 8 months ago

@aeichner: Thanks for the feedback and for fixing several bugs, and have a nice vacation! :)

comment:10 by Pankaj Grover, 8 months ago

@aeichner okay thanks for consider issue and fixing. Enjoy your holidays.

comment:11 by fth0, 7 months ago

This issue should be fixed in the VirtualBox test builds 7.0.11r159210 and newer.

comment:12 by galitsyn, 6 months ago

Resolution: fixed
Status: newclosed

Hi guys,

We just released a new version of VirtualBox today. This issue should be fixed there. Closing it. Please leave a comment if it is still actual for you. As usual, builds are available on Downloads page. Thank you for reporting.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use