You likely have a book that the Kobo cannot handle. I cant think of anything in 0.8.31 that could possibly cause your Kobo to freeze, but feel free to downgrade, previous releases of calibre are available here:
http://sourceforge.net/projects/calibre/files/