A key corner of the U.S. stock market was flashing an ominous signal just ahead of the new year.