It sounds like you found a bug in xmllint. Try updating to the latest version (2.9.0), if that doesn't help (or you are already using the latest version) then you should report the bug
here. You should include the schema and XML file you used to cause the crash (preferably as small as possible, ie remove everything that doesn't cause the crash).