VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (2383 - 2385 of 16363)

Ticket Resolution Summary Owner Reporter
#4387 fixed SMP broken in VB 3.0 nbi
Description

Windows XP 32 bit guest with 4 CPUs eventually crashes. There are no messages in /var/log/messages to indicate what the problem might be. If the guest is reconfigured for 1 CPU the problem goes away. HW is an Asus P6T Deluxe with i7 920. Virtualization is enabled in motherboard BIOS. OS is Debian Lenny 64 bit.

#4388 fixed Error in linux /etc/init.d/vboxdrv stop_vms() function => Fixed in SVN Kevin Rolfes
Description

I found this problem to exist in both VirtualBox 2.2.4 and 3.0.0, although the behavior is different between the two.

Summary: The line

  VMS=`$VBOXMANAGE --nologo list runningvms | sed -e 's/^".*.*"{\(.*\)}/\1/' 2>/dev/null`

in stop_vms() of /etc/init.d/vboxdrv (in version 3.0.0) should be changed to:

  VMS=`$VBOXMANAGE --nologo list runningvms | sed -e 's/^".*".*{\(.*\)}/\1/' 2>/dev/null`
                                                            ^^^

Long explanation:

There is a function "stop_vms()" in /etc/init.d/vboxdrv which can be used to power off or save the state of active VMs belonging to a list of users. To test it, I created a file /etc/default/virtualbox containing the following two lines:

SHUTDOWN_USERS="kevin" SHUTDOWN=savestate

and executed "/etc/init.d/vboxdrv stop_vms" as root.

  1. VirtualBox 2.2.4 r47978 Debian Lenny AMD64 .deb (from download.virtualbox.org), running on

Debian Testing / Squeeze.

In this package, the stop_vms() function in vboxdrv contains this code:

VMS=$VBOXMANAGE --nologo list runningvms | sed -e 's/^".*"//' 2>/dev/null

This creates a list of the UUIDs of the running VMs. For example, on my system:

  $ VBoxManage --nologo list runningvms
  "VBox 1" {26f8caca-ddc5-40c0-94d3-2ee29c9e26bb}
  "VBox 2" {093d1dcb-e581-403d-a00d-234972fb5ca5}
  $ VBoxManage --nologo list runningvms | sed -e 's/^".*"//'
   {26f8caca-ddc5-40c0-94d3-2ee29c9e26bb}
   {093d1dcb-e581-403d-a00d-234972fb5ca5}

I believe this code needs to strip the {} braces from the UUIDs. The output of this, in $VMS, is used as a parameter to "VBoxManage controlvm" and the braces are not permitted. The resulting error looks like this:

  # /etc/init.d/vboxdrv stop_vms
  Saving state of remaining VMs:ERROR: Could not find a registered machine named '{26f8caca-ddc5-40c0-94d3-2ee29c9e26bb}'
  Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
  Context: "FindMachine (Bstr(a->argv[0]), machine.asOutParam())" at line 570 of file VBoxManage.cpp
  ERROR: Could not find a registered machine named '{093d1dcb-e581-403d-a00d-234972fb5ca5}'
  Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
  Context: "FindMachine (Bstr(a->argv[0]), machine.asOutParam())" at line 570 of file VBoxManage.cpp
  done..
  1. VirtualBox 3.0.0 r49315 Debian Lenny AMD64 .deb (from download.virtualbox.org), running on

Debian Testing / Squeeze.

The arguments to sed were changed in this version. Here is the line from stop_vms() in vboxdrv:

VMS=$VBOXMANAGE --nologo list runningvms | sed -e 's/^".*.*"{\(.*\)}/\1/' 2>/dev/null

This sed command isn't doing any editing when I try it:

  $ VBoxManage --nologo list runningvms
  "VBox 1" {26f8caca-ddc5-40c0-94d3-2ee29c9e26bb}
  "VBox 2" {093d1dcb-e581-403d-a00d-234972fb5ca5}
  $ VBoxManage --nologo list runningvms | sed -e 's/^".*.*"{\(.*\)}/\1/' 
  "VBox 1" {26f8caca-ddc5-40c0-94d3-2ee29c9e26bb}
  "VBox 2" {093d1dcb-e581-403d-a00d-234972fb5ca5}

As a result, the stop_vms() function gives numerous errors for each VM (can't find "VBox", can't find "1", and can't find "{uuid}").

The correct command, I believe, should be this:

  $ VBoxManage --nologo list runningvms | sed -e 's/^".*".*{\(.*\)}/\1/'
  26f8caca-ddc5-40c0-94d3-2ee29c9e26bb
  093d1dcb-e581-403d-a00d-234972fb5ca5
#4389 fixed Crash while running uTorrent 1.8.2 anonymous
Description

The VM crashes running uTorrent.

It looks like 2 threads are in free() at the same time... maybe a threading bug?

I'm running Windows 2003.

 	ntdll.dll!_RtlpCoalesceFreeBlocks@16()  + 0x79 bytes	
 	ntdll.dll!_RtlFreeHeap@12()  + 0xa14 bytes	
>	msvcr71.dll!free(void * pBlock=0x0bda56f8)  Line 103	C
 	VBoxRT.dll!1001eba1() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for VBoxRT.dll]	
 	VBoxDD.dll!03f71c32() 	
 	VBoxDD.dll!03f6f0f3() 	
 	VBoxDD.dll!03f73401() 	
 	VBoxDD.dll!03f7351d() 	
 	VBoxDD.dll!03f78671() 	
 	VBoxDD.dll!03f73a00() 	
 	VBoxDD.dll!03f73ad8() 	
 	VBoxDD.dll!03f75048() 	
 	VBoxDD.dll!03f6f017() 	
 	VBoxDD.dll!03f63d0c() 	
 	VBoxDD.dll!03f63d97() 	
 	VBoxVMM.dll!01c32008() 	
 	VBoxRT.dll!1000c880() 	
 	VBoxRT.dll!1002a012() 	
 	msvcr71.dll!_threadstartex(void * ptd=0x024d7250)  Line 241 + 0x6 bytes	C
 	kernel32.dll!_BaseThreadStart@8()  + 0x34 bytes	


 	ntdll.dll!_KiFastSystemCallRet@0() 	
 	ntdll.dll!_ZwWaitForSingleObject@12()  + 0xc bytes	
 	ntdll.dll!_RtlpWaitOnCriticalSection@8()  - 0xe4 bytes	
 	ntdll.dll!_RtlEnterCriticalSection@4()  + 0x22f51 bytes	
 	ntdll.dll!_RtlFreeHeap@12()  + 0x9ee bytes	
>	msvcr71.dll!free(void * pBlock=0x0be31670)  Line 103	C
 	VBoxRT.dll!1001eba1() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for VBoxRT.dll]	
 	VBoxDD.dll!03f63f38() 	
 	VBoxVMM.dll!01c24890() 	
 	VBoxVMM.dll!01c24e32() 	
 	VBoxVMM.dll!01c03141() 	
 	VBoxVMM.dll!01c04dbc() 	
 	VBoxVMM.dll!01c04bf9() 	
 	ntdll.dll!_ZwSetEvent@8()  + 0xc bytes	
 	kernel32.dll!_SetEvent@4()  + 0x10 bytes	
 	VBoxRT.dll!10029c7d() 	
 	VBoxVMM.dll!01c1ac31() 	
 	VBoxVMM.dll!01bf130d() 	
 	VBoxRT.dll!10029b70() 	
 	VBoxRT.dll!1000c880() 	
 	VBoxRT.dll!1002a012() 	
 	msvcr71.dll!_threadstartex(void * ptd=0x01361a28)  Line 241 + 0x6 bytes	C
 	kernel32.dll!_BaseThreadStart@8()  + 0x34 bytes	
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy