<div dir="ltr"><div dir="ltr">Hi Robert,<br><br><div>In relation to the DefaultFont crash issue, I noticed that my code would occasionally crash on creation of osgText::Text. <br></div><div>Most of my osgText::Text is not created on the main thread. <br></div><div>In order to avoid the DefaultFont crash, I created a </div>osg::ref_ptr<osgText::Font> necessaryFont = osgText::Font::getDefaultFont();<br>which sticks around from the beginning of the program to the end and doesn't get used by anything.<br>After I did this, my code no longer crashed on osgText::Text creation.<br>The OpenSceneGraph version used is 3.6.4 and on both Windows (7 64-bit) and Linux (Ubuntu 16.04).<br>Also when I was previously using OpenSceneGraph version 3.6.2, osgText::Text creation never crashed.<br><br>Regards,<br>Anna<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><span style="font-family:arial,helvetica,sans-serif"></span><span style="font-family:arial,helvetica,sans-serif"><br></span></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 29, 2020 at 5:15 PM OpenSceneGraph Users <<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Robert,<div><br></div><div>I'm reasonably sure that Fabian's crash isn't the same issue as that example exposes.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><ul><li>Fabian has done something weird with either OSG or OpenMW that hasn't been specified yet.</li></ul></div></blockquote></div><div>If the codebase is the same perhaps it comes down to a sensitivity to compiler version or dependencies?</div></blockquote><div><br></div><div>We have official builds for a variety of Linux distros, Windows and MacOS (and semi-official builds for Android that are generally less reliable) so we should have pretty good coverage with known-good dependency and tooling versions. As I've mentioned before, the most likely culprit for this suddenly appearing for Fabian is that we pretty much never link to OSG statically. It's a nightmare on Windows (I don't think anyone's even attempted it in the last five years) but is more feasible on Linux, where the majority of our contributors are, so I've put out a call for other testers to try and reproduce the problem.</div><div><br></div><div><br></div><div><br></div><div>Also, Robert, I'm assuming you don't have a copy of Morrowind to test OpenMW with. Right now, Steam, GreenManGaming and Fanatical are all offering it for less than £4, but at least one of those sales ends in less than twenty hours. If you're not keen, £4 is a reasonable investment for me to make to increase cooperation between our projects, but it would help if you got back to me quickly.</div><div><br></div><div>Thanks,</div><div><br></div><div>Chris</div><br>On Wednesday, 29 January 2020 14:46:02 UTC, OpenSceneGraph Users  wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Chris,<br></div><div><br></div><div>Thanks the links.  I've tracked down the example you created and re-run it on my system and on the scene graph creation of the second window/view I get text without textures.  <br></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>In summary:</div><div><ul><li>Fabian has done something weird with either OSG or OpenMW that hasn't been specified yet.</li></ul></div></div></div></blockquote><div>If the codebase is the same perhaps it comes down to a sensitivity to compiler version or dependencies?<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><ul><li>It's beginning to feel like you're misspelling OpenMW deliberately.</li></ul></div></div></div></blockquote><div>Sigh.  I likely have dyslexia, while I've never been formally diagnosed I have the traits, the downside is that I regularily get letters wrong, don't spot mispellings.  This isn't personal, it's just an issue I have to deal with, and unfortunately as I read/wrote code and read/write email the community also have to accept that I don't get everything right every time.  In other ways my brain functions pretty well so overall I can still be productive.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><ul><li>Regarding the as-yet unresolved default font/object cache not being released issue I reported in March, the ball was left in your court with nothing more I could do. Hopefully enough has been linked above that we can move forward with that again if you've got more time now.</li></ul></div></div></div></blockquote><div><br></div><div>If this is the one that the attached example recreates then I will be looking into this today.<br></div><div> </div></div></div>
</blockquote></div></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com" target="_blank">osg-users+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/73cd3f2d-7a89-4ded-b247-e3586cea02ca%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/osg-users/73cd3f2d-7a89-4ded-b247-e3586cea02ca%40googlegroups.com</a>.<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div></div>