{"action":"closed","issue":{"url":"https://api.github.com/repos/gwaldron/osgearth/issues/1206","repository_url":"https://api.github.com/repos/gwaldron/osgearth","labels_url":"https://api.github.com/repos/gwaldron/osgearth/issues/1206/labels{/name}","comments_url":"https://api.github.com/repos/gwaldron/osgearth/issues/1206/comments","events_url":"https://api.github.com/repos/gwaldron/osgearth/issues/1206/events","html_url":"https://github.com/gwaldron/osgearth/issues/1206","id":363508418,"node_id":"MDU6SXNzdWUzNjM1MDg0MTg=","number":1206,"title":"OSG 3.6.3: AnnotationUtils::createTextDrawable / osgText crash","user":{"login":"remoe","id":804941,"node_id":"MDQ6VXNlcjgwNDk0MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/804941?v=4","gravatar_id":"","url":"https://api.github.com/users/remoe","html_url":"https://github.com/remoe","followers_url":"https://api.github.com/users/remoe/followers","following_url":"https://api.github.com/users/remoe/following{/other_user}","gists_url":"https://api.github.com/users/remoe/gists{/gist_id}","starred_url":"https://api.github.com/users/remoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remoe/subscriptions","organizations_url":"https://api.github.com/users/remoe/orgs","repos_url":"https://api.github.com/users/remoe/repos","events_url":"https://api.github.com/users/remoe/events{/privacy}","received_events_url":"https://api.github.com/users/remoe/received_events","type":"User","site_admin":false},"labels":[{"id":230288,"node_id":"MDU6TGFiZWwyMzAyODg=","url":"https://api.github.com/repos/gwaldron/osgearth/labels/defect","name":"defect","color":"e10c02","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-25T10:23:57Z","updated_at":"2018-10-19T10:32:15Z","closed_at":"2018-10-19T10:32:15Z","author_association":"CONTRIBUTOR","body":"Tested with latest osgearth master:\r\n\r\n```\r\n* thread #44, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)\r\nlibOpenThreadsd.21.dylib`OpenThreads::Atomic::operator--(this=0xbaddc0dedeadbebd) at Atomic.cpp:58\r\nlibosgTextd.158.dylib`osg::Referenced::unref(this=0xbaddc0dedeadbead) const at Referenced:173\r\nlibosgTextd.158.dylib`osg::ref_ptr<osgText::GlyphTexture>::~ref_ptr(this=0x000060000020a270) at ref_ptr:41\r\nlibosgTextd.158.dylib`osg::ref_ptr<osgText::GlyphTexture>::~ref_ptr(this=0x000060000020a270) at ref_ptr:41\r\nlibosgTextd.158.dylib`std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::~__split_buffer() [inlined] std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >::destroy(this=0x000060c0001c0368, __p=0x000060000020a270) at memory:1807\r\nlibosgTextd.158.dylib`std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::~__split_buffer() [inlined] void std::__1::allocator_traits<std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> > >::__destroy<osg::ref_ptr<osgText::GlyphTexture> >(__a=0x000060c0001c0368, __p=0x000060000020a270) at memory:1680\r\nlibosgTextd.158.dylib`std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::~__split_buffer() [inlined] void std::__1::allocator_traits<std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> > >::destroy<osg::ref_ptr<osgText::GlyphTexture> >(__a=0x000060c0001c0368, __p=0x000060000020a270) at memory:1548\r\nlibosgTextd.158.dylib`std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::~__split_buffer() [inlined] std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::__destruct_at_end(this=0x0000700017659d80, __new_last=0x0000000000000000) at __split_buffer:296\r\nlibosgTextd.158.dylib`std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::~__split_buffer() [inlined] std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::__destruct_at_end(this=0x0000700017659d80, __new_last=0x0000000000000000) at __split_buffer:141\r\nlibosgTextd.158.dylib`std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::~__split_buffer() [inlined] std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::clear(this=0x0000700017659d80) at __split_buffer:86\r\nlibosgTextd.158.dylib`std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::~__split_buffer(this=0x0000700017659d80) at __split_buffer:341\r\nlibosgTextd.158.dylib`std::__1::__split_buffer<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> >&>::~__split_buffer(this=0x0000700017659d80) at __split_buffer:340\r\nlibosgTextd.158.dylib`void std::__1::vector<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> > >::__push_back_slow_path<osg::ref_ptr<osgText::GlyphTexture> >(this=0x000060c0001c0358 size=1, __x=0x0000700017659f58) at vector:1580\r\nlibosgTextd.158.dylib`osgText::Font::assignGlyphToGlyphTexture(osgText::Glyph*, osgText::ShaderTechnique) [inlined] std::__1::vector<osg::ref_ptr<osgText::GlyphTexture>, std::__1::allocator<osg::ref_ptr<osgText::GlyphTexture> > >::push_back(this=0x000060c0001c0358 size=1, __x=0x0000700017659f58) at vector:1616\r\nlibosgTextd.158.dylib`osgText::Font::assignGlyphToGlyphTexture(this=0x000060c0001c02d0, glyph=0x000000010de16650, shaderTechnique=ALL_FEATURES) at Font.cpp:479\r\nlibosgTextd.158.dylib`osgText::Glyph::getOrCreateTextureInfo(this=0x000000010de16650, technique=ALL_FEATURES) at Glyph.cpp:493\r\nlibosgTextd.158.dylib`osgText::Text::computeGlyphRepresentation(this=0x0000000152171550) at Text.cpp:649\r\nlibosgTextd.158.dylib`osgText::TextBase::setText(this=0x0000000152171550, text=0x000070001765add0) at TextBase.cpp:269\r\nlibosgTextd.158.dylib`osgText::TextBase::setText(this=0x0000000152171550, text=\"-\", encoding=ENCODING_UTF8) at TextBase.cpp:279\r\nlibosgEarthAnnotationd.0.dylib`osgEarth::Annotation::AnnotationUtils::createTextDrawable(text=\"-\", symbol=0x0000000172054a00, box=0x000070001765b158) at AnnotationUtils.cpp:92\r\nlibosgEarthAnnotationd.0.dylib`osgEarth::Annotation::PlaceNode::compile(this=0x0000000172042400) at PlaceNode.cpp:300\r\nlibosgEarthAnnotationd.0.dylib`osgEarth::Annotation::PlaceNode::setStyle(this=0x0000000172042400, style=0x000070001765b8a8, readOptions=0x000000013f6a9ad0) at PlaceNode.cpp:449\r\nosgdb_osgearth_label_annotationd.so`AnnotationLabelSource::makePlaceNode(this=0x0000600001c89c90, context=0x00007000176603e0, feature=0x00000001537b4e00, style=0x000070001765b8a8) at AnnotationLabelSource.cpp:184\r\nosgdb_osgearth_label_annotationd.so`AnnotationLabelSource::createNode(this=0x0000600001c89c90, input=size=1, style=0x000070001765d5e8, context=0x00007000176603e0) at AnnotationLabelSource.cpp:131\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::BuildTextFilter::push(this=0x000070001765d4a8, input=size=1, context=0x00007000176603e0) at BuildTextFilter.cpp:63\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::GeometryCompiler::compile(this=0x0000700017662200, workingSet=size=1, style=0x0000700017663200, context=0x0000700017662af0) at GeometryCompiler.cpp:473\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::GeometryCompiler::compile(this=0x0000700017662200, cursor=0x0000600001c89150, style=0x0000700017663200, context=0x0000700017662af0) at GeometryCompiler.cpp:219\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::GeomFeatureNodeFactory::createOrUpdateNode(this=0x000000014db3de70, features=0x0000600001c89150, style=0x0000700017663200, context=0x0000700017662af0, node=0x0000700017662678) at FeatureModelSource.cpp:393\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::FeatureModelGraph::createOrUpdateNode(this=0x000000015e1f2800, cursor=0x0000600001c89150, style=0x0000700017663200, context=0x0000700017662af0, readOptions=0x00000001388d4480, output=0x0000700017662678) at FeatureModelGraph.cpp:1270\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::FeatureModelGraph::createStyleGroup(this=0x000000015e1f2800, style=0x0000700017663200, workingSet=size=1, contextPrototype=0x0000700017663530, readOptions=0x00000001388d4480) at FeatureModelGraph.cpp:1453\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::FeatureModelGraph::queryAndSortIntoStyleGroups(this=0x000000015e1f2800, query=0x00007000176646d8, styleExpr=0x0000000152ff7880, index=0x000000010db48840, parent=0x00006080003ae700, readOptions=0x00000001388d4480, progress=0x00006080046c8180) at FeatureModelGraph.cpp:1399\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::FeatureModelGraph::build(this=0x000000015e1f2800, defaultStyle=0x0000700017665248, baseQuery=0x0000700017665540, workingExtent=0x0000700017665bf0, index=0x000000010db48840, readOptions=0x00000001388d4480, progress=0x00006080046c8180) at FeatureModelGraph.cpp:1212\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::FeatureModelGraph::buildTile(this=0x000000015e1f2800, level=0x0000700017665b40, extent=0x0000700017665bf0, key=0x0000700017665ac8, readOptions=0x00000001388d4480) at FeatureModelGraph.cpp:1064\r\nlibosgEarthFeaturesd.0.dylib`osgEarth::Features::FeatureModelGraph::load(this=0x000000015e1f2800, lod=1, tileX=1, tileY=1, uri=\"1_1_1.osgearth_pseudo_fmg\", readOptions=0x00000001388d4480) at FeatureModelGraph.cpp:676\r\nlibosgEarthFeaturesd.0.dylib`osgEarthFeatureModelPseudoLoader::readNode(this=0x0000608000100bd0, uri=\"1_1_1.osgearth_pseudo_fmg\", readOptions=0x00000001388d4480) const at FeatureModelGraph.cpp:190\r\n```"}}
{"actor":{"display_login":"remoe"}}