<div dir="ltr">Hi Yuan,<div><font size="2">I created a workaround for this problem on 22 Aug 2017 titled "reduce the need to reallocate the std::ostream buffer behind osg::Notify..." - <a href="https://github.com/openscenegraph/OpenSceneGraph/pull/314">link</a>: </font><a href="https://github.com/openscenegraph/OpenSceneGraph/pull/314">https://github.com/openscenegraph/OpenSceneGraph/pull/314</a></div><div><br></div><div><font size="2">As it's only a few lines, I guess backporting to 3.2 will be rather simple.</font></div><div><font size="2"><br></font></div><div><font size="2">Regards, Laurens.<br></font><br>On Wednesday, March 18, 2020 at 4:25:03 PM UTC+1, Yuan Cheng wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Robert,<div><br></div><div>thank you for the reply. You guess point me out to some way I could do further problem analysis. </div><div><br> 1.<i><u>could it be thread safety issue with the Windows iostream implementation</u>?   - </i>that is a valid point I will check out this.</div><div><i><br></i></div><div><i> 2.<u>SingleThreaded to see if it's related to threading</u> -  </i>I have tried this, app does not crash as far as I have tested.</div><div><i> </i></div><div><i> 3.<u>disable the debug console output</u> - </i>do you mean by disable this marco <font size="2">DEBUG_MESSAGE?  I noticed a macro "</font><font size="2">OSG_NOTIFY_DISABLED" in include/osg/Notify. Shoud I just define this in that file Notify?</font></div><div><font size="2"><br></font></div><div><font size="2"> Best Regards</font></div><div><font size="2"> Yuan</font></div><div><i> <br></i>Am Mittwoch, 18. März 2020 15:28:51 UTC+1 schrieb Robert Osfield:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Yuan,</div><div><br></div><div>I'm not a Windows users so can't comment on platform specifics, so have to take an guess, could it be thread safety issue with the Windows iostream implementation?  <br></div><div><br></div><div>Could you try with the Viewer threading set to SingleThreaded to see if it's related to threading.</div><div><br></div><div>Could you also disable the debug console output to see if that addresses the problem?</div><div><br></div><div>Robert.<br></div></div></blockquote></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">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/5856a1d6-3c29-4232-ac13-486e90d9b537%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/5856a1d6-3c29-4232-ac13-486e90d9b537%40googlegroups.com</a>.<br />