memory corruption: devInfo is not reachable by the GC, so later newPyrXXX functions may collect it.