I agree. Unfortunately, I still don't know why this is happening since the same conditions exist as before (see below).
> Digging a little deeper shows that it's > actually coming from the "window->hasExtension(_arbOcclusionQuery)." > inside hasExtension(), _arbOcclusionQuery has id of 35, when total > count of entries in list (_availExtensions) is 35. Thus, causing out > of range error. This only seems to happen in a clustered application > when using more than one osg::viewport. (e.g. for stereo rendering) Suggestions where made that is might be concurrent access to extension handling, but I don't think any real conclusion was found. Also, it seems like I might be the only one experiencing this problem since no one else has really reported this. If this is the case, then I'll happily accept it as user (my) error and try to resolve it on our end. I just thought the addition wasn't too destructive and might save %1 of new users a little frustration. Cheers E. --- Eric Maslowski Research Computer Specialist University of Michigan 3D Lab email: [EMAIL PROTECTED] -----Original Message----- From: Carsten Neumann [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2008 14:38 To: [email protected] Subject: Re: [Opensg-users] vector <x> iterator not dereferencable - OSG 1.8, VS 2005, Run-time Error Hello Eric, Maslowski, Eric wrote: > Hello, > This little problem popped up again with the latest daily build preventing our active stereo cluster windows to work. I just had to add a range check back to hasExtension() in OSGWindow.inl and change the "vector<bool>" found in OSGWindow to "vector<UInt8>". Can someone add this to the trunk so it gets included in any future builds of 1.8? (even though we should all be moving to 2.0 at this point) > > inline bool Window::hasExtension(UInt32 id) > { > + if(id >= _availExtensions.size()) > + return false; > + > return _availExtensions[id]; > } well, I've put the range check in (although honestly I'd rather now what is going wrong than work around it...) regards, Carsten ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
