--TEST-- GH-15851: Access on NULL when printing backtrace during cleanup of nested generator frame --FILE-- --EXPECTF-- #0 %s(%d): Foo->__destruct() #1 %s(%d): bar()