-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On 08/10/2010 06:01 PM, Tom's Lists wrote:

> 
> To me it looks like the boost exceptions are initializing themselves (to
> have enable the global functions like "current_exception" etc.) by
> throwing around some exceptions. Now the MSVC exception handling
> implementation (as far as I read) uses a special errorcode (-/529697949/
> , In /hex/, this is 0xE06D7363) internally to determine if an exception
> occured. With this errorcode set (from the "unevil" exception during
> initialization) the LoadLibrary call exits with an error, just because
> the internal errror flag is set to the "C++ exception Magic Number"...so
> far my ideas, I might be totally wrong.
> 
> However, looks like a openvrml problem rather then an osgPlugin one.
> 
> Regards,
> Thomas
> 

No idea, Thomas. This is way beyond my ken, I am mostly Linux developer.
You are getting bad_alloc from Boost, that type of error usually means that:

a) you have run out of memory (not likely)
b) allocation failed due to corrupted heap.

My bet is on the second possibility - likely the DLL heap (which is
separate for each DLL) is messed up. I would check the compiler switches
related to DLLs and make absolutely sure that there is no mismatch
between debug and release libs, even for dependencies of OpenVRML -
everything needs to be the same. Debug uses different memory allocation
code and such crashes are pretty much the symptom of mismatched libs.

Can you build some of the OpenVRML demos? That could help to pinpoint
the source of the problem.

Regards,


Jan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org/

iD8DBQFMYat1n11XseNj94gRAodyAKDBRHXlQph35aHS7/dcv2DFMhsfeACgn3E3
DIiok1IGsmEDowDGYA4LLj4=
=K3Y9
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to