There are many things that can cause your dog to have a chronic unpleasant odor, and all of them need to be investigated, including: a possible yeast infection, a problem with the anal glands, gassiness, an ear infection, problems with the teeth or gums, a dietary issue, or an underlying illness.