add stacktrace in duplicate names warning