[oi-dev] Virtualbox crash

Carsten Grzemba grzemba at contac-dt.de
Wed Aug 30 14:20:26 UTC 2023



Am 28.08.23 13:27 schrieb "Carsten Grzemba"  <grzemba at contac-dt.de>: 
> 
> 
> 
> 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 
> 

A little bit confusing, the working binary compiled with gcc7:

$ gdb /opt/VirtualBox/amd64/VBoxSVC 
GNU gdb (GDB) 13.2

...

(gdb) b Medium::i_queryInfo
warning: could not convert 'Medium::i_queryInfo' from the host encoding (ISO-8859-1) to UTF-32.
This normally should not happen, please file a bug report.
Breakpoint 1 at 0x75f0c0: file /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Main/src-server/MediumImpl.cpp, line 7054.

and the not working compiled with gcc10


$ gdb /opt/VirtualBox/amd64/VBoxSVC 
GNU gdb (GDB) 13.2

...

(gdb) b Medium::i_queryInfo
warning: could not convert 'Medium::i_queryInfo' from the host encoding (ISO-8859-1) to UTF-32.
This normally should not happen, please file a bug report.
Breakpoint 1 at 0x7bb2a0: file /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/include/VBox/com/AutoLock.h, line 266.


the symbol Medium::i_queryInfo is mapped different.

-- 
Carsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20230830/a18a6cdb/attachment.html>


More information about the oi-dev mailing list