VirtualBox

Ticket #10618 (new defect)

Opened 23 months ago

Last modified 22 months ago

On <Host>+C the virtual machine hangs on Mac host.

Reported by: meo Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.16 Keywords:
Cc: Guest type: other
Host type: other

Description

Hello everyone,

I have a Linux (Ubuntu 12.04) Guest running on a Mac (Lion) host with the latest version of VirtualBox. The same problem, though, was present in all older versions of VB I used on this Mac and older version of the guest OS as well, so I guess it's something intrinsic to the Mac version of Virtual Box.

Whenever I try to copy some text from the Linux guest and I mistakenly press "Cmd+C" as I would copy on the Mac, the virtual machine crashes.

Since as you can imagine, working on a Mac my reflex is to copy pressing Cmd+C, I make my virtual machine crash every half an hour, and it's becoming quite annoying :)

Thanks in advance for any help.

Attachments

LOG Download (61.2 KB) - added by meo 23 months ago.
Oneiric-2012-06-24-09-17-58.log Download (61.9 KB) - added by meo 22 months ago.
Log file using the last version of VirtualBox
Oneiric-2012-06-25-12-10-22.log Download (61.3 KB) - added by meo 22 months ago.

Change History

comment:1 Changed 23 months ago by Hachiman

Could you please attach the log file? Personally, I've never met such behavior, but perhaps your log can say more about your environment.

Changed 23 months ago by meo

  • attachment LOG Download added

comment:2 Changed 23 months ago by meo

Thanks for your reply! I send you the log file, but I have the impression that the whole program hangs before writing in the log what's happening. I have to "Force Quit" the machine, then VirtualBox starts responding again. Anyway, here it is.

comment:3 Changed 23 months ago by meo

My host key was Cmd. As a workaround, I changed the host key to Cmd+Shift. Now, if I press Cmd+C nothing bad happens (a "c" is inserted in the file I'm writing). However, if I press Cmd+Shift+C, the machine crashes as usual. So, instead of "On Mac, Cmd+C crashes the virtual machine", it might be more precise to say "On Mac, Host key+C crashes the virtual machine".

comment:4 Changed 22 months ago by Hachiman

  • Summary changed from On Mac, Cmd+C crashes the virtual machine to On Mac, <Host>+C crashes the virtual machine

comment:5 Changed 22 months ago by Hachiman

Does it still present in 4.1.18 (including additions 4.1.18)? If yes, Could you please attach the log file?

Changed 22 months ago by meo

Log file using the last version of VirtualBox

comment:6 Changed 22 months ago by meo

Yes indeed. I attached the new log.

comment:7 Changed 22 months ago by Hachiman

Could you please generate the core dump, by following this instructions and upload result file  ftp://ftp.oracle.com/appsdev/incoming?

Last edited 22 months ago by Hachiman (previous) (diff)

comment:8 Changed 22 months ago by meo

When the machine crashes, it doesn't create a core dump. My coredumpsize is unlimited. I started virtualbox from the command line, produced the crash, then I checked my /cores directory as I always do when some of my programs crash, but there was no new core. Anyway, I upload the new log file, as apparently in the old one guest additions were not up to date

Changed 22 months ago by meo

comment:9 Changed 22 months ago by Hachiman

Hm... Could you please then run following command

# sudo dtruss -f sudo -u meo VirtualBox -startvm Oneiric > oneiric.dtruss 2>&1

and attach the result file to the defect?

comment:10 follow-up: ↓ 11 Changed 22 months ago by meo

The result file is about 34 MB, far beyond the 512kB limit. Which part of the file do you need?

comment:11 in reply to: ↑ 10 Changed 22 months ago by Hachiman

Replying to meo:

The result file is about 34 MB, far beyond the 512kB limit. Which part of the file do you need?

Ah, then please upload it on FTP I've mentioned before, and please put the name of the uploaded file in the ticket.

comment:12 follow-up: ↓ 14 Changed 22 months ago by meo

Done. oneiric_mb_jun25.dtruss The file stops more or less where I force quit the machine, after a minute or so from Host+C

comment:13 Changed 22 months ago by Hachiman

thank you, will take a look.

comment:14 in reply to: ↑ 12 Changed 22 months ago by Hachiman

Replying to meo:

Done. oneiric_mb_jun25.dtruss The file stops more or less where I force quit the machine, after a minute or so from Host+C

What do you mean by "force quit"? Is it a crash or you've stopped it forcibly?

comment:15 Changed 22 months ago by meo

You're right, sorry for not describing in full detail what happens. When I press Host+C, the window disappears and the VM stops responding (if i click on the icon in the dock, it says that). So I have to force quit it.

comment:16 Changed 22 months ago by Hachiman

Ah, so it hang of you, but not crash. right? So perhaps we need change the way of gathering information about the VirtualBox state. Could you please repeat the case (initial), but the guest is hanging relatively long, send SIGILL(4) signal to it, like it described at Forcing terminating with Core Dumps ?

Last edited 22 months ago by Hachiman (previous) (diff)

comment:17 Changed 22 months ago by meo

Uploaded now. core_vm_mb_jun26

comment:18 Changed 22 months ago by Hachiman

Thank you will take a look.

comment:19 Changed 22 months ago by Hachiman

  • Summary changed from On Mac, <Host>+C crashes the virtual machine to On <Host>+C the virtual machine hangs on Mac host.
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use