The problem is that the vtable function get_class return NULL. This is easily fixable, but the root of the problem is that the _class attribute is set in init as PMCNULL, but later it contains NULL.
- [perl #59532] say typeof(namespace) gives a segfault NotFound via RT