From nobody Tue Nov 1 02:42:32 2022 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 4N1Z7F0Kjhz4hBml for ; Tue, 1 Nov 2022 02:42:33 +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 4N1Z7D5WLdz3fmK for ; Tue, 1 Nov 2022 02:42:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4N1Z7D4ZXZz10PR for ; Tue, 1 Nov 2022 02:42:32 +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 2A12gWNl029397 for ; Tue, 1 Nov 2022 02:42:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2A12gWxE029396 for apache@FreeBSD.org; Tue, 1 Nov 2022 02:42:32 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 267435] www/apache24 core dumps when mod_perl, mod_php7, mod_dbd, and GD active Date: Tue, 01 Nov 2022 02:42:32 +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, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: papowell@astart.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667270552; 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=W51M3KIHDSTAHBc9k4FF0GaRVTPUC6YXdZ8lAO1TEEs=; b=WGua/kkF478KcaMlsg93vo44abUuYIXYss18T8lTqbZQkL+M+c7VoDS0mk1NsKuJrDPcYE 81gUlh9Q1gZdg3YNSmpPJZh/mvfvhXaf9MGk4tVsoFw7HXmfI+VrTm5tTMVyuGM3WZ74VD v7I7pBv4MpATBCUadP425MIaiR6pfU5OcHUabndxZtmNeJ4aqkR2WgK9pxlDM6sYWUChZ+ WqNITLXdXQWtnNLnsCMQBKpF/GsSx4f+8Fz3lsLWOBsRZ75azmf3WaVuAuG8WenQNmxZ1I vDLvgZOCLbktq+MGAdS1orUgEuDsFJFwAinFUC7YGnFqNCULMO79tQAKy/mCsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667270552; a=rsa-sha256; cv=none; b=VcfAs/ZmS7nb9hscklm9241nz7vIgGKLDXa1nsO61Lt00QGMoXba7pFQyJzKaCjlRtR5R6 jYE3rhX/RppBRFEYwPQM9atiK1hjr45ZYNlsEABuRQwO9tbMgHHq0flqL/54agxwxaDog2 hPW8PrxcQF5rsOrZZsQYC3/N03Nzef7ZLbK7ap07iM6BSOl9n04G+ipEKhM0eNl3tvwLRk 2a5UhyUG3y4+l+/2SIvUYMI7Ny0rNJ0kPrqz1HA2hwWW+HNSsamr/czZ0ikoXe7GL2k82r 4xnluzVi1AYJFqv/Ypb6mdnXsvh3qiBpSVEt5gVtjsjFtOteTdDcst9OPxiCEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267435 --- Comment #4 from papowell@astart.com --- MPORTANT UPDATE - See the end of this comment. # - Could you please include a full `pkg version -v` output file as an # attachment See the attached error file # # - Is the issue reproducible without any one or more of the # perl/php/dbd{,mysql} combinations? It would be great to isolate the minim= um # reproduction requirements I seem to have found the minimum configuration. You need mod_perl (with GD), mod_php7, and mod_dbd (apr1 with MySQL) mod_perl (no mod_php) mod_dbd is OK mod_perl mod_php (no mod_dbd) is OK # # - Reproduction test against packages:latest (versions) would be useful. # I did this - see comments at end # - Are you able to provide a backtrace as an attachment here (via gdb or # similar) of the resulting core file? Rebuilding one or more or all of the # implicated apache modules (and apache, and gd) may provide better details. Tell me how to get the dump/corefile and I will send it. UPDATE Mon Oct 31 19:17:26 PDT 2022 I started with a new/clean 12-3 machine, downloaded the packages from 12-3 Latest repository, portsnap fetch extract (latest ports???) Ran apacchetl restart - no errors, able to fetch gd.cgi, Info.php I compiled devel/apr1 with MySQL support and enabled the LoadModule dbd_module line. # TEST LoadModule dbd_module libexec/apache24/mod_dbd.so # TEST LoadModule perl_module libexec/apache24/mod_perl.so LoadModule pWhen I ran apachectl restart I got this message - it is the first time I have seen this. # apachectl restart Performing sanity check on apache24 configuration: ld-elf.so.1: /usr/local/sbin/httpd: Undefined symbol "apr_crypto_block_cleanup" root@sim96:/install/SIM95_WEB-1.3 # apachectl start Performing sanity check on apache24 configuration: ld-elf.so.1: /usr/local/sbin/httpd: Undefined symbol "apr_crypto_block_cleanup" /usr/local/etc/rc.d/apache24: WARNING: failed to start apache24 Here is the apache log files: root@sim96:/install/SIM95_WEB-1.3 # tail /var/log/apache/* =3D=3D> /var/log/apache/httpd-access.log <=3D=3D =3D=3D> /var/log/apache/httpd-error.log <=3D=3D [Mon Oct 31 17:47:45.918582 2022] [mpm_prefork:notice] [pid 88032] AH00163: Apache/2.4.54 ( FreeBSD) PHP/7.4.32 mod_perl/2.0.12 Perl/v5.32.1 configured -- resuming nor= mal operations [Mon Oct 31 17:47:45.918672 2022] [core:notice] [pid 88032] AH00094: Command line: '/usr/lo cal/sbin/httpd -D NOHTTPACCEPT' =3D=3D> /var/log/apache/sim96-access.log <=3D=3D 128.1.1.5 - - [31/Oct/2022:18:09:44 -0700] "GET /gd.cgi HTTP/1.1" 200 136 128.1.1.5 - - [31/Oct/2022:18:09:45 -0700] "GET /image.png HTTP/1.1" 200 631 =3D=3D> /var/log/apache/sim96-error.log <=3D=3D I update the devel/apr1 configuration, removed the MySQl. did make clean deinstall reinstall and the restarted apache: I got the same error. I went to /var/cache/pkg and did: pkg add -f apr-1.7.0.1.6.1_2.pkg This eliminated the error message. I suspect that the apr1 code may be the culprit. hp7_module libexec/apache24/libphp7.so --=20 You are receiving this mail because: You are the assignee for the bug.=