Bug #79873 [NEW]: mod_php: crashes with non-debug build
| From: | bugreports2 at gmail dot com | Date: | Sat, 18 Jul 2020 15:17:04 +0000 |
| Subject: | Bug #79873 [NEW]: mod_php: crashes with non-debug build | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-228110@lists.php.net to get a copy of this message | ||
From: bugreports2 at gmail dot com
Operating system: Linux
PHP version: 8.0Git-2020-07-18 (Git)
Package: Compile Failure
Bug Type: Bug
Bug description:mod_php: crashes with non-debug build
Description:
------------
sadly the crashes below don't happen with non-optimized --enable-debug
builds and so the informations are very few
php8-head carshes for many weeks here at the point of fire up httpd with
the intermediate binary for pgo profiling while the identical
environment porduces 7.2/7.3/7.4 binaries witout any issues
-----------------------------------------
at least there is one warning at build time for apache2handler
/BUILD/php-8.0.0/sapi/apache2handler/mod_php.c:38:1: warning: missing
initializer for field âflagsâ of âmoduleâ {aka âstruct
module_structâ} [-Wmissing-field-initializers]
38 | };
| ^
In file included from
/BUILD/php-8.0.0/sapi/apache2handler/php_apache.h:21,
from
/BUILD/php-8.0.0/sapi/apache2handler/mod_php.c:28:
/usr/include/httpd/http_config.h:420:9: note: âflagsâ declared here
420 | int flags;
| ^~~~~
-----------------------------------------
Jul 18 16:19:32 testserver kernel: httpd[78211]: segfault at 0 ip
00007f69a7922841 sp 00007ffc3fd71440 error 4 in
libphp.so[7f69a7660000+563000]
Jul 18 16:19:32 testserver kernel: Code: 0c 0e 88 4a 02 48 89 fa eb 93
66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 53 66 48 8d 3d 5f 0a 53 00
66 66 48 e8 5f 01 d4 ff <48> 83 38 00 74 11 48 8d 35 e2 ff ff ff bf 06
38 09 54 e8 58 0e d4
Jul 18 16:19:32 testserver systemd[1]: Started Process Core Dump (PID
78213/UID 0).
Jul 18 16:19:32 testserver systemd-coredump[78214]: Process 78211
(httpd) of user 5000 dumped core.#012#012Stack trace of thread
78211:#012#0 0x00007f69a7922841 n/a
(/BUILD/php-8.0.0/libs/libphp.so)#012#1 0x00007f69a867ff84
dl_open_worker (ld-linux-x86-64.so.2)#012#2 0x00007f69a85c74f8
_dl_catch_exception (libc.so.6)#012#3 0x00007f69a867f8fe _dl_open
(ld-linux-x86-64.so.2)#012#4 0x00007f69a80ef39c dlopen_doit
(libdl.so.2)#012#5 0x00007f69a85c74f8 _dl_catch_exception
(libc.so.6)#012#6 0x00007f69a85c75c3 _dl_catch_error (libc.so.6)#012#7
0x00007f69a80efb09 _dlerror_run (libdl.so.2)#012#8 0x00007f69a80ef42a
dlopen@@GLIBC_2.2.5 (libdl.so.2)#012#9 0x00007f69a832701d apr_dso_load
(libapr-1.so.0)#012#10 0x0000557f79aea29f n/a (httpd)#012#11
0x0000557f79aea511 n/a (httpd)#012#12 0x0000557f79b0ce54 n/a
(httpd)#012#13 0x0000557f79b0db62 n/a (httpd)#012#14 0x0000557f79b0de07
ap_build_config (httpd)#012#15 0x0000557f79b0e514
ap_process_resource_config (httpd)#012#16 0x0000557f79b0eb6f
ap_read_config (httpd)#012#17 0x0000557f79aa8fa9 main (httpd)#012#18
0x00007f69a84b21a3 __libc_start_main (libc.so.6)#012#19
0x0000557f79aa94ee _start (httpd)
--
Edit bug report at https://bugs.php.net/bug.php?id=79873&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79873&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79873&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79873&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79873&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79873&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79873&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79873&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79873&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79873&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79873&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79873&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79873&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79873&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79873&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79873&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79873&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79873&r=mysqlcfg