From owner-freebsd-ports-bugs@freebsd.org Mon Jun 22 20:30:56 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4D93333B345 for ; Mon, 22 Jun 2020 20:30:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49rLdr1Q25z4NNN for ; Mon, 22 Jun 2020 20:30:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3074833B3AC; Mon, 22 Jun 2020 20:30:56 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 303CB33B42E for ; Mon, 22 Jun 2020 20:30:56 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49rLdr0Xmhz4NQR for ; Mon, 22 Jun 2020 20:30:56 +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 0DF2714072 for ; Mon, 22 Jun 2020 20:30:56 +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 05MKUt0N081219 for ; Mon, 22 Jun 2020 20:30:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05MKUtej081218 for ports-bugs@FreeBSD.org; Mon, 22 Jun 2020 20:30:55 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: ports-bugs@FreeBSD.org Subject: [Bug 247487] www/apache24 segfault when reloading jailed Date: Mon, 22 Jun 2020 20:30:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bartek@nebe.com.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2020 20:30:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247487 Bug ID: 247487 Summary: www/apache24 segfault when reloading jailed Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: bartek@nebe.com.pl Assignee: apache@FreeBSD.org Flags: maintainer-feedback?(apache@FreeBSD.org) Hello. After upgrade from php71 to php74 apache started to crashing with coredump = when recieved -HUP (so after every logrotate). This happens only when running in jail, after upgrading on physical machine everything is fine.=20 Same configuration with php71 is working fine. Bug is repeatable everytime I invoke `service apache24 reload` What can I do to trace source of problem? [root@a24 /]# uname -a FreeBSD a24.fsi.pl 12.1-RELEASE-p6 FreeBSD 12.1-RELEASE-p6 GENERIC amd64 [root@a24 /]# httpd -v Server version: Apache/2.4.43 (FreeBSD) Server built: unknown [root@a24 /]# php --version PHP 7.4.7 (cli) (built: Jun 16 2020 01:25:10) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.7, Copyright (c), by Zend Technologies backtrace of core: (gdb) bt #0 0x0000000041993b40 in ?? () from /usr/local/lib/libnghttp2.so.14 #1 0x000000004287cbe6 in ?? () from /usr/local/libexec/apache24/libphp7.so #2 0x000000004286122d in zend_llist_apply_with_del () from /usr/local/libexec/apache24/libphp7.so #3 0x000000004287cbc7 in ?? () from /usr/local/libexec/apache24/libphp7.so #4 0x00000000427f5268 in php_module_startup () from /usr/local/libexec/apache24/libphp7.so #5 0x000000004290a405 in ?? () from /usr/local/libexec/apache24/libphp7.so #6 0x0000000042909c56 in ?? () from /usr/local/libexec/apache24/libphp7.so #7 0x0000000000259a6f in ap_run_post_config () #8 0x00000000002588b6 in main () (gdb) truss output just before crash: 25003: open("/usr/local/etc/browscap.ini",O_RDONLY,0666) =3D 10 (0xa) 25003: ioctl(10,TIOCGETA,0x7fffffffe1a0) ERR#25 'Inappropriate ioctl for device' 25003: fstat(10,{ mode=3D-rw-r--r-- ,inode=3D1691563,size=3D415227,blksize= =3D32768 }) =3D 0 (0x0) 25003: fstat(10,{ mode=3D-rw-r--r-- ,inode=3D1691563,size=3D415227,blksize= =3D32768 }) =3D 0 (0x0) 25003: read(10,";;; Provided courtesy of http://"...,32768) =3D 32768 (0x80= 00) 25003: read(10,""\r\nisBanned=3Dtrue\r\n\r\n[Searc"...,32768) =3D 32768 (0x= 8000) 25003: read(10,"/www.inclue.com; graeme@inclue.c"...,32768) =3D 32768 (0x80= 00) 25003: read(10,"Systems\r\n\r\n[Blue Coat System"...,32768) =3D 32768 (0x80= 00) 25003: read(10,"/* (KHTML, like Gecko) *Iron/11."...,32768) =3D 32768 (0x80= 00) 25003: read(10,")*Version/* Mobile/* Safari/*]\r"...,32768) =3D 32768 (0x80= 00) 25003: read(10,"e\r\nTables=3Dtrue\r\n\r\n[ELinks "...,32768) =3D 32768 (0x= 8000) 25003: read(10,"scape 5.1]\r\nParent=3DDefaultProp"...,32768) =3D 32768 (0x= 8000) 25003: read(10,"indows NT 6.1*)*]\r\nParent=3DOper"...,32768) =3D 32768 (0x= 8000) 25003: read(10,"*Opera?4.*]\r\nParent=3DOpera 4.00"...,32768) =3D 32768 (0x= 8000) 25003: read(10,"indows XP*)*]\r\nParent=3DOpera Ge"...,32768) =3D 32768 (0x= 8000) 25003: read(10,"*) Gecko/* Firefox/3.1*]\r\nPare"...,32768) =3D 32768 (0x80= 00) 25003: read(10,"CssVersion=3D2\r\nAolVersion=3D9\r\n"...,32768) =3D 22011 (= 0x55fb) 25003: clock_gettime(4,{ 258339.447697735 }) =3D 0 (0x0) 25003: clock_gettime(4,{ 258339.447764503 }) =3D 0 (0x0) 25003: mmap(0x0,659456,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 1144061952 (0x44310000) 25003: close(10) =3D 0 (0x0) 25003: __sysctl(0x7fffffffe3a8,0x2,0x7fffffffe394,0x7fffffffe398,0x0,0x0) = =3D 0 (0x0) 25003: issetugid() =3D 0 (0x0) 25003: open("/etc/ssl/openssl.cnf",O_RDONLY,0666) =3D 10 (0xa) 25003: fstat(10,{ mode=3D-rw-r--r-- ,inode=3D81460552,size=3D11000,blksize= =3D32768 }) =3D 0 (0x0) 25003: read(10,"# $FreeBSD: releng/12.1/crypto/o"...,32768) =3D 11000 (0x2a= f8) 25003: read(10,0x41e07c40,32768) =3D 0 (0x0) 25003: close(10) =3D 0 (0x0) 25003: fstatat(AT_FDCWD,"/etc/cram-md5.pwd",0x7fffffffe2f0,0x0) ERR#2 'No s= uch file or directory' 25003: fstatat(AT_FDCWD,"/dev/urandom",{ mode=3Dcrw-r--r-- ,inode=3D8,size=3D0,blksize=3D4096 },0x0) =3D 0 (0x0) 25003: SIGNAL 11 (SIGSEGV) code=3DSEGV_ACCERR trapno=3D12 addr=3D0x4228cf89 25003: process killed, signal =3D 11 --=20 You are receiving this mail because: You are the assignee for the bug.=