PHP 4.0 Bug #6357 Updated: SIGSEGV in send_php() on Apache-1.3.12
| From: | Bug Database | Date: | Tue, 03 Oct 2000 02:54:32 +0000 |
| Subject: | PHP 4.0 Bug #6357 Updated: SIGSEGV in send_php() on Apache-1.3.12 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34007@lists.php.net to get a copy of this message | ||
ID: 6357
Updated by: sniper
Reported By: ged-php@FaerieMUD.org
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
Please try php4.0.3 when it is released (real soon now)
and reopen this bug report if problem still exists.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-02 18:48:29] sniper@php.net
Are you using any other modules with apache than php4 and mod_perl ??
--Jani
---------------------------------------------------------------------------
[2000-09-02 07:07:03] ged-php@FaerieMUD.org
Just re-tested using PHP 4.0.2, and the exact same crash happens.
---------------------------------------------------------------------------
[2000-09-02 07:05:26] ged-php@FaerieMUD.org
Just re-tested using PHP 4.0.2, and the exact same crash happens.
---------------------------------------------------------------------------
[2000-08-25 12:52:31] ged-php@FaerieMUD.org
Running Apache/1.3.12 (Unix) PHP/4.0.1pl2 mod_perl/1.24:
Compiled PHP with:
configure --with-mysql=/usr/local --with-apxs
Php.ini unmodified from php.ini-dist.
A document called 'index.php' at the docroot with the single line:
<?phpinfo()?>
Causes server to segfault:
oberon [~]
3 # gdb /www/httpd/sbin/httpd
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-pc-linux-gnu"...
(gdb) run -X
Starting program: /www/httpd/sbin/httpd -X
[Fri Aug 25 11:13:35 2000] [info] mod_unique_id: using ip addr 206.247.195.65
[Fri Aug 25 11:13:40 2000] [warn] pid file /www/httpd/logs/httpd.pid overwritten -- Unclean shutdown
of previous Apache run?
[Fri Aug 25 11:13:52 2000] [info] mod_unique_id: using ip addr 206.247.195.65
[Fri Aug 25 11:13:53 2000] [info] created shared memory segment #1792
Program received signal SIGSEGV, Segmentation fault.
0x404caab7 in send_php (r=0x94c48e4, display_source_mode=0, filename=0x0) at mod_php4.c:450
450 per_dir_conf = (HashTable *) get_module_config(r->per_dir_config,
&php4_module);
(gdb) where
#0 0x404caab7 in send_php (r=0x94c48e4, display_source_mode=0, filename=0x0) at mod_php4.c:450
#1 0x404cacae in send_parsed_php (r=0x94c48e4) at mod_php4.c:527
#2 0x8075ed9 in ap_invoke_handler ()
#3 0x808a39f in process_request_internal ()
#4 0x808a40a in ap_process_request ()
#5 0x80815f6 in child_main ()
#6 0x80817b1 in make_child ()
#7 0x808192c in startup_children ()
#8 0x8081f8d in standalone_main ()
#9 0x80827bc in main ()
#10 0x4015da81 in __libc_start_main (main=0x8082424 <main>, argc=2, argv=0xbffff934,
init=0x80541b8 <_init>,
fini=0x80a01d4 <_fini>, rtld_fini=0x40009c64 <_dl_fini>, stack_end=0xbffff92c) at
../sysdeps/generic/libc-start.c:90
(gdb)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6357