#25620 [NEW]: Crash / "String is not zero-terminated"
| From: | xris at farcaster dot net | Date: | Sun, 21 Sep 2003 15:21:36 +0000 |
| Subject: | #25620 [NEW]: Crash / "String is not zero-terminated" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47901@lists.php.net to get a copy of this message | ||
From: xris at farcaster dot net
Operating system: GNU/Linux 2.4.20
PHP version: 4.3.3
PHP Bug Type: Reproducible crash
Bug description: Crash / "String is not zero-terminated"
Description:
------------
I run a rather large PHP System (250k+ LOC).
Recently, a number of "Segmentation-Faults" started popping up
in my Apache error log. Only some of the PHP pages caused a segfault.
These segfaults are mostly reproducible, but could be suppressed by moving
code around - like changing order of method definitions, etc.
So i set up an identical system as our production server, but with
--enable debug. The segfaults did not happen anymore, but i keep getting
notices like these:
[21-Sep-2003 16:25:34] PHP Warning: String is not zero-terminated
(SetVerbandÿÌ**rtID' aa) (source:
/home/develop/mod_php-4.3.3/Zend/zend_opcode.c:165) in Unknown on line 0
The problem occurres with PHP from at least 4.2.2 to 4.3.3, regardless
wether running with Apache 1.3x or Apache 2.0.
I would like to provide more information, but i don't know how .. any info
on how to trace the reason for this problem would greatly appreciated.
Reproduce code:
---------------
sorry, i'cant construct a small snippted reproducing this error - it seems
to pop up on pages with a large amount of used objects, though (but thats
only a guess ..)
Expected result:
----------------
well, no php crash?
--
Edit bug report at http://bugs.php.net/?id=25620&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25620&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25620&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25620&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25620&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25620&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25620&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25620&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25620&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25620&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25620&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25620&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25620&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25620&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25620&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25620&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25620&r=float