I'm having trouble executing an UPDATE-query with fmdb. It locks the application without any errors.
It stops at this line:
[db executeUpdate:@"UPDATE categories SET number_places = 21 WHERE id = 44"];
What are your other threads doing? If you're using fmdb across multiple threads, you should check out FMDatabaseQueue, and use that in place of using FMDatabase directly.