[php-src] Issue #8445: libphp.so dumps core in sapi_register_post_entry+0x31()

From: Date: Wed, 27 Apr 2022 08:45:08 +0000
Subject: [php-src] Issue #8445: libphp.so dumps core in sapi_register_post_entry+0x31()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241274@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8445 Comment Author: psumbera Following is stack with more information: ``` Core was generated by `/usr/apache2/2.4/bin/httpd -k start'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007feafb625240 in sapi_register_post_entry (post_entry=0x7feafb9773e0 <php_post_entries>) at ./php-8.1.5/main/SAPI.c:936 936 if (SG(sapi_started) && EG(current_execute_data)) { [Current thread is 3 (LWP 1 )] (gdb) where #0 0x00007feafb625240 in sapi_register_post_entry (post_entry=0x7feafb9773e0 <php_post_entries>) at ./php-8.1.5/main/SAPI.c:936 #1 0x00007feafb6251f0 in sapi_register_post_entries (post_entries=0x7feafb9773e0 <php_post_entries>) at ./php-8.1.5/main/SAPI.c:923 #2 0x00007feafb6299ac in php_setup_sapi_content_types () at ./php-8.1.5/main/php_content_types.c:56 #3 0x00007feafb621d09 in sapi_globals_ctor (sapi_globals=0x564568a60) at ./php-8.1.5/main/SAPI.c:58 #4 0x00007feafb60f602 in tsrm_update_active_threads () at ./php-8.1.5/TSRM/TSRM.c:264 #5 0x00007feafb60fa66 in ts_allocate_fast_id (rsrc_id=0x7feafba6b840 <sapi_globals_id>, offset=0x7feafba6b848 <sapi_globals_offset>, size=544, ctor=0x7feafb621cbf <sapi_globals_ctor>, dtor=0x7feafb621d0c <sapi_globals_dtor>) at ./php-8.1.5/TSRM/TSRM.c:363 #6 0x00007feafb621d93 in sapi_startup (sf=0x7feafb96b200 <apache2_sapi_module>) at ./php-8.1.5/main/SAPI.c:76 #7 0x00007feafb85b5ce in php_apache_server_startup (pconf=0x5644d3be8, plog=0x564503ea8, ptemp=0x564501e98, s=0x5644fff70) at ./php-8.1.5/sapi/apache2handler/sapi_apache2.c:489 #8 0x000000000049d754 in ap_run_post_config () #9 0x00000000004683b3 in main () ```

« previous php.bugs (#241274) next »