Hello there.
I keep getting a crash when I try to bake textures in Arnold using MtoA. Below is the error that i'm always getting. I did a cleanup geometry operation, but the crashes still happen.
Any ideas?
* CRASHED at 00:00:00, pixel (147, 256)
* signal caught: SIGSEGV -- Invalid memory reference (address not mapped to object)
*
* backtrace:
* 0 0x0000000158d75089 [libai.dylib] AiShaderGlobalsEdgeLength
*
* loaded modules:
* 0x0000000156bce000 libai.dylib
**** Stack trace: 4 libai.dylib 0x00000001582753f8 (null) + 5773939704 5 libai.dylib 0x0000000158274090 libai.dylib + 23748752 6 libai.dylib 0x0000000158272fe5 libai.dylib + 23744485 7 libai.dylib 0x000000015877e45b AiTextureHandleAccess + 3691
That's pretty generic. Got a repro for it?
It's hard to reproduce. It does not happen with the same shape repeatedly. Sometimes it does, sometimes it doesn't.
We are also seeing that when we bake textures on a lot of geometry objects, Maya's memory consumption sometimes goes way up.
It seems like there is a memory leak somewhere. I will try to follow up with more info as I find it.
Sincerely