2011/3/31 Justin Clift <jclift(a)redhat.com>:
On 01/04/2011, at 12:44 AM, Daniel P. Berrange wrote:
> On Wed, Mar 30, 2011 at 02:16:28AM +1100, Justin Clift wrote:
<snip>
>> Same problem with virsh on OSX. Straight out hangs and never gets
>> to the prompt.
>
> Please run virsh with LIBVIRT_DEBUG=1 set and capture the logs.
>
> Also when it hangs please capture a full stack trace showing
> where it has got stuck
Thanks. It's looking like some kind of problem interacting with
VirtualBox (v4.0.4):
This is the full gdb backtrace from the process:
(gdb) thread apply all bt
Thread 1 (process 85784):
#0 0x00007fff8549b3a6 in swtch_pri ()
#1 0x00007fff854d5b51 in _pthread_find_thread ()
#2 0x00007fff8551cb3e in pthread_getschedparam ()
#3 0x00000001013c8752 in PR_SetThreadPriority ()
#4 0x00000001013c88f1 in _PR_InitThreads ()
#5 0x00000001013bbc26 in _PR_ImplicitInitialization ()
#6 0x00000001013c8916 in PR_GetCurrentThread ()
#7 0x00000001013a048f in nsIThread::GetCurrent ()
#8 0x00000001013a04c1 in nsIThread::SetMainThread ()
#9 0x00000001013524ee in NS_InitXPCOM2 ()
#10 0x00000001004c022a in com::Initialize ()
#11 0x00000001004bef8f in VBoxComInitialize ()
#12 0x000000010015fa7f in vboxInitialize ()
#13 0x0000000100160039 in vboxOpen ()
#14 0x00000001000abbcb in do_open ()
#15 0x00000001000ac712 in virConnectOpenAuth ()
#16 0x000000010001a7ef in vshInit ()
#17 0x000000010001bef1 in main ()
(gdb)
Any of that helpful?
Strange point to get stuck.
I assume VirtualBox for OSX comes with it's own GUI tool. Is it also
affected or only virsh?
Does this happen with VirtualBox 4.0.4 only, or is 4.x or even 3.x affected too?
Matthias