Re: [osg-users] DefaultFont crash issue

2020-01-31 Thread OpenSceneGraph Users
Hi Anna & Glenm, On Thu, 30 Jan 2020 at 13:00, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > I too have seen thread-related issues when creating Text from multiple > threads. I was never able to find the time to debug it to conclusion; but I > suspect that a shared Font

Re: [osg-users] DefaultFont crash issue

2020-01-30 Thread OpenSceneGraph Users
I too have seen thread-related issues when creating Text from multiple threads. I was never able to find the time to debug it to conclusion; but I suspect that a shared Font object that needs to create new Glyph textures isn't doing so in a thread-safe manner. For example,

Re: [osg-users] DefaultFont crash issue

2020-01-30 Thread OpenSceneGraph Users
Hi Anna, On Wed, 29 Jan 2020 at 22:38, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > In relation to the DefaultFont crash issue, I noticed that my code would > occasionally crash on creation of osgText::Text. > Most of my osgText::Text is not created on the main thread. >

Re: [osg-users] DefaultFont crash issue

2020-01-29 Thread OpenSceneGraph Users
Hi all, I have new information about what Fabian has done that's weird. When he's been saying he's doing static linking, he's not doing what most people would associate that phrase with (i.e. building OSG to a library file such that all code is contained within and consuming that when linking

[osg-users] DefaultFont crash issue

2020-01-29 Thread OpenSceneGraph Users
Hi Robert, In relation to the DefaultFont crash issue, I noticed that my code would occasionally crash on creation of osgText::Text. Most of my osgText::Text is not created on the main thread. In order to avoid the DefaultFont crash, I created a osg::ref_ptr necessaryFont =