[Bug 272091] graphics/gd: add option to change timing of gdFontCacheMutex setup and shutdown
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Jun 2023 10:09:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272091 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=242887&action=edit experimental patch for graphics/gd Life cycle of the gdFontCacheMutex related to fontCache seems to be wrong and 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 :) -- You are receiving this mail because: You are the assignee for the bug.