We are using optix to develop a houdini rendering plugin. It was working very well previously before we upgraded to optix 7.4, however after upgrading it crashes at optixModuleCreateFromPTX quite frequently. The actual workflow to occur this problem is like
initialize everything → render → dispose everything-> initialize again → crash
This is very odd as we can’t see any memory leak or so happens and it just crashes. Everytime it crashes at optixModuleCreateFromPTX call, but sometimes it’s a memory-leak-ish exception where system memory usage gets very large, while in other cases it reports like “access to 0xFFFFFFFF failed”.
We can fix this by switching back to optix 7.1, but it’s really mysterious to us and we keep wondering why. Now I am even personally suspecting houdini causes this. Could anyone please provide some hint on this strange problem? Thanks!