Thomas Beer wrote: > But still - why does it crash with osb? The getBin... Stuff is used with > clustering, too (AFAIR) - so the error should occur there, too. But maybe > nobody uses Windows for clustering!? > No idea why it crashes. But I do know that windows is used with clustering. However, it could be that OpenSG accesses [0] for an empty vector but does not use it, since the vector is empty. This is then caught by the VS 8.0 "secure" STL which gives that error.
Changing that isn't easy since you have a precompiled OpenSG, otherwise one could define stuff like SCL_SECURE 0 etc to get rid of it, then recompile and it would probably work ok. The proper fix would of course be to avoid accessing said element for an empty vector, but it's not easy to fix all those details in something as big as OpenSG. I'm not sure it's legal or not in C++ to compute an invalid adress like that. Most systems allow it, but some more "secure" system traps as soon as an illegal adress is loaded into an adress register, hence MS decided to check for this. (Although it's safe on x86, it's not legal C++). Anyway, enough rambling on that. Cheers, /Marcus ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
