When running pluginviewer against macOS's plugin directory via pluginviewer -p /usr/lib/sasl2, I get a segmentation fault:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_platform.dylib 0x192abea44 _platform_strlen + 4
1 libsystem_c.dylib 0x19291957c strdup + 24
2 pluginviewer 0x102597410 list_installed_auxprop_mechanisms + 128
3 libsasl2.3.dylib 0x1025c85e0 auxprop_plugin_info + 264
4 pluginviewer 0x102596ea0 main + 944
5 dyld 0x1926e6b98 start + 6076
I'm using version 2.1.28.