| Previous | Next |
| kOSMetaClassInstNoSuper | kOSMetaClassNoKext |
kOSMetaClassDuplicateClass
kOSMetaClassDuplicateClass is raised when the legacy OSMetaClass registration path encounters a duplicate class. It refers to the Libkern C++ class registry, not merely to a duplicate kext bundle identifier or a duplicate device service in the I/O Registry.
The practical question is which two registrations supply the same class identity and why both reached the loader. Common evidence includes an already loaded dependency, a build that packages overlapping class definitions, or a failed prior load that left the diagnostic sequence unclear. The right repair is to resolve the ownership and registration order, not to rename an unrelated I/O service at runtime.
What to compare
- The duplicate class name and the owning kext identifiers.
- The set of linked libraries and dependencies included in each build.
- Load order and whether the prior class registration completed successfully.
- Earlier messages for allocation or superclass-registration failures that may have obscured the original condition.
References
- Apple XNU: OSReturn.h
- Apple XNU: OSMetaClass.cpp
- Apple: deprecated kernel extensions and alternatives
Looking for a different code? Search another status or error code.