Created attachment 223173 [details]
I copied the patch-src-common-classes-alloc.h file to /usr/ports/databases/firebird25-server/files folder.
I tested with FreeBSD 13beta4 amd64, 12.2 amd64 and 12.2 i386.
In all 3 environments, Firebird 2.5 is working well without core dump.
Without the patch, compilation ends, but when restoring a backup, the core dump occurs, except for i386.
- Thanks for your patch file. I'll commit this patch file as soon as possible