[osg-users] osgviewerWX race condition.
robert.osfield at gmail.com
Wed Oct 24 12:46:01 PDT 2007
I don't know about the WxWidgets issue, but the ascii loading issue is
a known issue, attempts have been made at fixing it, but alas its a
bit more awkward than one at first would expect - its related to the
C/C++ libs changing the way they treat . in numbers. The upshot is
that we'll probably need to write out own ascii parsing code for
converting asci to floats and doubles.
On 10/24/07, Jose Luis Hidalgo <joseluis.hidalgo at gmail.com> wrote:
> Hi All,
> Thank you both for trying , I've discovered something unusual...
> when I run osgviewerWX with my default locale (LANG=es_ES.UTF-8) I get
> the binary cow but no crash. If I set LANG to "C" or unset LANG then
> it starts crashing (and sometimes it works, when it does I can see
> the cow properly).
> I'm using wxWidgets 2.8, on a Gutsy Gibbon Linux... with the latest
> SVN check out of OSG. Maybe the problem has nothing to do with OSG and
> is only a WX problem... by the way the error I get is:
> Error: OpenGL version test failed, requires valid graphics context.
> Fallo de segmentación (core dumped)
> And... with valgrind it works, as with GDB probably because of the
> delay gives time enough to create the context... but I can't see
> through the tiny errors from valgrind+OpenGL+X
> PS: Attached is the binary cow... I remember see this before, but no
> how to solve it.
> 2007/10/24, Mario Valle <mvalle at cscs.ch>:
> > No problem at all here.
> > Try to run it under valgrind, maybe it discovers something interesting.
> > Ciao!
> > mario
> > Jose Luis Hidalgo wrote:
> > > Hi All,
> > > I'm having problems with osgviewerWX on Linux, first I have to
> > > execute it with LANG="C" otherwise I end with a binary cow (This is a
> > > known issue, isn't it?). Anyway, I can live with it, but recently the
> > > osgviewerWX works randomly, sometimes it opens, sometimes it doesn't
> > > (this is far more probable here). That seems like a race condition,
> > > but when I try to debug it, it allways works! so I can not find where
> > > the problem could be...
> > >
> > > ... is anyone having problems with WX too?
> > >
> > > Cheers,
> > > J.L.
> > >
> > >
> > --
> > Ing. Mario Valle
> > Visualization Group | http://www.cscs.ch/~mvalle
> > Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60
> > v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> Jose L. Hidalgo Valiño (PpluX)
> ---- http://www.pplux.com ----
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users