Daniel Posted August 16, 2005 Share Posted August 16, 2005 Hey all, I'm re-compiling a vex function that worked just fine in 7.0.214. I'm recompiling for 8.0.324 and getting crashes when the function is used. It's compiling w/out error. I've narrowed down the crash to: int status = 1; GU_Detail *detail; cerr<<"About to load..."; status = detail->load(filename, isBinary); cerr<<"Loaded!"<<endl; That's it.. I never gets to the "Loaded!" line and houdini crashes. There's really not much else going on above this spot in the code. I've mailed support on this one too, but thought I'd also try my luck here and see if there are any suggestions. Thanks! daniel Quote Link to comment Share on other sites More sharing options...
edward Posted August 16, 2005 Share Posted August 16, 2005 Shouldn't detail be an object instead of a pointer? There must be more you're ommitting here. Quote Link to comment Share on other sites More sharing options...
Daniel Posted August 16, 2005 Author Share Posted August 16, 2005 Shouldn't detail be an object instead of a pointer? There must be more you're ommitting here. 20554[/snapback] Ah, yea.. hmm. I have the option to load from a file or use the "op:/" syntax to get at geometry out of a sop: detail = (GU_Detail *)sop->getCookedGeo( context, 1 ); in that case it's a pointer to the sop data. I think I just got a bit confused when loading off disk. What's stumped me though is I'm pretty sure my code worked in 7.0.214.. now I'm curious thanks for the reality check, I'll try that tomorrow at work d Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.