Actually after doing such tests, i realized that the problem was users were trying to register with usernames which were invalid, no error messages showed up . So it seemed like a bug.
Now i ‘solved’ the problem by putting up a message in the registration page advising people on using only lowercase letters for the user name.