#17414 [Fbk->Opn]: Segfaults on restart [apache2filter]

From: Date: Mon, 19 May 2003 15:04:00 +0000
Subject: #17414 [Fbk->Opn]: Segfaults on restart [apache2filter]
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39973@lists.php.net to get a copy of this message
ID: 17414 User updated by: thom at planetarytramp dot net Reported By: thom at planetarytramp dot net -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: Linux PHP Version: 4.3.0 New Comment: Only difference in the backtrace when trying with apache2handler is the different SAPI directory: #0 0x403a6941 in sapi_initialize_empty_request (tsrm_ls=0x80f98f0) at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434 434 SG(server_context) = NULL; (gdb) bt #0 0x403a6941 in sapi_initialize_empty_request (tsrm_ls=0x80f98f0) at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434 #1 0x403a11b4 in php_module_startup (sf=0x4041cba0, additional_modules=0x4041ce80, num_additional_modules=1) at /home/thom/php4-STABLE-200305190930/main/main.c:1094 #2 0x403df187 in php_apache2_startup (sapi_module=0x4041cba0) at /home/thom/php4-STABLE-200305190930/sapi/apache2handler/sapi_apache2.c:290 #3 0x403df2b3 in php_apache_server_startup (pconf=0x80b90c8, plog=0x80f11a8, ptemp=0x80bb0d0, s=0x4041cba0) at /home/thom/php4-STABLE-200305190930/sapi/apache2handler/sapi_apache2.c:389 #4 0x0807e651 in ap_run_post_config (pconf=0x80b90c8, plog=0x80f11a8, ptemp=0x80bb0d0, s=0x80f5af0) at config.c:130 #5 0x08082e9c in main (argc=3, argv=0xbffff874) at main.c:640 (gdb) Previous Comments: ------------------------------------------------------------------------ [2003-05-19 09:50:51] sniper@php.net Does this happen with apache2handler then?? That's what I'm interested to know, as it's been reported to work much better.. ------------------------------------------------------------------------ [2003-05-19 09:48:55] thom at planetarytramp dot net from config.nice: './configure' \ '--with-apxs2filter=/usr/local/apache2-worker/bin/apxs' \ "$@" I'm well aware that apache2filter is not the default, this doesn't mean it shouldn't be fixed. ------------------------------------------------------------------------ [2003-05-19 09:46:39] sniper@php.net HOW did you configure the latest snapshot?? The default Apache2 module IS NOT apache2filter. (when using --with-apxs2 option) ------------------------------------------------------------------------ [2003-05-19 09:26:28] thom at planetarytramp dot net Nope, that makes precisely zero difference. Reviewing the commits on apache2filter recently I'm not quite sure which commit you expected to fix this? Reproducible with 2.1-dev and 2.0-dev (what will be 2.0.46). Same old backtrace: (gdb) bt #0 0x403a678d in sapi_initialize_empty_request (tsrm_ls=0x80f98f0) at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434 #1 0x403a1000 in php_module_startup (sf=0x4041cf00, additional_modules=0x4041d0e0, num_additional_modules=1) at /home/thom/php4-STABLE-200305190930/main/main.c:1094 #2 0x403defbb in php_apache2_startup (sapi_module=0x4041cf00) at /home/thom/php4-STABLE-200305190930/sapi/apache2filter/sapi_apache2.c:287 #3 0x403df797 in php_apache_server_startup (pconf=0x80b90c8, plog=0x80f11a8, ptemp=0x80bb0d0, s=0x4041cf00) at /home/thom/php4-STABLE-200305190930/sapi/apache2filter/sapi_apache2.c:577 #4 0x0807e651 in ap_run_post_config (pconf=0x80b90c8, plog=0x80f11a8, ptemp=0x80bb0d0, s=0x80f5af0) at config.c:130 #5 0x08082e9c in main (argc=3, argv=0xbffff864) at main.c:640 (gdb) frame 0 #0 0x403a678d in sapi_initialize_empty_request (tsrm_ls=0x80f98f0) at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434 434 SG(server_context) = NULL; it still looks like a pool lifetime problem ------------------------------------------------------------------------ [2003-05-18 11:52:26] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17414 -- Edit this bug report at http://bugs.php.net/?id=17414&edit=1

« previous php.bugs (#39973) next »