From:             [EMAIL PROTECTED]
Operating system: PLD Linux
PHP version:      4.1.2
PHP Bug Type:     Zlib Related
Bug description:  php 4.2.0rc3+apache2.0.35+zlib crashes while displaying error

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 bug report at http://bugs.php.net/?id=16589&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16589&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16589&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16589&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16589&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16589&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16589&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16589&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16589&r=submittedtwice

Reply via email to