Go to the UBB site (link at bottom of page) and see what you can find out in their forums.

Could be a MySQL bug instead and have nothing to do with UBB Threads.