[osg-users] osgViewer crashes at inserting string into stream inside Renderer::draw() (Win10, osg3.2.0, compiler vc10)

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Wed Mar 18 08:25:03 PDT 2020


Hi Robert,

thank you for the reply. You guess point me out to some way I could do 
further problem analysis. 

 1.*could it be thread safety issue with the Windows iostream 
implementation?   - *that is a valid point I will check out this.

* 2.SingleThreaded to see if it's related to threading -  *I have tried 
this, app does not crash as far as I have tested.
 
* 3.disable the debug console output - *do you mean by disable this marco DEBUG_MESSAGE?  
I noticed a macro "OSG_NOTIFY_DISABLED" in include/osg/Notify. Shoud I just 
define this in that file Notify?

 Best Regards
 Yuan

 Am Mittwoch, 18. März 2020 15:28:51 UTC+1 schrieb Robert Osfield:
>
> Hi Yuan,
>
> 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?  
>
> Could you try with the Viewer threading set to SingleThreaded to see if 
> it's related to threading.
>
> Could you also disable the debug console output to see if that addresses 
> the problem?
>
> Robert.
>

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/d62d39cb-ac43-48c8-b17f-2474e7644054%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200318/72783110/attachment.html>


More information about the osg-users mailing list