Bug #67254 [Asn->Opn]: PHP crashes in zend_stack_push

From: Date: Sun, 01 Mar 2015 13:15:36 +0000
Subject: Bug #67254 [Asn->Opn]: PHP crashes in zend_stack_push
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191023@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67254&edit=1

 ID:                 67254
 User updated by:    majo-bugs dot php dot net at pematon dot com
 Reported by:        majo-bugs dot php dot net at pematon dot com
 Summary:            PHP crashes in zend_stack_push
-Status:             Assigned
+Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   FreeBSD 9.2-RELEASE-p5
 PHP Version:        5.5.19
 Block user comment: N
 Private report:     N

 New Comment:

Re-openning


Previous Comments:
------------------------------------------------------------------------
[2015-03-01 13:14:48] majo-bugs dot php dot net at pematon dot com

Re-openning

------------------------------------------------------------------------
[2015-03-01 13:13:54] majo-bugs dot php dot net at pematon dot com

This still happens to me:
PHP 5.5.21
Apache 2.4.12
FreeBSD 9.3

Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
[New Thread 802007400 (LWP 101477/httpd)]
#0  zend_stack_push (stack=0x805aa4660, element=0x805aa4638, size=<value optimized out>) at
/tmp/portbuild/usr/ports/www/mod_php55/work/php-5.5.21/Zend/zend_stack.c:42
#1  0x00000008056648fb in compile_file (file_handle=0x7fffffffe690, type=2) at
zend_language_scanner.l:586
#2  0x0000000808dce935 in phar_compile_file () from /usr/local/lib/php/20121212/phar.so
#3  0x0000000806c8e8de in persistent_compile_file () from /usr/local/lib/php/20121212/opcache.so
#4  0x000000080569ba0d in zend_execute_scripts (type=2, retval=0x0, file_count=1) at
/tmp/portbuild/usr/ports/www/mod_php55/work/php-5.5.21/Zend/zend.c:1319
#5  0x0000000805748ef1 in php_handler (r=0x8073730a0) at
/tmp/portbuild/usr/ports/www/mod_php55/work/php-5.5.21/sapi/apache2handler/sapi_apache2.c:669
#6  0x000000000044f4aa in ap_run_handler ()
#7  0x0000000000453202 in ap_invoke_handler ()
#8  0x000000000046522e in ap_process_async_request ()
#9  0x000000000046536f in ap_process_request ()
#10 0x0000000000461a85 in ap_expr_yylex ()
#11 0x0000000000459da2 in ap_run_process_connection ()
#12 0x000000000046b897 in ap_set_etag ()
#13 0x000000000046bb14 in ap_set_etag ()
#14 0x000000000046c476 in ap_set_etag ()
#15 0x0000000000436622 in ap_run_mpm ()
#16 0x0000000000430703 in main ()

------------------------------------------------------------------------
[2015-03-01 04:22:17] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.

------------------------------------------------------------------------
[2015-02-20 20:16:39] getriebesand at freenet dot de

I don't know how. I don't use dtrace. Maybe I have to file a bug report to the maintainer
of the package. (I use the default packege for ubuntu 14.04 LTS)

then forget my bt and use majo-bugs's bt

But this error is hard to reproduce because it only happens on many requests.

Bofore I had have opcache enabled and got many fatal error that a function can not be redeclared.
But I checked the code many times. Even with require_once and  check if function_exists().
Then I disabled opcache and since then I get seg faults.

I use Apache mpm-prefork and have tried to use different configs (reduce MaxConnectionsPerChild...)
but it didn't solve anything.

------------------------------------------------------------------------
[2015-02-16 23:44:47] rasmus@php.net

getriebesand dtrace? Try it without dtrace.

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=67254


--
Edit this bug report at https://bugs.php.net/bug.php?id=67254&edit=1


Thread (17 messages)

« previous php.bugs (#191023) next »