From nobody Tue May 21 10:31:31 2024 X-Original-To: apache@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vk9hq2qFpz5KxM1 for ; Tue, 21 May 2024 10:31:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vk9hq1nBqz4tBb for ; Tue, 21 May 2024 10:31:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716287499; a=rsa-sha256; cv=none; b=hMy55gX12hXPIzoV09cL3QAARvYf7mr/GhjvtC9LHzf/sZ3ipQtskZICUS2PI5q2+Jpj0M AnYd1dd3BfiML50wRnTs1KbdCpretgjtXcJSmCVdchzjR/YiyDpS6lj2vEDZkgscyq4kI0 dHMrNM7AWdx9365c4GtBDxWbSNRQm1a62knQ/1jS7Sox0RlUevIxzyFgs8I/X5IYWfx7oU XytUKiRf8fwqgcQkQKKuBJxBTaMQKGApN5Bcf7IMU4bevTYgdgXfNN3aC6Zf19T422ZeQb li9GlgteCF9lRzXlBTFv9zXnSmikYD/rQJTqIexIlURRz8Vb4mMZWhTO5qevsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716287499; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Bg4moXK2+fOWkIcb/0jQGb4Rsyh/pCeDZ8bEhrtuzWA=; b=LlvZA1UogWl79BZoB1XhmsuYcvrZWFhGrCGbju9+8fwBIIpxwZ9YZCT1TLbq9TzLStvkYf PJO52BFUIYKaCBW2K8SQYhkloXS5WTRHGd1YFWoZbt2SB5KbZq7Gq7n17DKCBSpxKA++3V qVXF0z2h1FWeSXKPwuSXAaP2UAHhr5CB1mEFcItgidC/Olnar2g3ho7Ye/RMwDo/2Oulo2 u5dr/Olm39aI9pqZi4bsBfaDpsQD7thCPYxZgDLj8m0PO9v++p1G1LKQNMsKoQqKDE7BGP OAlZnC5AsZgZmWcA8MiDimyN7pIQntFxM6BsDv/H6cvASQsZVCtXQQcaJ3uNfw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vk9hq1PWxzJ6Y for ; Tue, 21 May 2024 10:31:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44LAVd4u022004 for ; Tue, 21 May 2024 10:31:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44LAVda1021974 for apache@FreeBSD.org; Tue, 21 May 2024 10:31:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 268318] www/apache24 with www/mod_php8{0,1,2,3?}: opcache + ASLR turned on crashes Apache Date: Tue, 21 May 2024 10:31:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: majo-bugs.freebsd.org@cerny.sk X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not Enough Information X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support of apache-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-apache List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-apache@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268318 --- Comment #98 from Mari=C3=A1n =C4=8Cern=C3=BD --- (In reply to Mari=C3=A1n =C4=8Cern=C3=BD from comment #97) I take back my previous comment. Just disabling ASLR does not work for me. = It worked for few `service apache24 reload` calls, but then crashed at midnight when rotating logs. Now it crashes even with `service apache24 reload`. It was crashing with the following backtrace: # lldb --core httpd-26294.core httpd (lldb) target create "httpd" --core "httpd-26294.core" Core file '/tmp/httpd-26294.core' (x86_64) was loaded. (lldb) bt * thread #1, name =3D 'httpd', stop reason =3D signal SIGSEGV * frame #0: 0x0000000801670f90 libgd.so.6 frame #1: 0x00000008022b54f2 opcache.so`___lldb_unnamed_symbol1014 + 66 frame #2: 0x0000000802877586 libphp.so`___lldb_unnamed_symbol8134 + 22 frame #3: 0x0000000802858ee0 libphp.so`zend_llist_apply_with_del + 64 frame #4: 0x00000008027f8d47 libphp.so`php_module_startup + 2343 frame #5: 0x00000008029550e5 libphp.so`___lldb_unnamed_symbol9803 + 21 frame #6: 0x00000008029548c6 libphp.so`___lldb_unnamed_symbol9798 + 118 frame #7: 0x0000000000262271 httpd`ap_run_post_config + 81 frame #8: 0x000000000025d8a5 httpd`main + 2421 frame #9: 0x000000000025cd80 httpd`_start + 256 Moving LoadModule php_module to the top of the list seems to "fix" (workaro= und) the crash. Looks like some bogus pointers. Hard to tell who to blame. If i is a bug in apache or PHP (opcache is a suspect). Would be great if somebody who has experience with apache/PHP debugging on FreeBSD would have a look. I guess = it should not be so hard to pinpoint the issue when it is a reproducible probl= em. I am on a path migrating from mod_php to php-fpm, however despite mod_php b= eing deprecated I do not think it should crash (e.g. the bug might still be pres= ent there and cause different problems). --=20 You are receiving this mail because: You are the assignee for the bug.=