Opened 8 years ago
Last modified 7 years ago
#16886 new defect
4.x -> 5.x crash
Reported by: | Mikha Mikhin | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 5.1.22 |
Keywords: | crash | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
I updated my virtual box from 4.* to 5.*, now my virtual PCs crash when I start them from any snapshot.
P.S. Can't get log from VM.
Attachments (3)
Change History (12)
comment:1 by , 8 years ago
by , 8 years ago
by , 8 years ago
Attachment: | VBoxHardening.log added |
---|
by , 8 years ago
Attachment: | VBoxHardening.2.log added |
---|
follow-up: 4 comment:3 by , 8 years ago
The saved state was created with VBox 4.3.10. Hard to say why the bit was saved in the VM state. Could you try the following:
- On the command line (cmd.exe), do
set VBOX_ASSERT=none
then start the VM from that command line withVirtualBox -startvm VM_NAME
. - Save the VM state with 5.1.26
- Try to load the VM state.
If this works then this is a workaround to make your 4.3.10 saved states working.
comment:4 by , 8 years ago
Replying to frank:
- On the command line (cmd.exe), do
set VBOX_ASSERT=none
then start the VM from that command line withVirtualBox -startvm VM_NAME
.- Save the VM state with 5.1.26
- Try to load the VM state.
If this works then this is a workaround to make your 4.3.10 saved states working.
- Does this workaround simply suppress the error message from coming up?
- Is this workaround cross-platform? (I would bet on "Yes")
- Do you have to save the state with the newer VirtualBox? What's the purpose of that step?
- Is this the/a suggested workaround for old saved states which refuse to load in newer VirtualBox versions? Preferred to the "Discard Saved State"?
comment:5 by , 8 years ago
That workaround prevents that the release assertion will immediately terminate the process. It might or might not help in this specific case. Cross-platform yet, just respect how environment variables are set.
Saving the state with the newer version of VBox is supposed to save a "sane" state. I'm aware of a few very old reports about VBox 4.3.x having this problem, thus I assume that this was fixed in the meantime.
No, please do never set VBOX_ASSERT to suppress release assertions without a good reason. This is a workaround only for this particular issue. A release assertion is normally something we cannot handle otherwise, and suppressing a release assertion normally does not make much sense -- because this would just move the crash / malfunction to an unrelated code location.
follow-up: 7 comment:6 by , 8 years ago
OK, makes sense to reserve it only for special cases, aka not a generic workaround. Forgotten already ;)
comment:9 by , 7 years ago
Don't ignore me please. I still can't start some snapshots because of "Guru Meditation" crash.
Not enough information. There should be at least a VBoxSVC.log file and I highly doubt that there is no log file in the VM directory, at least the VBoxHardening.log file should be there.