Are Ribs Spoiled if They Smell Bad When Opened?

I've smoked hundreds of racks of ribs but sometimes ribs smell a little funky, right out of the package. Should ribs smell bad when they are first opened? Does an odor mean that ribs are spoiled? I've often noticed a faint odor when I opened a pack of ribs but today was different. The odor