<div dir="ltr">Hi,<div><br></div><div>ok I found the root issue - my code did not call  RTR3InitExe(argc, &argv, 0) since I built the application only from looking at the API interfaces and was not aware that I need to do this (actually maybe it makes sense to include a comment int the xpcom tstVBoxAPIXPCOM.cpp sample about this?). Now after I've taken a closer look to the frontends I see that all them call the initialization function the first thing. I added it and my IFrambuffer implementation started to get invocations. Since my Windows code worked fine without it - should I add it to Windows as well? Any chance it is responsible for the weird recompiler longjmp crash I get? Thanks in advance.</div><div><br></div><div>Best Regards,</div><div>Rudolfs Bundulis</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-30 2:42 GMT+03:00 Rūdolfs Bundulis <span dir="ltr"><<a href="mailto:rudolfs.bundulis@gmail.com" target="_blank">rudolfs.bundulis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Hi,</div><div class="gmail_extra"><br></div><div class="gmail_extra">I compiled debug version of 4.3.26 and tried my code against it - now the log has a much nicer assert message just before it ends:<br><br>00:00:55.619996 TM: GIP - u32Mode=1 (SyncTSC) u32UpdateHz=83<br>00:00:55.652313 TM: cTSCTicksPerSecond=0xa0861eba (2 693 144 250) fTSCVirtualized=true  fTSCUseRealTSC=false<br>00:00:55.652322 TM: fMaybeUseOffsettedHostTSC=true  TSCTiedToExecution=false TSCNotTiedToHalt=false<br>00:00:55.652373 <br>00:00:55.652376 !!Assertion Failed!!<br>00:00:55.652378 Expression: <NULL><br>00:00:55.652380 Location  : /home/rudolfs/VirtualBox-4.3.26/src/VBox/VMM/VMMR3/TM.cpp(576) int TMR3Init(PVM)<br>00:00:55.652508 Failed to create timer, u32Millies=10 rc=VERR_NOT_SUPPORTED.<br><br></div><div class="gmail_extra">I put a breakpoint in TM.cpp:576, and it seems that I am failing because of the code in RTTimerCreateEx():<br><br>    /*<br>     * We need the signal masks to be set correctly, which they won't be in<br>     * unobtrusive mode.<br>     */<br>    if (RTR3InitIsUnobtrusive())<br>        return VERR_NOT_SUPPORTED;<br><br></div><div class="gmail_extra">What is unobtrusive mode and what signal masks do I need to set? I'll have a look at what is done in the frontends, but I guess that you guys here can explain it in more detail.<br><br></div><div class="gmail_extra">Best Reagrds,<br></div><div class="gmail_extra">Rudolfs Bundulis<br></div></div>
</blockquote></div><br></div>