Carsten Neumann wrote: > I can't reproduce it on linux with the current trunk, but I don't think > anything has changed in that area since r1563. Even valgrind is happy > and reports nothing.
Ok. The crash seem to indicate that the memory already has been freed. > Can you try manually calling osgExit or try this [snip] > and see if it makes a difference? I'll get right on it on monday, back at work. :) > I'm wondering if the d'tors for local > variables in main run at a different point in time in relation to the > exit handlers on windows? I don't think so. The exit-handlers run post-main, after any locals in main() have been destroyed. That's how it's supposed to be, right? Actually, just causing a call to getDefaultMaterial (by doing makeTorus()) triggers this. (That's how I got the problem in the first place.) Cheers, /Marcus ------------------------------------------------------------------------- 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
