Springfield , the third-largest city in Massachusetts , certainly seems down in the dumps , the victim of a decimated industrial base , middle-class flight and seemingly intractable poverty , all greatly aggravated by years of government mismanagement and corruption that have left it at risk of bankruptcy .