<div dir="ltr">Hi Nick,<br><div class="gmail_extra"><br><div class="gmail_quote">On 3 May 2015 at 13:27, Trajce Nikolov NICK <span dir="ltr"><<a href="mailto:trajce.nikolov.nick@gmail.com" target="_blank">trajce.nikolov.nick@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Robert,<div><br></div><div>when I browse the code I seeing this in the Atomic.h/cpp</div><div><br></div><div><table summary="Revision info" style="font-size:13px;margin:0px;border:1px solid rgb(215,215,215);border-collapse:collapse;border-spacing:0px;clear:both;width:1328px;color:rgb(0,0,0);font-family:Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;background:rgb(247,247,240)"><tbody><tr><th scope="col" style="font-stretch:normal;font-size:11.0500001907349px;padding:2px 0.5em;vertical-align:top;white-space:nowrap">Revision <a href="http://trac.openscenegraph.org/projects/osg/changeset/13132" style="color:rgb(187,0,0);text-decoration:none;border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(187,187,187)" target="_blank">13132</a>, <span title="8268 bytes">8.1 kB</span> (checked in by robert, <a href="http://trac.openscenegraph.org/projects/osg/timeline?from=2015-04-30T16%3A04%3A51Z%2B0200&precision=second" title="2015-04-30T16:04:51Z+0200 in Timeline" style="color:rgb(187,0,0);text-decoration:none;border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(187,187,187)" target="_blank">3 days</a> ago)</th></tr><tr><td style="font-family:Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;font-stretch:normal;font-size:11.0500001907349px;padding:2px 0.5em;vertical-align:top;width:1315.96875px"><p style="margin:0px;padding:0px">From Christian Kehl, changes for making osgAndroid working with GLES1 enabled </p></td></tr></tbody></table></div><div class="gmail_extra"><br></div><div class="gmail_extra">And I reverted back the changes to match 3.3.7 but it still crashes in Atomic::operator--()</div></div></blockquote><div><br></div><div>That check in should only change the include/osg/GLDefines, it shouldn't touch any other file.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Debug works just fine, so I have no idea what is wrong</div></div></blockquote><div><br></div><div>I suspect it's a build issue. Any chance you are mixing release and debug builds?<br><br></div><div>Robert.<br></div><div> </div></div></div></div>