It is impossible for B to determine which pad an op refers to, and when an XS method is called it's rather unlikely that an appropriate pad will be available at all. The B::PADOP::gv method was therefore misconceived. Since this ticket was opened, it has been tweaked in commit 3a23d767cf63fb2e8de3d79eadee49bbc33eec53 by DaveM, who was evidently unaware of this ticket but independently discovered the bogosity. That's probably the best resolution available. This ticket should be closed. -zefram