summarize repeated stack trace entries. closes #2735