Something I saw in the terminal, and have no idea what I did to produce it, thought it might be of interest (but since I can't reproduce it I'm not sure if it's a bug of calibre or linux)
Code:
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug