Sounds like you could do with some more validation/testing? This is the reason I made pluginval: Anouncing "pluginval" an open-source cross-platform plugin validation tool, to replicate esoteric host behaviour and be able to test/fuzz in an automated way.
If you find any host specific weirdness let me know and I’ll try to add a test for it.
The more tests we have, the more bulletproof plugins will become