Bug #76446 [Com]: zend_variables.c:73: zend_string_destroy: Assertion `!(zval_gc_flags((str)->gc.
| From: | spam2 at rhsoft dot net | Date: | Mon, 11 Jun 2018 10:57:21 +0000 |
| Subject: | Bug #76446 [Com]: zend_variables.c:73: zend_string_destroy: Assertion `!(zval_gc_flags((str)->gc. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-215614@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76446&edit=1
ID: 76446
Comment by: spam2 at rhsoft dot net
Reported by: spam2 at rhsoft dot net
Summary: zend_variables.c:73: zend_string_destroy: Assertion
`!(zval_gc_flags((str)->gc.
Status: Feedback
Type: Bug
Package: Reproducible crash
PHP Version: master-Git-2018-06-11 (Git)
Block user comment: N
Private report: N
New Comment:
gdb starts with a shell instead running the stuff - sorry, but debugging C/C++ programs is not my
daily business - but at least i am at a build with the debug binary and a clear reproducer without
"gdb --args" in front
[builduser@testserver:/rpmbuild/SPECS]$ gdb --args
/home/builduser/rpmbuild/BUILD/php-7.3.0/sapi/cli/php -c /rpmbuild/PHP-PGO/php.ini
/php-pgo-docroot/cms/autotest.php
GNU gdb (GDB) Fedora 8.0.1-36.fc27
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/builduser/rpmbuild/BUILD/php-7.3.0/sapi/cli/php...done.
(gdb)
Previous Comments:
------------------------------------------------------------------------
[2018-06-11 10:41:28] nikic@php.net
Can you please generate a backtrace for the assertion failure? E.g. by running "gdb --args
$CLI_BINARY ..." and then "bt" when the assertion occurs.
------------------------------------------------------------------------
[2018-06-11 10:29:25] spam2 at rhsoft dot net
Description:
------------
our cms auto-test-suite with "make prof.gen"
* OK: cl_api->navigation_base_internal->test(0.026)
zend_mm_heap corrupted
--------------
our cms auto-test-suite with a debug build at the same place
* OK: cl_api->navigation_base_internal->test(0.183)
php: /home/builduser/rpmbuild/BUILD/php-7.3.0/Zend/zend_variables.c:73: zend_string_destroy:
Assertion `!(zval_gc_flags((str)->gc.u.type_info) & (1<<6))' failed.
/rpmbuild/PHP-PGO/profile.sh: line 127: 308554 Aborted (core dumped)
/usr/bin/valgrind --tool=memcheck --leak-check=yes --leak-check=full
--log-file=$PROFILE_ROOT/logs/valgrind-cli.log $CLI_BINARY -c "$PROFILE_ROOT/php.ini"
"$PROFILE_DOCROOT/cms/autotest.php"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76446&edit=1