Moderator Notice
I'm moving this thread to the Calibre forum instead of the plugin specific sub-forum and renaming it appropriately.
From what you say, you aren't getting a seg fault from a plugin, you're getting one from running Calibre CLI
calibredb add.
I'm not personally well versed with what may cause that. Are you using an OS distro bundled version of Calibre? Or the
official release?
The error you see from
calibre-debug -r is unrelated.
"Add Books" is a built-in action, which plugins share many similarities with, but aren't quite the same thing.
Not sure why Kovid gives an example in the
calibre-debug -r help text of 'Add Books' except that it's a placeholder instead of using something like 'Plugin Name'. The 'Add Books' built-in action doesn't have a plugin style CLI