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:
I don't know if it's of any help, but i found out that the 4.3.4-dev
version prints out more debug information as the 4.3.3 i initially ([21
Sep 11:21am EDT]) used (if compiled "--with-debug"), so here once again
a debug output:
--- snip ---
Warning: String is not zero-terminated
(Bundesland��̏*Z�̏*ZZZZZZZZZZZZZZZZZZZZZZ�̏*) (source:
/var/tmp/portage/php-4.3.4/work/php-4.3.4/Zend/zend_opcode.c:159) in
Unknown on line 0
[Fri Sep 26 15:14:21 2003] Script: 'htdocs/sport/auswahl.php'
---------------------------------------
/home/develop/php-4.3.4/Zend/zend_opcode.c(159) : Block 0x424DB744
status:
/home/develop/php-4.3.4/Zend/zend_variables.c(44) : Actual location
(location was relayed)
Beginning: OK (allocated on Zend/zend_language_scanner.c:4492, 11
bytes)
End: Overflown (magic=0x2A8FCC83 instead of 0x2A8FCC84)
1 byte(s) overflown
---------------------------------------
Previous Comments:
------------------------------------------------------------------------
[2003-09-26 07:45:02] xris at farcaster dot net
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
------------------------------------------------------------------------
[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] [EMAIL PROTECTED]
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.
------------------------------------------------------------------------
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