<br /><br /><span>Am 28.08.23 13:27 schrieb <b class="name">"Carsten Grzemba" </b> <grzemba@contac-dt.de>:</span><blockquote cite="mid:bf4ce44b20f6.64eca0d4@contac-dt.de" class="iwcQuote" style="border-left: 1px solid #00F; padding-left: 13px; margin-left: 0;" type="cite"><div class="mimetype-multipart-alternative"><br /><br /><span>Am 28.08.23 12:38 schrieb <b class="name">Toomas Soome </b> <tsoome@me.com>:</span><blockquote cite="mid:5C72C4B0-805D-4579-AB8E-0517D5F5F0C9@me.com" class="iwcQuote" style="border-left: 1px solid #00F; padding-left: 13px; margin-left: 0;" type="cite"><div class="mimetype-multipart-alternative"><span><p><meta content="text/html; charset=us-ascii" http-equiv="content-type" /></p><table style="width:100%"><tbody><tr><td style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><p><br /></p><div><br /><blockquote type="cite"><div>On 28. Aug 2023, at 13:32, Carsten Grzemba via oi-dev <oi-dev@openindiana.org> wrote:</div><br class="Apple-interchange-newline" /><div><meta charset="UTF-8" /><blockquote cite="mid:d4fa8209-78f0-2085-b709-db0941f8aff4@Duedinghausen.eu" class="iwcQuote" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(0, 0, 255); padding-left: 13px; margin-left: 0px;" type="cite"><div class="mimetype-multipart-mixed"><span><table style="width: 909px;"><tbody><tr><td><blockquote cite="mid:bf5015235e43.64ec854f@contac-dt.de" type="cite"><div>#11 0x00000000007b1eb5 in Medium::i_queryInfo (this=this@entry=0xe004c0, fSetImageId=fSetImageId@entry=false,<br />    fSetParentId=fSetParentId@entry=false, autoCaller=...)<br />    at /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Main/src-server/MediumImpl.cpp:7176<br />#12 0x00000000007b2dc5 in Medium::refreshState (this=0xe004c0, autoCaller=..., aState=0xe0b1a0)<br />    at /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Main/src-server/MediumImpl.cpp:2180<br />#13 0x00000000009acf71 in MediumWrap::RefreshState (this=0xe004c0, aState=0xe0b1a0)<br />    at /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/out/solaris.amd64/debug/obj/VBoxAPIWrap/MediumWrap.cpp:1344</div></blockquote></td></tr></tbody></table></span></div></blockquote></div></blockquote></div><br /><div><br /></div><div>Those are bits you want to look into, as you get throw from:</div><div><br /></div><div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">Medium::i_queryInfo+0x2ae()</span></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures"><br /></span></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">rgds,</span></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">toomas</span></p></div></td></tr></tbody></table></span></div></blockquote>    try   <br />    {<br />        /* skip accessibility checks for host drives */<br />        if (m->hostDrive)<br />        { <br />            success = true; <br /> --->>           throw S_OK; <br />        }     <br /><div><br /></div><div>...8<..<br /></div><div><br /></div><div>    }</div>    catch (HRESULT aRC)<br />    {<br />        rc = aRC;<br />    }<br /><div><br /></div><div>Which is  a <span _d-id="3207" class="--l --r sentence_highlight">very impressive application of C++-Exception ...<br /></span></div><div><br /></div> <br /><br />-- <br signature="separator" />Carsten
</div></blockquote><br /><div>A little bit confusing, the working binary compiled with gcc7:</div><div><br /></div><div>$ gdb /opt/VirtualBox/amd64/VBoxSVC <br />GNU gdb (GDB) 13.2<br /></div><div>...<br /></div><div>(gdb) b Medium::i_queryInfo<br />warning: could not convert 'Medium::i_queryInfo' from the host encoding (ISO-8859-1) to UTF-32.<br />This normally should not happen, please file a bug report.<br />Breakpoint 1 at 0x75f0c0: file /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Main/src-server/MediumImpl.cpp, line 7054.</div><div><br /></div><div>and the not working compiled with gcc10</div><div><div><br /></div><div>$ gdb /opt/VirtualBox/amd64/VBoxSVC <br />GNU gdb (GDB) 13.2<br /></div><div>...<br /></div><div>(gdb) b Medium::i_queryInfo<br />warning: could not convert 'Medium::i_queryInfo' from the host encoding (ISO-8859-1) to UTF-32.<br />This normally should not happen, please file a bug report.</div><div>Breakpoint 1 at 0x7bb2a0: file /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/include/VBox/com/AutoLock.h, line 266.<br /><br /></div><div>the symbol Medium::i_queryInfo is mapped different.<br /></div></div>-- <br signature="separator" />Carsten <br />