I don't see any evidence in the output you quote to show what the
problem is. If you think it is the same issue as in that link, then
follow the solution from that same thread:
This issue is already fixed in trunk. I don't see the point backporting
it to emacs-24, so if that is the issue, there is nothing to do here.