Bug #75375 [Com]: SIGSEGV in zend_hash_str_find()
| From: | php dot net at alexanderschnitzler dot de | Date: | Fri, 26 Jan 2018 16:37:14 +0000 |
| Subject: | Bug #75375 [Com]: SIGSEGV in zend_hash_str_find() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-213716@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75375&edit=1
ID: 75375
Comment by: php dot net at alexanderschnitzler dot de
Reported by: stefan dot beyer at xornet dot de
Summary: SIGSEGV in zend_hash_str_find()
Status: No Feedback
Type: Bug
Package: Reproducible crash
Operating System: Ubuntu 16.04
PHP Version: 7.1.10
Block user comment: N
Private report: N
New Comment:
I ecnountered the same bug with the CMS TYPO3 when clearing the cache.
Exact PHP Version:
PHP 7.1.12 (cli) (built: Dec 2 2017 12:15:25) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
Backtrace:
----------
(lldb) bt
* thread #1, stop reason = signal SIGSTOP
* frame #0: 0x000000010cb21dd2 php71`zend_hash_str_find + 412
frame #1: 0x000000010c7755ac php71`php_date_parse_tzfile + 94
frame #2: 0x000000010c775647 php71`get_timezone_info + 62
frame #3: 0x000000010c7756e2 php71`php_format_date + 44
frame #4: 0x000000010cba99bf php71`append_essential_headers + 342
frame #5: 0x000000010cbaa4a2 php71`php_cli_server_recv_event_read_request + 892
frame #6: 0x000000010cbab0b9 php71`php_cli_server_do_event_for_each_fd_callback + 722
frame #7: 0x000000010cba9064 php71`do_cli_server + 2396
frame #8: 0x000000010cba4128 php71`main + 1162
I try to find the exact place and create a script to reproduce the issue but so far I couldn't
locate it.
Previous Comments:
------------------------------------------------------------------------
[2017-11-05 04:22:57] 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.
------------------------------------------------------------------------
[2017-10-15 02:37:57] laruence@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2017-10-13 20:28:33] stefan dot beyer at xornet dot de
Typo: I meant "REDAXO CMS"
------------------------------------------------------------------------
[2017-10-13 20:11:26] stefan dot beyer at xornet dot de
Description:
------------
PHP crashes when running REDOX CMS in built-in server.
Exact PHP Version:
PHP 7.1.10-1+ubuntu16.04.1+deb.sury.org+1 (cli)
Zend Engine v3.1.0
with Zend OPcache v7.1.10-1+ubuntu16.04.1+deb.sury.org+1
With disabled Zend MM (export USE_ZEND_ALLOC=0) the problem does not occur.
Could not locate the code that causes the crash.
I was running REDOX 5.4.0 Content Management System (https://github.com/redox-os/redox)
Actual result:
--------------
PHP crashes with Segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
0x00005555557d661b in zend_hash_str_find ()
(gdb) bt
#0 0x00005555557d661b in zend_hash_str_find ()
#1 0x000055555563fc8b in ?? ()
#2 0x0000555555641f16 in get_timezone_info ()
#3 0x0000555555643fad in php_format_date ()
#4 0x000055555586ccbb in ?? ()
#5 0x000055555586fc55 in ?? ()
#6 0x0000555555870359 in ?? ()
#7 0x0000555555871119 in do_cli_server ()
#8 0x000055555563af93 in main ()
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75375&edit=1