Opened 6 years ago
Closed 6 years ago
#98 closed defect (invalid)
Zend/zend_hash.c(533) : Block 0x00000000 status: NULL
| Reported by: | judas_iscariote | Owned by: | moo |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.1 |
| Component: | cacher | Version: | 1.2-dev |
| Keywords: | strange zend_hash | Cc: | |
| Application: | PHP Version: | 5.2.4-dev | |
| Other Exts: | SAPI: | FastCGI | |
| Probability: | Blocked By: | ||
| Blocking: | Need User Feedback: | no |
Description
The following strange message happends only when XCache is loaded.
Zend/zend_hash.c(533) : Block 0x00000000 status: NULL
How to reproduce:
- Compile a debug build of current PHP 5_2 CVS
- compile XCache and use the xcache-test.ini
use either fastcgi or CLI SAPI and attempt to execute a non existent file
you will see
Could not open input file: cdscsdcs [Mon Jun 11 18:18:06 2007] Script: '-' --------------------------------------- /home/cristian/php5/Zend/zend_hash.c(533) : Block 0x00000000 status: NULL --------------------------------------- [Mon Jun 11 18:18:06 2007] Script: '-' --------------------------------------- /home/cristian/php5/Zend/zend_hash.c(533) : Block 0x00000000 status: NULL ---------------------------------------
I have absolutely no idea why this happends ;-)
Change History (7)
comment:1 Changed 6 years ago by moo
comment:2 Changed 6 years ago by judas_iscariote
Zs it suhosin patched and/or extension'ed?
Nope.
comment:3 Changed 6 years ago by moo
that's strange, i cannot find any file that contains the string "Could not open input file". can u? tell me which file it is
comment:4 Changed 6 years ago by judas_iscariote
- Keywords strange zend_hash added
yes, it is odd :-S
the error message is in sapi/cli/php_cli.c line +- 558 however this error is not CLI specific, happends when you use fastcgi exactly when you restart lighttpd BUT if and only if the cache has "something in". (restart lighttpd, load N code/website in your browser, restart again and you will see the error..)
Xcache is built with
--enable-xcache-test --enable-xcache-coverager
and using xcache-test.ini
comment:5 Changed 6 years ago by moo
- Status changed from new to assigned
comment:6 Changed 6 years ago by judas_iscariote
- Need User Feedback unset
for some odd reason Im no longer able to reproduce this message with current svn 1.2 and current PHP 5_2 can you ?
comment:7 Changed 6 years ago by moo
- Resolution set to invalid
- Status changed from assigned to closed
i can't. marked as bogus, at least fastcgi shall never raise this error


is it suhosin patched and/or extension'ed?