#25620 [Opn]: Crash / "String is not zero-terminated"
| From: | xris at farcaster dot net | Date: | Fri, 26 Sep 2003 11:45:02 +0000 |
| Subject: | #25620 [Opn]: Crash / "String is not zero-terminated" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48138@lists.php.net to get a copy of this message | ||
ID: 25620
User updated by: xris at farcaster dot net
Reported By: xris at farcaster dot net
Status: Open
Bug Type: Scripting Engine problem
Operating System: GNU/Linux 2.4.20
PHP Version: 4.3.4-dev
New Comment:
Just to be sure, i compiled a new valgrind using
the latest stable version: valgrind-20030725
As far as i can tell, the output is identical...
1) valgrind --run-libc-freeres=yes ;# SEGFAULT
http://farcaster.net/valgrind2-err.log
1) valgrind --run-libc-freeres=no ;# NO SEGFAULT
http://farcaster.net/valgrind2-noerr.log
Previous Comments:
------------------------------------------------------------------------
[2003-09-26 07:28:45] xris at farcaster dot net
- valgrind-1.9.6
- PHP (4.3.x-dev) snapshot from Sep 23, 2003 09:30 (as in all of my
latest tests), CLI version
------------------------------------------------------------------------
[2003-09-26 07:20:35] sniper@php.net
With what PHP version are you getting those valgrind outputs?
And are you using the latest valgrind?
------------------------------------------------------------------------
[2003-09-25 17:45:26] xris at farcaster dot net
BTW: i don't know if this might help, but here are two
valgrind traces:
1) valgrind --run-libc-freeres=yes ;# SEGFAULT
http://farcaster.net/valgrind-err.log
1) valgrind --run-libc-freeres=no ;# NO SEGFAULT
http://farcaster.net/valgrind-noerr.log
------------------------------------------------------------------------
[2003-09-25 16:43:59] xris at farcaster dot net
> Please provide a short example script which can be used to reproduce
this.
i'll try- but i fear i'll fast get to a state like [21 Sep 2:50pm EDT]
... isn't there any other way to trace this?
possibly using some kind of memory debugger?
> And don't mix any Zend extensions in this mess, such as debuggers,
optimizers or caches.
I didn't mean to; i was just curious about being possibly
able to figure out what actually led to this problem.
------------------------------------------------------------------------
[2003-09-25 14:39:45] sniper@php.net
Please provide a short example script which can be used to reproduce
this. (yes, it's hard, but we can't do anything without it). And don't
mix any Zend extensions in this mess, such as debuggers, optimizers or
caches.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25620
--
Edit this bug report at http://bugs.php.net/?id=25620&edit=1