You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to load a FBX scene, but russimp is causing double free.
let scene = {let file = std::fs::read("...").unwrap();
russimp::scene::Scene::from_buffer(&file,vec![
russimp::scene::PostProcess::JoinIdenticalVertices,
russimp::scene::PostProcess::Triangulate,
russimp::scene::PostProcess::SortByPrimitiveType,
russimp::scene::PostProcess::SplitLargeMeshes,
russimp::scene::PostProcess::ImproveCacheLocality,
russimp::scene::PostProcess::OptimizeMeshes,
russimp::scene::PostProcess::OptimizeGraph,],"",).unwrap()};
my-app(25371,0x1fbef1e00) malloc: Double free of object 0x15c969cc0
my-app(25371,0x1fbef1e00) malloc: *** set a breakpoint in malloc_error_break to debug
fish: Job 1, 'cargo run' terminated by signal SIGABRT (Abort)
But when I try to load another FBX file, it loads without any issue. I think the actual problem is inside assimp lib. Should I report it in there instead? What do you think?
The text was updated successfully, but these errors were encountered:
hi @AcrylicShrimp, I don't have much time to put on russimp right now.
But I am open to accept pull requests.
It is hard to say without going deep into it.
First of all, thank for this amazing work!
I'm trying to load a FBX scene, but
russimp
is causing double free.The error is coming from:
russimp/src/scene.rs
Line 443 in c6af3e2
But when I try to load another FBX file, it loads without any issue. I think the actual problem is inside assimp lib. Should I report it in there instead? What do you think?
The text was updated successfully, but these errors were encountered: