[oi-dev] Virtualbox crash

Carsten Grzemba grzemba at contac-dt.de
Mon Aug 28 11:27:48 UTC 2023



Am 28.08.23 12:38 schrieb Toomas Soome  <tsoome at me.com>: 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> > 
> > On 28. Aug 2023, at 13:32, Carsten Grzemba via oi-dev <oi-dev at openindiana.org> wrote:
> > 
> > 
> > 
> > > 
> > > 
> > > 
> > > 
> > > > 
> > > > #11 0x00000000007b1eb5 in Medium::i_queryInfo (this=this at entry=0xe004c0, fSetImageId=fSetImageId at entry=false,  
> > > >  fSetParentId=fSetParentId at entry=false, autoCaller=...)
> > > >  at /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Main/src-server/MediumImpl.cpp:7176
> > > > #12 0x00000000007b2dc5 in Medium::refreshState (this=0xe004c0, autoCaller=..., aState=0xe0b1a0)
> > > >  at /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Main/src-server/MediumImpl.cpp:2180
> > > > #13 0x00000000009acf71 in MediumWrap::RefreshState (this=0xe004c0, aState=0xe0b1a0)
> > > >  at /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/out/solaris.amd64/debug/obj/VBoxAPIWrap/MediumWrap.cpp:1344
> > > > 
> > > 
> > > 
> > >  
> > > 
> > 
> > 
> 
> 
> 
> 
> Those are bits you want to look into, as you get throw from:
> 
> 
> Medium::i_queryInfo+0x2ae() 
> 
> 
>  
> 
> rgds, 
> 
> toomas 
> 
> 
>  
> 
 try 
 {
 /* skip accessibility checks for host drives */
 if (m->hostDrive)
 { 
 success = true; 
 --->> throw S_OK; 
 } 


...8<..


 }
 catch (HRESULT aRC)
 {
 rc = aRC;
 }


Which is a very impressive application of C++-Exception ...
 

 

-- 
Carsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20230828/3c945c38/attachment-0001.html>


More information about the oi-dev mailing list