Re: [vbox-dev] CMachine.SetExtraData() deadlocks

2011-09-20 Thread Huihong Luo
It's before the call, when deadlock occured, I attached the debugger, and then found out it's the windows WaitForObject call keeps waiting. Not sure if the server side finished the call or not. I will pay more attention next time. --- On Tue, 9/20/11, Klaus Espenlaub wrote: From: Klaus Espenl

Re: [vbox-dev] CMachine.SetExtraData() deadlocks

2011-09-20 Thread Klaus Espenlaub
On 20.09.2011 18:40, Huihong Luo wrote: very rarely, I got deadlock by invoking this method. After debugging, it deads lock at WaitForSingleObject Windows API inside some rpc stub. Is the deadlock before (or after) actually invoking the method? Haven't seen such issues in a long time, but if t

Re: [vbox-dev] Storage and Guest settings. Bug or intended behaviour

2011-09-20 Thread Klaus Espenlaub
Hi Ian, On 20.09.2011 17:24, Ian Chapman wrote: Hi, This is using the SOAP interface from Perl. When editing a guest's settings, if storage (eg hard disk image) is attached to a controller and then the settings of the guest are subsequently discarded (IMachine::discardSettings), the medium stil

Re: [vbox-dev] CMachine.SetExtraData() deadlocks

2011-09-20 Thread Alexey Eromenko
On Tue, Sep 20, 2011 at 11:25 PM, Huihong Luo wrote: > > Very likely. > I had to kill vboxsvc.exe too from taskmgr. > I will try to get some call stacks if it happens again. > I have written a reproducible testcase (in python). So there is no *if*, only *when*. You need: 1. python 2.6.6 (bitnes

Re: [vbox-dev] CMachine.SetExtraData() deadlocks

2011-09-20 Thread Huihong Luo
Very likely.   I had to kill vboxsvc.exe too from taskmgr.   I will try to get some call stacks if it happens again. --- On Tue, 9/20/11, Alexey Eromenko wrote: From: Alexey Eromenko Subject: Re: [vbox-dev] CMachine.SetExtraData() deadlocks To: vbox-dev@virtualbox.org Date: Tuesday, September

Re: [vbox-dev] Debugging VirtualBox

2011-09-20 Thread Knut St. Osmundsen
Hi Xabier, no there isn't any (clean) way to do that via the API yet. Unfortunately, I cannot say when such a feature will appear, the debugging API gets attention when we have the time and need... Kind Regards, Knut. On Sep 16, 2011, at 10:38 AM, Xabier Ugarte Pedrero wrote: > Hello, > >

Re: [vbox-dev] Using Sockets in Device emulation

2011-09-20 Thread Knut St. Osmundsen
Hi Arpit, ok, so you wish to forward SATA commands received by DevAHCI.cpp. That's doable. In VirtualBox's pluggable device/driver model (PDM) we usually try to put code accessing host OS services or similar in drivers. A typical device emulation will have one or more drivers attached to its p

Re: [vbox-dev] CMachine.SetExtraData() deadlocks

2011-09-20 Thread Alexey Eromenko
On Tue, Sep 20, 2011 at 7:40 PM, Huihong Luo wrote: > > very rarely, I got deadlock by invoking this method. > After debugging, it deads lock at WaitForSingleObject Windows API inside some > rpc stub. > What is the correct context to invoke this call? such as threading > requirement? Is it poss

[vbox-dev] CMachine.SetExtraData() deadlocks

2011-09-20 Thread Huihong Luo
very rarely, I got deadlock by invoking this method.   After debugging, it deads lock at WaitForSingleObject Windows API inside some rpc stub.   What is the correct context to invoke this call? such as threading requirement?   Thanks___ vbox-dev mailing

Re: [vbox-dev] Using Sockets in Device emulation

2011-09-20 Thread Arpit Patel
Thanks for your reply. I need to talk to some socket level application/server(which can possibly be running on another system) that is simulating SATA behavior and I need to generate those SATA commands via socket comm from within AHCI emulation code.  Since this is done for some new AHCI hardw

[vbox-dev] current USB bug

2011-09-20 Thread Huihong Luo
I connect my iPhone 4 to an xp sp3 vm, and access photos from vm on Windows Vista SP1 32-bit host.   It works fine to about 90% of opening the photo folder, then stops, and hangs.   the total size is about 600MB.___ vbox-dev mailing list vbox-dev@virtual

[vbox-dev] Storage and Guest settings. Bug or intended behaviour

2011-09-20 Thread Ian Chapman
Hi, This is using the SOAP interface from Perl. When editing a guest's settings, if storage (eg hard disk image) is attached to a controller and then the settings of the guest are subsequently discarded (IMachine::discardSettings), the medium still believes it is attached to the guest, but th

[vbox-dev] VirtualBox SDK Source Code Availability?

2011-09-20 Thread David J. Shepard
Hello. I tried to get an answer to this question on the VirtualBox forums and eventually was referred to this mailing list. I've been trying to find out if the source code to the VirtualBox SDK is available. Specifically, I am looking for the source code to vboxjws.jar, which is in the path sd