Root cause analysis from error messages and stack traces