FMDB: obj = va_arg(args id) exc_bad_access

If the exc_bad_access exeption happened, the best solution is check the parameters you transferred should not be like int, it should be:

The solution means, DON’T transfer any original type(like int) to FMDB

refer: link