Bug #16589 Updated: php 4.2.0rc3+apache2.0.35+zlib crashes while displaying error
| From: | sniper@php.net | Date: | Sun, 14 Apr 2002 12:15:25 +0000 |
| Subject: | Bug #16589 Updated: php 4.2.0rc3+apache2.0.35+zlib crashes while displaying error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4946@lists.php.net to get a copy of this message | ||
ID: 16589
Updated by: sniper@php.net
Reported By: misiek@pld.org.pl
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: PLD Linux
PHP Version: 4.2.0RC3
New Comment:
So if there are NO extensions loaded in php.ini, it doesn't
crash? Did you compile those extensions same time you compiled the php
you're trying to load them in?
Previous Comments:
------------------------------------------------------------------------
[2002-04-14 03:04:11] misiek@pld.org.pl
Doesn't change anything (category changed). It happens if _any_ of my
php modules is loaded in php.ini...
My php is split in that way, see: ftp://ftp.pld.org.pl/test/i686/php*
(ps. this is apache 1.3 version but I'm using this recompiled with
apache 2.0.35).
------------------------------------------------------------------------
[2002-04-13 23:26:58] sniper@php.net
What if you remove the zlib.so from your php.ini?
------------------------------------------------------------------------
[2002-04-13 12:50:20] msopacua@idg.nl
First update php.ini to reflect the correct extension dir. You're using
a lib compiled with debug=1 and a php version without.
The extension dir, then changes.
------------------------------------------------------------------------
[2002-04-13 11:21:18] misiek@pld.org.pl
Fix version.
------------------------------------------------------------------------
[2002-04-13 11:20:41] misiek@pld.org.pl
php 4.2.0rc3+apache2.0.35+zlib crashes while displaying error:
#0 0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 "PHP Warning: zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHP compiled with module API=20010901, debug=0,
thread-safety=1\nThese options need"...)
at sapi_apache2.c:214
214 ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO |
APLOG_STARTUP, 0, ctx->r->server, "%s", msg);
(gdb) bt
#0 0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 "PHP Warning: zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHP compiled with module API=20010901, debug=0,
thread-safety=1\nThese options need"...)
at sapi_apache2.c:214
#1 0x00839856 in php_log_err (
log_message=0xbfffeec0 "PHP Warning: zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHP compiled with module API=20010901, debug=0,
thread-safety=1\nThese options need"..., tsrm_ls=0x1775ff0) at
main.c:324
#2 0x00839d57 in php_error_cb (type=32, error_filename=0x8e8f2b
"Unknown", error_lineno=0,
format=0x8f3de0 "%s: Unable to initialize module\nModule compiled
with module API=%d, debug=%d, thread-safety=%d\nPHP compiled with
module API=%d, debug=%d, thread-safety=%d\nThese options need to
match\n",
args=0xbffff758 "wâ|") at main.c:459
#3 0x0082c917 in zend_error (type=32,
format=0x8f3de0 "%s: Unable to initialize module\nModule compiled
with module API=%d, debug=%d, thread-safety=%d\nPHP compiled with
module API=%d, debug=%d, thread-safety=%d\nThese options need to
match\n") at zend.c:682
#4 0x0088cd51 in php_dl (file=0x1d46ff0, type=1,
return_value=0xbffff7c0, tsrm_ls=0x1775ff0) at dl.c:202
#5 0x0083f5c3 in php_load_function_extension_cb (arg=0x1d46ff0,
tsrm_ls=0x1775ff0) at php_ini.c:188
#6 0x008244cd in zend_llist_apply (l=0x915f3c, func=0x83f58a
<php_load_function_extension_cb>, tsrm_ls=0x1775ff0)
at zend_llist.c:186
#7 0x0083faa4 in php_ini_delayed_modules_startup (tsrm_ls=0x1775ff0)
at php_ini.c:313
#8 0x0083ba4b in php_module_startup (sf=0x77a020) at main.c:1001
#9 0x00778ca3 in php_apache_server_startup (pconf=0x4d4010,
plog=0x513010, ptemp=0x516010, s=0x4fe118)
at sapi_apache2.c:435
#10 0x080681e5 in ap_run_post_config (pconf=0x4d4010, plog=0x513010,
ptemp=0x516010, s=0x4fe118) at config.c:130
#11 0x0806e545 in main (argc=2, argv=0xbffff9e4) at main.c:569
#12 0x003c0418 in __libc_start_main () from /lib/libc.so.6
(gdb) frame 0
#0 0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 "PHP Warning: zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHP compiled with module API=20010901, debug=0,
thread-safety=1\nThese options need"...)
at sapi_apache2.c:214
214 ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO |
APLOG_STARTUP, 0, ctx->r->server, "%s", msg);
(gdb) print ctx
$8 = (struct php_struct *) 0x0
(gdb)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16589&edit=1