Date: Mon, 22 Jun 2020 20:30:54 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247487] www/apache24 segfault when reloading jailed Message-ID: <bug-247487-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247487-7788>