Bug #17414 Updated: Segfaults on restart, iff a request is made during the restart process.
From: aaron@php.net Date: Fri, 24 May 2002 15:52:08 +0000 Subject: Bug #17414 Updated: Segfaults on restart, iff a request is made during the restart process. References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-8413@lists.php.net to get a copy of this message
ID: 17414
Updated by: aaron@php.net
Reported By: thom@planetarytramp.net
Status: Open
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 4.2.1
New Comment:
Thom and I already spoke about this bug, and I'm going to
try to reproduce it locally as soon as possible, but
at this point I'm not sure if it's Apache's fault or
something in the apache2filter. I'm leaning toward
a problem in the latter. I'm also going to try to reproduce
this under the prefork MPM, but if someone beats me to
it, please submit your results here.
Previous Comments:
------------------------------------------------------------------------
[2002-05-24 11:35:15] thom@planetarytramp.net
(Occurs with both HEAD and 4.2.1). Only tested with worker mpm. (This
only occurs when the php module is loaded)
to reproduce:
attempt to restart (gracefully or otherwise) a running apache2 server.
Make a page request while apache is still starting the child
processes.
backtrace:
(gdb) bt
#0 0x40305445 in sapi_initialize_empty_request (tsrm_ls=0x8126330)
at SAPI.c:366
#1 0x4030136d in php_module_startup (sf=0x403debc0) at main.c:881
#2 0x402ff03a in php_apache_server_startup (pconf=0x8094e80,
plog=0x80bef28,
ptemp=0x80f6150, s=0x8096bd0) at sapi_apache2.c:459
#3 0x08064441 in ap_run_post_config (pconf=0x8094e80, plog=0x80bef28,
ptemp=0x80f6150, s=0x8096bd0) at config.c:129
#4 0x080689fc in main (argc=1, argv=0xbffff9c4) at main.c:635
(gdb) frame 0
#0 0x40305445 in sapi_initialize_empty_request (tsrm_ls=0x8126330)
at SAPI.c:366
366 SG(server_context) = NULL;
(gdb) frame 1
#1 0x4030136d in php_module_startup (sf=0x403debc0) at main.c:881
881 sapi_initialize_empty_request(TSRMLS_C);
(gdb) frame 2
#2 0x402ff03a in php_apache_server_startup (pconf=0x8094e80,
plog=0x80bef28,
ptemp=0x80f6150, s=0x8096bd0) at sapi_apache2.c:459
459 apache2_sapi_module.startup(&apache2_sapi_module);
(gdb) frame 3
#3 0x08064441 in ap_run_post_config (pconf=0x8094e80, plog=0x80bef28,
ptemp=0x80f6150, s=0x8096bd0) at config.c:129
129 apr_pool_t *ptemp, server_rec *s),
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17414&edit=1
Thread (35 messages)
- Bug #17414 Updated: Segfaults on restart, iff a request is made during the restart process.
- #17414 [Opn->Asn]: Segfaults on restart, iff a request is made during the restart process.
- #17414 [Asn->Fbk]: Segfaults on restart, iff a request is made during the restart process.
- #17414 [Fbk->Opn]: Segfaults on restart
- #17414 [Opn->Fbk]: Segfaults on restart
- #17414 [Fbk->Opn]: Segfaults on restart
- #17414 [Opn]: Segfaults on restart
- #17414 [Opn]: Segfaults on restart
- #17414 [Opn]: Segfaults on restart
- #17414 [Opn]: Segfaults on restart
- #17414 [Opn->Bgs]: Segfaults on restart
- #17414 [Bgs->Opn]: Segfaults on restart
- #17414 [Opn->Fbk]: Segfaults on restart
- #17414 [Fbk]: Segfaults on restart
- #17414 [Fbk->Opn]: Segfaults on restart
- #17414 [Opn]: Segfaults on restart
- #17414 [Com]: Segfaults on restart
- #17414 [Com]: Segfaults on restart
- #17414 [Com]: Segfaults on restart
- #17414 [Com]: Segfaults on restart
- #17414 [Com]: Segfaults on restart
- #17414 [Opn->Fbk]: Segfaults on restart
- #17414 [Fbk->NoF]: Segfaults on restart
- #17414 [NoF->Opn]: Segfaults on restart
- #17414 [Opn->Fbk]: Segfaults on restart
- #17414 [Fbk->Opn]: Segfaults on restart
- #17414 [Opn->Fbk]: Segfaults on restart
- #17414 [Fbk->Opn]: Segfaults on restart [apache2filter]
- #17414 [Opn->Fbk]: Segfaults on restart [apache2filter]
- #17414 [Fbk->NoF]: Segfaults on restart [apache2filter]
- #17414 [Com]: Segfaults on restart [apache2filter]
- #17414 [Com]: Segfaults on restart [apache2filter]
- #17414 [Com]: Segfaults on restart [apache2filter]
- #17414 [NoF->Csd]: Segfaults on restart [apache2filter]
| « previous | php.bugs (#8413) | next » |
|---|