Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2023 08:58:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        apache@FreeBSD.org
Subject:   [Bug 267435] www/apache24 core dumps when mod_perl, mod_php8, mod_dbd, and GD active
Message-ID:  <bug-267435-16115-VC6g4yOuNk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267435-16115@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267435-16115@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #24 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
> Bug 267435 - www/apache24 core dumps ... GD active

This may be correct on graphics/gd side.

(lldb) bt=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
* thread #3, name =3D 'httpd', stop reason =3D signal SIGSEGV: invalid addr=
ess
(fault address: 0x0)
  * frame #0: 0x0000000802dd008b libgd.so.6`gdCacheGet(head=3D0x00000000000=
00000,
keydata=3D0x00007fffdf7fadf0) at gdcache.c:107:15
    frame #1: 0x0000000802dd0633
libgd.so.6`gdImageStringFTEx(im=3D0x0000000000000000, brect=3D0x00007fffdf7=
fafc0,
fg=3D-1, fontlist=3D"/home/tatsuki/.fonts/somefont.ttf", ptsize=3D12.705882=
352941178,
angle=3D0, x=3D0, y=3D0, string=3D"-0.18", strex=3D0x0000000000000000) at g=
dft.c:1163:20
    frame #2: 0x0000000802dd0347
libgd.so.6`gdImageStringFT(im=3D0x0000000000000000, brect=3D0x00007fffdf7fa=
fc0,
fg=3D-1, fontlist=3D"/home/tatsuki/.fonts/somefont.ttf", ptsize=3D12.705882=
352941178,
angle=3D0, x=3D0, y=3D0, string=3D"-0.18") at gdft.c:932:9
    frame #3: 0x0000000802d797b2 gd.so`___lldb_unnamed_symbol535 + 818
    frame #4: 0x0000000801cf00ca libphp.so`___lldb_unnamed_symbol9102 + 122

This argument with a 0x000000000... is the variable fontCache in src/gdft.c=
 of
libgd-2.3.3.
There are 2 places to assign to fontCache (gdFontCacheShutdown and
gdFontCacheSetup), is there something wrong with Mutex around them?

--=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-267435-16115-VC6g4yOuNk>