Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2023 10:09:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272091] graphics/gd: add option to change timing of gdFontCacheMutex setup and shutdown
Message-ID:  <bug-272091-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272091

            Bug ID: 272091
           Summary: graphics/gd: add option to change timing of
                    gdFontCacheMutex setup and shutdown
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: tatsuki_makino@hotmail.com
          Assignee: dinoex@FreeBSD.org
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)

Created attachment 242887
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242887&action=
=3Dedit
experimental patch for graphics/gd

Life cycle of the gdFontCacheMutex related to fontCache seems to be wrong a=
nd
fontCache may be used when it is NULL.
This problem seems to be resolved in the bundled version of PHP.
It seems to me that a bundled version should be used for php, but I guess a
combination of mod_php (e.g. mod_php81+php81-gd) and mod_perl (e.g.
ap24-mod_perl2+p5-GD), etc. would cause conflicts in the symbol table. but I
don't know :)
So I have prepared a patch that I think will make this equivalent to the
bundled version of php.
The option is THREADS for now, but I think the meaning is different :)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272091-7788>