roubesten wrote:It seems rather unhelpful to conclude that someone just should have been more careful about available disk space before closing Virtual Box. Shouldn't the application do so? It should not leave you in a helpless state with no enabled options to resume after freeing more disk space, or to abort, or to continue running as you were, if a disk becomes full when shutting down.
Sounds reasonable, but it's a bit more complicated than that.
For example, what do you mean by "the application"? VirtualBox simulates hardware, it is not part of the guest OS. In reality "the application" is actually a chain of somewhat independant applications, starting from the guest OS, guest drivers, then VBox virtual hardware and host application layers. The starting point, i.e. the guest OS, is not necessarily designed for hardware which has a mind of its own and only does what it's told
sometimes. So any failure that is bounced back to the guest will probably be seen as a catastrophic hardware error, and there is only so much that can be done to avoid that... so yep, best to avoid this scenario.
Plus of course, much of the remedial action that VBox might take, such as suspending the OS with a core dump to host disk... is blocked due to not having any disk space for the dump.