Problem with Index Search Engine job

I'm building a site using version 5.4.1.1. Right now, it has a little more than 20 pages. When I tried to run the Maintenance Jobs, the indexing one didn't finished. It's been running for a few days, and simply don't stop. Is it a expected behavior from this version or not? If not, what can I do to fix it?

It would seem that this problem can be caused by all manner of things. In my case it was a syntax error in a complex block controller that I'd built, that had passed unnoticed through months of dev testing. It was only when I deployed the site to the live instance that the Index Search Engine job hung. The syntax issue was so minor that it would not normally cause any problems or be noticed at all. The way to solve this issue was, in my case, simple: to read the vhost error logs.