Bug 254206

Summary: databases/firebird25-{client|server}: fix core dump
Product: Ports & Packages Reporter: Kurt Jaeger <pi>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me CC: acm, gelson, pi
Priority: --- Flags: linimon: maintainer-feedback? (acm)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2021-03-10 20:38:25 UTC
Created attachment 223173 [details]
patch
Comment 2 Gelson Borsoi 2021-03-12 21:29:13 UTC
Hi, 

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.

Gelson Borsoi
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2021-04-16 18:16:52 UTC
- Thanks for your patch file. I'll commit this patch file as soon as possible
Comment 4 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2021-05-22 18:34:22 UTC
- Committed thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-05-22 18:34:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0688cb94de1f5c5898c9d2d0a7e34b9a32055561

commit 0688cb94de1f5c5898c9d2d0a7e34b9a32055561
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2021-05-22 18:24:30 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2021-05-22 18:33:03 +0000

    databases/firebird25-*: update to 2.5.9

    - Fix core dump on newest versions of FreeBSD [1]
    - Drop uneccesary patch files

    ChangeLog at:   https://firebirdsql.org/file/documentation/release_notes/html/en/2_5/rlsnotes25.html
    PR:             254206 254849
    Reported by:    pi jbeich
    Obtained from:  https://lists.freebsd.org/pipermail/freebsd-ports/2021-March/120469.html [1]

 databases/firebird25-server/Makefile                   |  7 +++----
 databases/firebird25-server/distinfo                   |  6 +++---
 .../files/patch-src-common-classes-FpeControl.h (gone) | 18 ------------------
 .../files/patch-src-common-classes_alloc.h (new)       | 11 +++++++++++
 .../files/patch-src_jrd_isc__sync.cpp (gone)           | 11 -----------
 5 files changed, 17 insertions(+), 36 deletions(-)