virtualbox crash just after the loading

Discussions related to using VirtualBox on Linux hosts.
Post Reply
eddymanson
Posts: 4
Joined: 5. Sep 2022, 15:40

virtualbox crash just after the loading

Post by eddymanson »

Hello Folks

My virtualbox run on debian 10 and since few days it crash when i try to start it.
I can see the main windows but very rapidly it is closed without any error message.

My kernel is Debian 4.19.249-2 and the virtualbox version is 6.1.

I try to understand the problem but i don't know where investigate.
I found nothing in the logs.

Do you have an idea ?

Thanks by advance for your help.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: virtualbox crash just after the loading

Post by scottgus1 »

If your Linux kernel was updated, you'd need to update Virtualbox too. The most recent Linux kernels require the most recent Virtualbox.
eddymanson wrote:I found nothing in the logs.
The gurus here might have a better chance interpreting them. :wink: Please zip and post using the forum's Upload Attachment tab.
eddymanson
Posts: 4
Joined: 5. Sep 2022, 15:40

Re: virtualbox crash just after the loading

Post by eddymanson »

if i try to start in a terminal i get a segmentation fault

if i try the same command with sudo, virtualbox is starting. After that i have to add a existing vm to open it, of course.

$ sudo virtualbox
# it's works !!

it try to inspect all log file with tail -f but i see nothing. Could you indicate me a particular log file ?
thanks for your help.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: virtualbox crash just after the loading

Post by scottgus1 »

According to the manual, Virtualbox's global logs, which might show the error happening when Virtualbox can't run normally but can run under sudo, should be in "$HOME/.config/VirtualBox". Find that folder under your logged-in account's home folder, then zip the whole "VirtualBox" folder and post it please.

An alternative thought:
eddymanson wrote:if i try the same command with sudo, virtualbox is starting
Are you logging into the same account Virtualbox was installed on? Have you edited any permissions in the Virtualbox folders?
eddymanson
Posts: 4
Joined: 5. Sep 2022, 15:40

Re: virtualbox crash just after the loading

Post by eddymanson »

Are you logging into the same account Virtualbox was installed on?
Yes if i remember

Have you edited any permissions in the Virtualbox folders?
no i haven't edited any permissions

I add log files /$home/.config/virtualbox

thanks again
Attachments
VirtualBox.zip
log file
(30.83 KiB) Downloaded 6 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: virtualbox crash just after the loading

Post by scottgus1 »

Better eyes than mine may have to look into this, but I see something possibly telling in the VboxSVC.logs:
00:00:00.132843 nspr-2 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={MachineWrap} aText={Runtime error opening '/home/eddy/VirtualBox VMs/windows10pro/windows10pro.vbox' for reading: -38 (Access denied.).
Looks like a permissions problem.
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: virtualbox crash just after the loading

Post by fth0 »

Another question: You did replace your username in the log files, didn't you?

If you did, your method for doing so is flawed. :lol:

If you didn't, tell us more about it.
eddymanson
Posts: 4
Joined: 5. Sep 2022, 15:40

Re: virtualbox crash just after the loading

Post by eddymanson »

it seem it's not a permission problem at least not the one in the log.

when my laptop is connected on his dock i get the problem when it's not connected virtualbox works perfectly
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: virtualbox crash just after the loading

Post by scottgus1 »

So the problem only shows when your laptop is on a dock? That's interesting.

How can being on a dock influence whether a file is accessible? :shock: I'm not sure how to troubleshoot that one.

At the least, two logs, one with the laptop on the dock causing errors and one without the dock where no errors happen, will be necessary.

And if you did obfuscate your user name, please don't. With permissions issues, every bit of data needs to be accurate.
Post Reply