Hi First you must download fixed version of Firebird (current one on the official page is not working properly). Look into http://tracker.firebirdsql.org/browse/CORE-5888. There is a link for fixed version provided by Alexander Peshkov.
Look if it is working for you. Regards, Karol Bieniaszewski
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel