Off-price apparel and footwear chain Stein Mart Inc on Thursday revealed it swung to a second quarter loss as its performance was hampered by store-closing costs and losses from 16 under-performing stores.